사용 방법
- 설치 명령을 복사하고 자신의 에이전트 환경에 설치하기 전에 소스 패키지를 확인하세요.
- 필요한 도구, 인증 정보, 지원 환경은 원본 문서에서 확인하세요.
- 입력과 원하는 산출물을 설명하고 출처와 결과를 대조하세요.
npx skills add https://github.com/thinkingaiagenticengine/ae-cli --skill ae-analysis-global시작 전 확인
- 설치에는 모델 구독, API 한도, 파일 접근 권한이 포함되지 않습니다.
- 별점 수와 설치 수는 활동 지표이며 독립적인 품질·보안 검증이 아닙니다.
원본 저장소의 제목, 예시, 코드, 표, 링크, 이미지를 유지해 표시합니다.
ae-analysis-global
This is a terminology and routing overlay for ae-analysis. Read the base command reference `../ae-analysis/references/query_cluster_list.md` before composing the inventory command. Server output, not a local CLI feature switch, is authoritative for whether global query is enabled and which routes the account may use.
Every command accepts --host <url> to override the active AE host. Host selection is independent of --cluster-query-scope: --host chooses the AE instance, while --cluster-query-scope / --slave-cluster-id choose a physical query route inside that instance.
CRITICAL — Host compat (do this first): After each ae-cli run, check stderr and _notice.host_compat. If either is present, open the user reply with a short ⚠️ version warning and quote the `npm i -g` / `npx skills add` (or update-cluster) lines verbatim, then present the business result. Soft tip; ok: true can still carry the notice. (Also covered by ae-analysis Global Rules when both skills are loaded.)
Routing Rules
- In this overlay, 查询集群 / 数据集群 / 部署集群 means physical multi-cluster routing for analysis queries. 用户分群 / 人群包 means user-membership assets under
analysis user-cluster. - If the user asks for query-cluster inventory or cluster info, call
ae-cli analysis query-cluster list --project-id <project_id>. Localized examples include "查询集群信息" and "有哪些数据集群". - Do not answer query-cluster inventory questions with
ae-cli analysis user-cluster listunless the user explicitly asks for audience clusters, cohorts, segments, user membership, or cluster definitions. - If the user mentions country, region, server, shard, site, market, or deployment area semantics, call
analysis query-cluster listbefore choosing query scope. - Match slave intent only against returned
slave_clusters[].cluster_id,cluster_name, andcluster_desc. - Report-data, dashboard-report-data, and ad-hoc run/export expose
--cluster-query-scope GLOBAL|SLAVE;SLAVErequires--slave-cluster-id. - Use
GLOBALonly when the user clearly asks for all clusters/servers or cross-cluster aggregation andpermissions.can_query_global=true. - If the user does not express global or slave-cluster intent, omit the flag. Report/ad-hoc then use current self; dashboard follows its saved configuration.
- If a requested route is not allowed, explain
permissions.allowed_cluster_query_paramsinstead of silently falling back. - SQL and attribution ad-hoc analysis do not support
GLOBAL; SQL report/dashboard data also reject effectiveGLOBAL. Use an allowedSLAVEor current-self route.
Response Wording
- For
analysis query-cluster list, call the result "查询集群" or "query clusters" and summarizecurrent_cluster,slave_clusters, andpermissions.allowed_cluster_query_params. - For
analysis user-cluster list, call the result "audience clusters" or "user segments"; do not call those results query clusters.
Query-cluster command
ae-cli analysis query-cluster list --project-id <project_id>


