@thinkingai/ae-cli 1.0.3 → 1.0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (198) hide show
  1. package/README.md +42 -72
  2. package/README.zh.md +202 -0
  3. package/dist/auth-2UTBG5U3.js +144 -0
  4. package/dist/{auth-BQC5DBE7.js → auth-ECD46NBA.js} +6 -4
  5. package/dist/{chunk-3CDLNXTD.js → chunk-4KQ7H7DY.js} +15 -3
  6. package/dist/{chunk-53FNNCZW.js → chunk-7QBNU44L.js} +101 -3
  7. package/dist/{chunk-ZYXIGPG7.js → chunk-LAAS6ITR.js} +3 -3
  8. package/dist/{chunk-EBFUVWIZ.js → chunk-MR57UIKC.js} +42 -0
  9. package/dist/{client-5QSQBBDB.js → client-O56G2SNJ.js} +3 -3
  10. package/dist/{config-Q7J3Z7Z2.js → config-BU5FHGGE.js} +23 -8
  11. package/dist/index.js +15 -15
  12. package/dist/{raw-G3GKHAPZ.js → raw-A3VN2B6I.js} +4 -4
  13. package/dist/{te-analysis-CHFTDN55.js → te-analysis-UGKESPBE.js} +62 -24
  14. package/dist/{te-audience-M6LQY6M7.js → te-audience-THZNVHYB.js} +61 -21
  15. package/dist/{te-common-BLQ7DVGC.js → te-common-QZOUME3S.js} +6 -33
  16. package/dist/{community-FVDAWGS4.js → te-community-AZVW3NFX.js} +59 -59
  17. package/dist/{te-dataops-V4OTKY35.js → te-dataops-OE5PX2K6.js} +3 -28
  18. package/dist/{te-engage-DXE4R5EW.js → te-engage-RYGEQTYK.js} +4 -22
  19. package/dist/{te-meta-FMM7KCVI.js → te-meta-MGO5BCMG.js} +88 -18
  20. package/package.json +3 -3
  21. package/skills/ae-analysis/SKILL.md +287 -0
  22. package/skills/{te-meta/references/batch-create-metadata.md → ae-analysis/references/batch_create_metadata.md} +3 -3
  23. package/skills/{te-meta/references/batch-edit-metadata.md → ae-analysis/references/batch_edit_metadata.md} +2 -2
  24. package/skills/{te-analysis/references/build-entity-details-sql.md → ae-analysis/references/build_entity_details_sql.md} +9 -9
  25. package/skills/{te-analysis/references/build-event-details-sql.md → ae-analysis/references/build_event_details_sql.md} +9 -9
  26. package/skills/{te-analysis/references/create-alert.md → ae-analysis/references/create_alert.md} +4 -4
  27. package/skills/{te-audience/references/create-cluster.md → ae-analysis/references/create_cluster.md} +23 -19
  28. package/skills/{te-analysis/references/create-dashboard.md → ae-analysis/references/create_dashboard.md} +4 -4
  29. package/skills/{te-meta/references/create-metric.md → ae-analysis/references/create_metric.md} +10 -10
  30. package/skills/{te-analysis/references/create-or-update-dashboard-note.md → ae-analysis/references/create_or_update_dashboard_note.md} +3 -3
  31. package/skills/{te-meta/references/create-project-mark-time.md → ae-analysis/references/create_project_mark_time.md} +3 -3
  32. package/skills/{te-analysis/references/create-public-access-link.md → ae-analysis/references/create_public_access_link.md} +3 -3
  33. package/skills/{te-analysis/references/create-report.md → ae-analysis/references/create_report.md} +9 -9
  34. package/skills/{te-analysis/references/create-result-cluster.md → ae-analysis/references/create_result_cluster.md} +6 -6
  35. package/skills/{te-audience/references/create-tag.md → ae-analysis/references/create_tag.md} +16 -15
  36. package/skills/{te-meta/references/create-virtual-event.md → ae-analysis/references/create_virtual_event.md} +9 -9
  37. package/skills/{te-meta/references/create-virtual-property.md → ae-analysis/references/create_virtual_property.md} +7 -7
  38. package/skills/{te-meta/references/delete-project-mark-times.md → ae-analysis/references/delete_project_mark_times.md} +2 -2
  39. package/skills/{te-meta/references/delete-track-items.md → ae-analysis/references/delete_track_items.md} +2 -2
  40. package/skills/{te-analysis/references/drilldown-user-events.md → ae-analysis/references/drilldown_user_events.md} +8 -8
  41. package/skills/{te-analysis/references/drilldown-users.md → ae-analysis/references/drilldown_users.md} +10 -7
  42. package/skills/ae-analysis/references/generate_track_program.md +51 -0
  43. package/skills/ae-analysis/references/generate_track_sdk_sample.md +43 -0
  44. package/skills/{te-analysis/references/get-alert.md → ae-analysis/references/get_alert.md} +2 -2
  45. package/skills/{te-analysis/references/get-alert-definition-schema.md → ae-analysis/references/get_alert_definition_schema.md} +1 -1
  46. package/skills/ae-analysis/references/get_analysis_query_schema.md +61 -0
  47. package/skills/ae-analysis/references/get_cluster_definition_schema.md +53 -0
  48. package/skills/ae-analysis/references/get_clusters_by_name.md +69 -0
  49. package/skills/{te-analysis/references/get-filter-schema.md → ae-analysis/references/get_filter_schema.md} +1 -1
  50. package/skills/{te-analysis/references/get-groupby-schema.md → ae-analysis/references/get_groupby_schema.md} +1 -1
  51. package/skills/{te-meta/references/get-metric.md → ae-analysis/references/get_metric.md} +2 -2
  52. package/skills/{te-meta/references/get-project-config.md → ae-analysis/references/get_project_config.md} +2 -2
  53. package/skills/{te-analysis/references/get-report-definition.md → ae-analysis/references/get_report_definition.md} +2 -2
  54. package/skills/{te-common/references/get-resource-url.md → ae-analysis/references/get_resource_url.md} +4 -4
  55. package/skills/{te-analysis/references/get-table-columns.md → ae-analysis/references/get_table_columns.md} +2 -2
  56. package/skills/ae-analysis/references/get_tag_definition_schema.md +49 -0
  57. package/skills/ae-analysis/references/get_tags_by_name.md +69 -0
  58. package/skills/{te-meta/references/get-track-program.md → ae-analysis/references/get_track_program.md} +2 -2
  59. package/skills/{te-analysis/references/list-alerts.md → ae-analysis/references/list_alerts.md} +10 -3
  60. package/skills/{te-audience/references/list-cluster-members.md → ae-analysis/references/list_cluster_members.md} +11 -4
  61. package/skills/{te-audience/references/list-clusters.md → ae-analysis/references/list_clusters.md} +14 -4
  62. package/skills/{te-analysis/references/list-dashboards.md → ae-analysis/references/list_dashboards.md} +12 -4
  63. package/skills/{te-meta/references/list-entities.md → ae-analysis/references/list_entities.md} +10 -3
  64. package/skills/{te-meta/references/list-events.md → ae-analysis/references/list_events.md} +12 -5
  65. package/skills/ae-analysis/references/list_metrics.md +45 -0
  66. package/skills/ae-analysis/references/list_project_mark_times.md +42 -0
  67. package/skills/{te-meta/references/list-project-users.md → ae-analysis/references/list_project_users.md} +2 -2
  68. package/skills/{te-common/references/list-projects.md → ae-analysis/references/list_projects.md} +6 -4
  69. package/skills/{te-meta/references/list-properties.md → ae-analysis/references/list_properties.md} +9 -4
  70. package/skills/ae-analysis/references/list_public_access_links.md +41 -0
  71. package/skills/{te-analysis/references/list-reports.md → ae-analysis/references/list_reports.md} +12 -4
  72. package/skills/{te-audience/references/list-tag-members.md → ae-analysis/references/list_tag_members.md} +11 -4
  73. package/skills/{te-audience/references/list-tags.md → ae-analysis/references/list_tags.md} +14 -4
  74. package/skills/{te-analysis/references/load-filters.md → ae-analysis/references/load_filters.md} +3 -3
  75. package/skills/{te-analysis/references/query-adhoc.md → ae-analysis/references/query_adhoc.md} +24 -9
  76. package/skills/{te-analysis/references/query-dashboard-detail.md → ae-analysis/references/query_dashboard_detail.md} +2 -2
  77. package/skills/{te-analysis/references/query-dashboard-report-data.md → ae-analysis/references/query_dashboard_report_data.md} +9 -9
  78. package/skills/{te-analysis/references/query-entity-details.md → ae-analysis/references/query_entity_details.md} +10 -10
  79. package/skills/{te-analysis/references/query-event-details.md → ae-analysis/references/query_event_details.md} +12 -12
  80. package/skills/{te-analysis/references/query-report-data.md → ae-analysis/references/query_report_data.md} +11 -11
  81. package/skills/{te-audience/references/refresh-cluster.md → ae-analysis/references/refresh_cluster.md} +2 -2
  82. package/skills/{te-audience/references/refresh-tag.md → ae-analysis/references/refresh_tag.md} +2 -2
  83. package/skills/{te-meta/references/save-track-items.md → ae-analysis/references/save_track_items.md} +2 -2
  84. package/skills/{te-analysis/references/update-alert.md → ae-analysis/references/update_alert.md} +4 -4
  85. package/skills/{te-audience/references/update-cluster.md → ae-analysis/references/update_cluster.md} +15 -13
  86. package/skills/{te-analysis/references/update-dashboard.md → ae-analysis/references/update_dashboard.md} +3 -3
  87. package/skills/{te-meta/references/update-metric.md → ae-analysis/references/update_metric.md} +9 -9
  88. package/skills/{te-meta/references/update-project-mark-time.md → ae-analysis/references/update_project_mark_time.md} +3 -3
  89. package/skills/{te-analysis/references/update-public-access-link.md → ae-analysis/references/update_public_access_link.md} +3 -3
  90. package/skills/{te-audience/references/update-tag.md → ae-analysis/references/update_tag.md} +15 -14
  91. package/skills/ae-community/SKILL.md +305 -0
  92. package/skills/{te-community → ae-community}/references/community-activity-analysis.md +6 -7
  93. package/skills/{te-community → ae-community}/references/community-analyzing-official-content.md +3 -4
  94. package/skills/{te-community → ae-community}/references/community-analyzing-theme-comment.md +5 -6
  95. package/skills/{te-community → ae-community}/references/community-character-analysis.md +5 -6
  96. package/skills/{te-community → ae-community}/references/community-daily-report.md +7 -8
  97. package/skills/{te-community → ae-community}/references/community-hottopic-insight.md +4 -5
  98. package/skills/{te-community → ae-community}/references/community-weekly-report.md +7 -8
  99. package/skills/{te-community → ae-community}/references/get_channel_info.md +4 -5
  100. package/skills/{te-community → ae-community}/references/get_comment_tag_analysis.md +3 -4
  101. package/skills/{te-community → ae-community}/references/get_comments_summary.md +4 -5
  102. package/skills/{te-community → ae-community}/references/get_corpus_tags.md +3 -4
  103. package/skills/{te-community → ae-community}/references/get_daily_summary.md +3 -4
  104. package/skills/{te-community → ae-community}/references/get_hot_topics.md +3 -4
  105. package/skills/{te-community → ae-community}/references/get_livestream_analysis.md +3 -4
  106. package/skills/{te-community → ae-community}/references/get_livestream_detail.md +4 -5
  107. package/skills/{te-community → ae-community}/references/get_livestream_list.md +3 -4
  108. package/skills/{te-community → ae-community}/references/get_livestream_overview.md +3 -4
  109. package/skills/{te-community → ae-community}/references/get_livestream_room_metrics.md +3 -4
  110. package/skills/{te-community → ae-community}/references/get_livestream_rooms.md +3 -4
  111. package/skills/{te-community → ae-community}/references/get_overview_metrics.md +3 -4
  112. package/skills/{te-community → ae-community}/references/get_post_detail.md +4 -5
  113. package/skills/{te-community → ae-community}/references/get_risk_content.md +5 -6
  114. package/skills/{te-community → ae-community}/references/get_sentiment_overview.md +4 -5
  115. package/skills/{te-community → ae-community}/references/get_tag_trends.md +3 -4
  116. package/skills/{te-community → ae-community}/references/get_topic_detail.md +3 -4
  117. package/skills/{te-community → ae-community}/references/search_posts.md +5 -6
  118. package/skills/{te-dataops → ae-dataops}/SKILL.md +73 -10
  119. package/skills/{te-dataops → ae-dataops}/references/dataops-flow-create.md +1 -1
  120. package/skills/{te-dataops → ae-dataops}/references/dataops-flow-monitor.md +1 -1
  121. package/skills/{te-dataops → ae-dataops}/references/dataops-integration.md +1 -1
  122. package/skills/{te-dataops → ae-dataops}/references/dataops-query.md +1 -1
  123. package/skills/{te-dataops → ae-dataops}/references/dataops-table.md +1 -1
  124. package/skills/{te-engage → ae-engage}/SKILL.md +106 -6
  125. package/skills/{te-engage → ae-engage}/references/add-approver.md +2 -2
  126. package/skills/{te-engage → ae-engage}/references/add-channel.md +2 -2
  127. package/skills/{te-engage → ae-engage}/references/approver-list.md +2 -2
  128. package/skills/{te-engage → ae-engage}/references/cancel-query-by-request-id.md +2 -2
  129. package/skills/{te-engage → ae-engage}/references/channel-detail.md +2 -2
  130. package/skills/{te-engage → ae-engage}/references/channel-list.md +2 -2
  131. package/skills/{te-engage → ae-engage}/references/config-channel-detail.md +2 -2
  132. package/skills/{te-engage → ae-engage}/references/config-channel-list.md +2 -2
  133. package/skills/{te-engage → ae-engage}/references/config-item-analysis-report.md +2 -2
  134. package/skills/{te-engage → ae-engage}/references/config-item-detail.md +2 -2
  135. package/skills/{te-engage → ae-engage}/references/config-item-list.md +2 -2
  136. package/skills/{te-engage → ae-engage}/references/config-item-strategy-comparison.md +2 -2
  137. package/skills/{te-engage → ae-engage}/references/config-item-trigger-report.md +2 -2
  138. package/skills/{te-engage → ae-engage}/references/copy-config-template.md +2 -2
  139. package/skills/{te-engage → ae-engage}/references/delete-channel.md +2 -2
  140. package/skills/{te-engage → ae-engage}/references/delete-config-channel.md +2 -2
  141. package/skills/{te-engage → ae-engage}/references/delete-config-item.md +2 -2
  142. package/skills/{te-engage → ae-engage}/references/delete-flow.md +2 -2
  143. package/skills/{te-engage → ae-engage}/references/flow-ab-split-node-report.md +2 -2
  144. package/skills/{te-engage → ae-engage}/references/flow-detail.md +2 -2
  145. package/skills/{te-engage → ae-engage}/references/flow-list.md +2 -2
  146. package/skills/{te-engage → ae-engage}/references/flow-node-config-schema.md +2 -2
  147. package/skills/{te-engage → ae-engage}/references/flow-node-detail-report.md +2 -2
  148. package/skills/{te-engage → ae-engage}/references/flow-node-overview-report.md +2 -2
  149. package/skills/{te-engage → ae-engage}/references/flow-process-report.md +2 -2
  150. package/skills/{te-engage → ae-engage}/references/manage-flow.md +2 -2
  151. package/skills/{te-engage → ae-engage}/references/manage-strategy.md +2 -2
  152. package/skills/{te-engage → ae-engage}/references/manage-task.md +2 -2
  153. package/skills/{te-engage → ae-engage}/references/modify-flow-base-info.md +2 -2
  154. package/skills/{te-engage → ae-engage}/references/save-flow.md +3 -3
  155. package/skills/{te-engage → ae-engage}/references/strategy-detail.md +2 -2
  156. package/skills/{te-engage → ae-engage}/references/strategy-list.md +2 -2
  157. package/skills/{te-engage → ae-engage}/references/task-data-detail.md +3 -10
  158. package/skills/{te-engage → ae-engage}/references/task-data-overview.md +3 -9
  159. package/skills/{te-engage → ae-engage}/references/task-detail.md +2 -2
  160. package/skills/{te-engage → ae-engage}/references/task-experiment-report.md +3 -9
  161. package/skills/{te-engage → ae-engage}/references/task-list.md +2 -2
  162. package/skills/{te-engage → ae-engage}/references/task-metric-detail.md +3 -9
  163. package/skills/{te-engage → ae-engage}/references/task-stats.md +2 -2
  164. package/skills/{te-engage → ae-engage}/references/update-channel-status.md +2 -2
  165. package/skills/{te-engage → ae-engage}/references/update-config-channel-status.md +2 -2
  166. package/skills/{te-engage → ae-engage}/references/validate-flow-node-config.md +2 -2
  167. package/skills/{te-engage → ae-engage}/references/whitelist-list.md +2 -2
  168. package/dist/auth-DXKYLMO7.js +0 -81
  169. package/dist/auth-JXELJNDS.js +0 -19
  170. package/dist/auth-L3G3A74I.js +0 -67
  171. package/dist/chunk-3GM5LJZR.js +0 -145
  172. package/dist/chunk-JD5DXMKL.js +0 -172
  173. package/dist/chunk-OVQOK35G.js +0 -108
  174. package/dist/chunk-RJNLN3KQ.js +0 -217
  175. package/dist/client-T4VODLA6.js +0 -16
  176. package/dist/community-GMALVSRF.js +0 -684
  177. package/dist/config-V7AXKDMB.js +0 -242
  178. package/dist/raw-ZNVURYMR.js +0 -59
  179. package/dist/te-analysis-7NN3SY3I.js +0 -871
  180. package/dist/te-audience-P43BWMHM.js +0 -350
  181. package/dist/te-common-H3IPTI2I.js +0 -144
  182. package/dist/te-dataops-WCGDBJLF.js +0 -1853
  183. package/dist/te-engage-UTRVNTGU.js +0 -1470
  184. package/dist/te-meta-HGYNXVGF.js +0 -479
  185. package/skills/te-analysis/SKILL.md +0 -107
  186. package/skills/te-analysis/references/get-analysis-query-schema.md +0 -36
  187. package/skills/te-analysis/references/list-public-access-links.md +0 -31
  188. package/skills/te-audience/SKILL.md +0 -63
  189. package/skills/te-audience/references/get-cluster-definition-schema.md +0 -37
  190. package/skills/te-audience/references/get-clusters-by-name.md +0 -32
  191. package/skills/te-audience/references/get-tag-definition-schema.md +0 -32
  192. package/skills/te-audience/references/get-tags-by-name.md +0 -32
  193. package/skills/te-common/SKILL.md +0 -135
  194. package/skills/te-community/SKILL.md +0 -125
  195. package/skills/te-meta/SKILL.md +0 -71
  196. package/skills/te-meta/references/list-metrics.md +0 -33
  197. package/skills/te-meta/references/list-project-mark-times.md +0 -33
  198. package/skills/te-shared/SKILL.md +0 -115
@@ -1,16 +1,23 @@
1
1
  # analysis_audience +list_clusters (Cluster Search)
2
2
 
3
- > **Prerequisite:** Read [`../te-shared/SKILL.md`](../../te-shared/SKILL.md)
3
+ > **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
4
4
 
5
5
  Domain: **Cluster Management**
6
6
 
7
+ ## Constraints
8
+
9
+ **Fuzzy Search Fallback:** If `--query` returns no results, retry with broader keywords (max 3 attempts), then fall back to full list. See [SKILL.md § C. FUZZY_SEARCH_FALLBACK](../SKILL.md#c-fuzzy_search_fallback).
10
+
7
11
  ## Use Cases
8
- - List cluster metadata accessible to the current user in the project. Supports keyword filtering and returns cluster names, display names, types, status, user counts, and related metadata, but not cluster members.
12
+ - List cluster metadata accessible to the current user in the project.
13
+ - Supports payload governance parameters: `query`, `fields`, `limit`, `offset`.
14
+ - Returns a paginated envelope (items + total + limit + offset + hasMore), not cluster members.
9
15
 
10
16
  ## Commands
11
17
  ```bash
12
- ae-cli analysis_audience +list_clusters --project_id 1
13
- ae-cli analysis_audience +list_clusters --project_id 1 --query demo
18
+ ae-cli analysis_audience +list_clusters --project_id <project_id>
19
+ ae-cli analysis_audience +list_clusters --project_id <project_id> --query demo
20
+ ae-cli analysis_audience +list_clusters --project_id <project_id> --fields '["id","clusterName","usersNum"]' --limit 20 --offset 0
14
21
  ae-cli analysis_audience +list_clusters --dry-run
15
22
  ```
16
23
 
@@ -19,6 +26,9 @@ ae-cli analysis_audience +list_clusters --dry-run
19
26
  |---|---|---|
20
27
  | `--project_id` / `-p` | Yes | Project ID |
21
28
  | `--query` / `-q` | No | Optional keyword filter. Performs fuzzy matching against cluster names, display names, and remarks; if omitted, all clusters are returned. |
29
+ | `--fields` | No | Optional return field list (JSON array). Invalid fields will fail with `INVALID_FIELDS`. |
30
+ | `--limit` | No | Optional page size. Default: 20, max: 50. |
31
+ | `--offset` | No | Optional page offset. Default: 0. |
22
32
 
23
33
  ## Decision Rules
24
34
  - For the first execution, it is recommended to pass only the required parameters (`--project_id`) and add optional parameters after confirming the path works.
@@ -1,17 +1,22 @@
1
1
  # analysis +list_dashboards (List Dashboards)
2
2
 
3
- > **Prerequisite:** Read [`../te-shared/SKILL.md`](../../te-shared/SKILL.md)
3
+ > **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
4
4
 
5
5
  Domain: **Dashboard management**
6
6
 
7
+ ## Constraints
8
+
9
+ **Fuzzy Search Fallback:** If `--query` returns no results, retry with broader keywords (max 3 attempts), then fall back to full list. See [SKILL.md § C. FUZZY_SEARCH_FALLBACK](../SKILL.md#c-fuzzy_search_fallback).
10
+
7
11
  ## Use Cases
8
12
  - List dashboard metadata accessible to the current user in the project. Supports keyword filtering and returns dashboard IDs, names, descriptions, and related metadata, but not dashboard configuration or report data.
9
13
  - List dashboard metadata accessible to the current user in the project.
10
14
 
11
15
  ## Command
12
16
  ```bash
13
- ae-cli analysis +list_dashboards --project_id 1
14
- ae-cli analysis +list_dashboards --project_id 1 --query demo
17
+ ae-cli analysis +list_dashboards --project_id <project_id>
18
+ ae-cli analysis +list_dashboards --project_id <project_id> --query demo
19
+ ae-cli analysis +list_dashboards --project_id <project_id> --fields '["dashboardId","dashboardName"]' --limit 20 --offset 0
15
20
  ae-cli analysis +list_dashboards --dry-run
16
21
  ```
17
22
 
@@ -19,7 +24,10 @@ ae-cli analysis +list_dashboards --dry-run
19
24
  | Parameter | Required | Description |
20
25
  |---|---|---|
21
26
  | `--project_id` / `-p` | Yes | Project ID |
22
- | `--query` / `-q` | No | Optional keyword filter. Performs fuzzy matching against dashboard names; if omitted, all accessible dashboards are returned. |
27
+ | `--query` / `-q` | No | Optional keyword filter. Performs fuzzy matching against dashboard names and AI remarks; if omitted, all accessible dashboards are returned. |
28
+ | `--fields` / `-f` | No | Optional fields to return (JSON array). Supported fields: `dashboardId`, `dashboardName`, `aiRemark`. |
29
+ | `--limit` / `-l` | No | Optional page size. Default: 20, maximum: 50. |
30
+ | `--offset` / `-o` | No | Optional page offset. Default: 0. |
23
31
 
24
32
  ## Decision Rules
25
33
  - On the first run, start with only the required parameters (`--project_id`), and add optional parameters after confirming the path works.
@@ -1,6 +1,6 @@
1
1
  # analysis_meta +list_entities (Entity Search)
2
2
 
3
- > **Prerequisite:** Read [`../te-shared/SKILL.md`](../../te-shared/SKILL.md)
3
+ > **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
4
4
 
5
5
  Domain: **Entity Query**
6
6
 
@@ -10,8 +10,10 @@ Domain: **Entity Query**
10
10
 
11
11
  ## Command
12
12
  ```bash
13
- ae-cli analysis_meta +list_entities --project_id 1
14
- ae-cli analysis_meta +list_entities --project_id 1 --event_name demo
13
+ ae-cli analysis_meta +list_entities --project_id <project_id>
14
+ ae-cli analysis_meta +list_entities --project_id <project_id> --query demo
15
+ ae-cli analysis_meta +list_entities --project_id <project_id> --event_name demo
16
+ ae-cli analysis_meta +list_entities --project_id <project_id> --fields '["entityId", "entityName", "columnName", "columnDesc", "selectType"]' --limit 20 --offset 0
15
17
  ae-cli analysis_meta +list_entities --dry-run
16
18
  ```
17
19
 
@@ -20,6 +22,11 @@ ae-cli analysis_meta +list_entities --dry-run
20
22
  |---|---|---|
21
23
  | `--project_id` / `-p` | Yes | Project ID |
22
24
  | `--event_name` | No | Optional event name filter |
25
+ | `--query` / `-q` | No | Optional keyword filter. Fuzzy match is applied to entityName, columnName, and columnDesc; if omitted, all accessible dashboards are returned. |
26
+ | `--fields` / `-f` | No | Optional fields to return (JSON array). Supported fields: `entityId`, `entityName`, `columnName`, `columnDesc`, `selectType`. |
27
+ | `--limit` / `-l` | No | Optional page size. Default: 20, maximum: 50. |
28
+ | `--offset` / `-o` | No | Optional page offset. Default: 0. |
29
+
23
30
 
24
31
  ## Decision Rules
25
32
  - First run should only pass the required parameter (`--project_id`), and add optional parameters only after the path is confirmed to work.
@@ -1,17 +1,22 @@
1
1
  # analysis_meta +list_events (Event Metadata Discovery)
2
2
 
3
- > **Prerequisite:** Read [`../te-shared/SKILL.md`](../../te-shared/SKILL.md)
3
+ > **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
4
4
 
5
5
  Domain: **Metadata Query**
6
6
 
7
+ ## Constraints
8
+
9
+ **Fuzzy Search Fallback:** If `--query` returns no results, retry with broader keywords (max 3 attempts), then fall back to full list. See [SKILL.md § C. FUZZY_SEARCH_FALLBACK](../SKILL.md#c-fuzzy_search_fallback).
10
+
7
11
  ## Use Cases
8
12
  - Read-only query for SYSTEM METADATA already effective in the project. Use for super events in production metadata. Do NOT use for tracking-plan metadata (bury/track program); that belongs to BuryProgramTool.
9
13
  - Read-only query for SYSTEM METADATA already effective in the project.
10
14
 
11
15
  ## Commands
12
16
  ```bash
13
- ae-cli analysis_meta +list_events --project_id 1
14
- ae-cli analysis_meta +list_events --project_id 1 --query demo
17
+ ae-cli analysis_meta +list_events --project_id <project_id>
18
+ ae-cli analysis_meta +list_events --project_id <project_id> --query demo
19
+ ae-cli analysis_meta +list_events --project_id <project_id> --query demo --fields '["eventName", "eventDesc"]' --limit 20 --offset 0
15
20
  ae-cli analysis_meta +list_events --dry-run
16
21
  ```
17
22
 
@@ -19,8 +24,10 @@ ae-cli analysis_meta +list_events --dry-run
19
24
  | Parameter | Required | Description |
20
25
  |---|---|---|
21
26
  | `--project_id` / `-p` | Yes | Project ID |
22
- | `--query` / `-q` | No | Optional keyword filter. Performs fuzzy matching against event names, descriptions, and AI remarks; if omitted, all events are returned. |
23
-
27
+ | `--query` / `-q` | No | Optional keyword filter. Performs fuzzy matching against eventName, eventDesc, and aiRemark; if omitted, all events are returned. |
28
+ | `--fields` / `-f` | No | Optional fields to return (JSON array). Supported fields: `eventName`, `eventDesc`, `aiRemark`, `eventTag`, `remark`. |
29
+ | `--limit` / `-l` | No | Optional page size. Default: 20, maximum: 50. |
30
+ | `--offset` / `-o` | No | Optional page offset. Default: 0. |
24
31
  ## Decision Rules
25
32
  - For the first run, pass only the required parameter (`--project_id`) to confirm the path works, then add optional parameters.
26
33
  - For cross-project troubleshooting, first confirm whether `--project_id` matches the current permissions and target environment.
@@ -0,0 +1,45 @@
1
+ # analysis_meta +list_metrics (Metric Search)
2
+
3
+ > **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
4
+
5
+ Domain: **Metadata Query**
6
+
7
+ ## Constraints
8
+
9
+ **Fuzzy Search Fallback:** If `--query` returns no results, retry with broader keywords (max 3 attempts), then fall back to full list. See [SKILL.md § C. FUZZY_SEARCH_FALLBACK](../SKILL.md#c-fuzzy_search_fallback).
10
+
11
+ ## Use Cases
12
+ - List metric metadata in the project. Supports keyword filtering and returns metric IDs, names, display names, model types, remarks, and related metadata, but not metric calculation results.
13
+ - Supports pagination with fields/limit/offset for payload governance.
14
+ - Query performs fuzzy matching on metricName, metricDesc, and metricRemark.
15
+
16
+ ## Command
17
+ ```bash
18
+ ae-cli analysis_meta +list_metrics --project_id <project_id>
19
+ ae-cli analysis_meta +list_metrics --project_id <project_id> --query demo
20
+ ae-cli analysis_meta +list_metrics --project_id <project_id> --query demo --fields '["metricId","metricName"]' --limit 10 --offset 0
21
+ ae-cli analysis_meta +list_metrics --dry-run
22
+ ```
23
+
24
+ ## Parameters
25
+ | Parameter | Required | Description |
26
+ |---|---|---|
27
+ | `--project_id` / `-p` | Yes | Project ID |
28
+ | `--query` / `-q` | No | Optional keyword filter. Fuzzy match on metricName, metricDesc, metricRemark. |
29
+ | `--fields` | No | Optional fields to return. Supported: metricId, metricName, metricDesc, metricRemark, metricMode, openId, creator, creatorLoginName, updateOpenId, updateCreator, updateLoginName, createTime, updateTime. Invalid fields cause INVALID_FIELDS error. |
30
+ | `--limit` | No | Optional limit. Default: 20, maximum: 50. |
31
+ | `--offset` | No | Optional offset. Default: 0. |
32
+
33
+ ## Decision Rules
34
+ - First run should only pass the required parameter (`--project_id`), and add optional parameters only after the path is confirmed to work.
35
+ - For pagination, use `--limit` and `--offset` together. Default limit is 20.
36
+ - Use `--fields` to select specific columns for lighter response payloads.
37
+ - For cross-project troubleshooting, first confirm whether `--project_id` matches the current permissions and target environment.
38
+
39
+ ## Next Steps After Failure
40
+ - If the required parameter is missing, fall back to the smallest runnable command and fill it in (focus on `--project_id`).
41
+ - If the result is empty, first confirm the project ID/keyword, then try loosening the filter conditions.
42
+ - If INVALID_FIELDS error appears, check that all field names in `--fields` match the supported list.
43
+
44
+ ## Recommended Chaining
45
+ - +list_metrics -> +create_metric -> +get_metric
@@ -0,0 +1,42 @@
1
+ # analysis_meta +list_project_mark_times (List Project Mark Times)
2
+
3
+ > **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
4
+
5
+ Domain: **Project Configuration**
6
+
7
+ ## Use Cases
8
+ - List project date markers. Returns marker IDs, timestamps, content, and visibility status.
9
+ - Supports pagination with fields/limit/offset for payload governance.
10
+ - Query performs fuzzy matching on markContent.
11
+
12
+ ## Commands
13
+ ```bash
14
+ ae-cli analysis_meta +list_project_mark_times --project_id <project_id>
15
+ ae-cli analysis_meta +list_project_mark_times --project_id <project_id> --zone_offset 8
16
+ ae-cli analysis_meta +list_project_mark_times --project_id <project_id> --query demo --fields '["id","markTime","markContent"]' --limit 10 --offset 0
17
+ ae-cli analysis_meta +list_project_mark_times --dry-run
18
+ ```
19
+
20
+ ## Parameters
21
+ | Parameter | Required | Description |
22
+ |---|---|---|
23
+ | `--project_id` / `-p` | Yes | Project ID |
24
+ | `--zone_offset` | No | Marker time zone offset |
25
+ | `--query` / `-q` | No | Optional keyword filter. Fuzzy match on markContent. |
26
+ | `--fields` | No | Optional fields to return. Supported: id, projectId, markTime, userZoneTime, zoneOffset, markContent, isShow, creatorName, creatorId, lastModifierName, lastModifierId, createTime, updateTime. Invalid fields cause INVALID_FIELDS error. |
27
+ | `--limit` | No | Optional limit. Default: 20, maximum: 50. |
28
+ | `--offset` | No | Optional offset. Default: 0. |
29
+
30
+ ## Decision Rules
31
+ - For the first run, pass only the required parameter (`--project_id`) to confirm the path works, then add optional parameters.
32
+ - For pagination, use `--limit` and `--offset` together. Default limit is 20.
33
+ - Use `--fields` to select specific columns for lighter response payloads.
34
+ - For cross-project troubleshooting, first confirm whether `--project_id` matches the current permissions and target environment.
35
+
36
+ ## Next Steps After Failure
37
+ - If required parameters are missing, fall back to the smallest runnable command and fill them in first (focus on `--project_id`).
38
+ - If the result is empty, first confirm the project ID/keyword, then try loosening the filter conditions.
39
+ - If INVALID_FIELDS error appears, check that all field names in `--fields` match the supported list.
40
+
41
+ ## Recommended Chaining
42
+ - +get_project_config -> +list_project_mark_times
@@ -1,6 +1,6 @@
1
1
  # analysis_meta +list_project_users (Read Project Member List)
2
2
 
3
- > **Prerequisite:** Read [`../te-shared/SKILL.md`](../../te-shared/SKILL.md)
3
+ > **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
4
4
 
5
5
  Domain: **Project Configuration**
6
6
 
@@ -10,7 +10,7 @@ Domain: **Project Configuration**
10
10
 
11
11
  ## Command
12
12
  ```bash
13
- ae-cli analysis_meta +list_project_users --project_id 1
13
+ ae-cli analysis_meta +list_project_users --project_id <project_id>
14
14
  ae-cli analysis_meta +list_project_users --dry-run
15
15
  ```
16
16
 
@@ -1,6 +1,6 @@
1
1
  # analysis_common +list_projects (view projects accessible to the current user)
2
2
 
3
- > **Prerequisite:** Read [`../te-shared/SKILL.md`](../../te-shared/SKILL.md)
3
+ > **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
4
4
 
5
5
  Domain: **project discovery / cross-module pre-query**
6
6
 
@@ -10,7 +10,7 @@ Domain: **project discovery / cross-module pre-query**
10
10
 
11
11
  ## Mandatory Rules (MUST)
12
12
  - This command does not accept any business parameters; do not invent `project_id`, keywords, or pagination parameters.
13
- - If a later target command requires `project_id`, `+list_projects` may only be used for "candidate project discovery" and cannot replace user confirmation.
13
+ - If a later target command requires `project_id`, `+list_projects` is used for first-time project discovery, new project verification, project switching, or ambiguity resolution. Do not call it repeatedly when the same continuous conversation already has a verified project context for the same host/environment.
14
14
  - In the final response, prioritize the returned `projectId`, `projectName`, and `roleName` to help the user confirm the project.
15
15
 
16
16
  ## Command
@@ -26,7 +26,8 @@ ae-cli analysis_common +list_projects --dry-run
26
26
 
27
27
  ## Decision Rules
28
28
  - When the user says "let me see what projects I have", "list the available projects first", or "I don't know project_id", call this command first.
29
- - When you need to continue with a command that depends on `project_id`, show candidate projects first, then ask the user to explicitly confirm the target `projectId`.
29
+ - When a later command depends on `project_id` and there is no verified project context, show candidate projects first, then ask the user to explicitly confirm the target `projectId`.
30
+ - When the same continuous conversation already has a verified `project_id` for the same host/environment, reuse it directly and do not call `+list_projects` again unless the user switches projects, switches host/environment, asks to list projects, or the current project context becomes ambiguous.
30
31
  - If there are many projects returned, prioritize summarizing by `projectName`, `projectId`, and `roleName` to avoid expanding all low-value fields at once.
31
32
 
32
33
  ## Next Step on Failure
@@ -34,4 +35,5 @@ ae-cli analysis_common +list_projects --dry-run
34
35
  - If the call fails, first check the authentication status, the target environment host, and the current login identity.
35
36
 
36
37
  ## Recommended Chaining
37
- - `+list_projects` -> user confirms `project_id` -> any command that requires `project_id`
38
+ - First use: `+list_projects` -> user confirms `project_id` -> any command that requires `project_id`
39
+ - Follow-up use in the same verified context: reuse confirmed `project_id` -> target command
@@ -1,6 +1,6 @@
1
1
  # analysis_meta +list_properties (Property Metadata Discovery)
2
2
 
3
- > **Prerequisite:** Read [`../te-shared/SKILL.md`](../../te-shared/SKILL.md)
3
+ > **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
4
4
 
5
5
  Domain: **Metadata Query**
6
6
 
@@ -10,8 +10,9 @@ Domain: **Metadata Query**
10
10
 
11
11
  ## Commands
12
12
  ```bash
13
- ae-cli analysis_meta +list_properties --project_id 1
14
- ae-cli analysis_meta +list_properties --project_id 1 --scope event --event_name purchase --query demo
13
+ ae-cli analysis_meta +list_properties --project_id <project_id>
14
+ ae-cli analysis_meta +list_properties --project_id <project_id> --scope event --event_name purchase --query demo
15
+ ae-cli analysis_meta +list_properties --project_id <project_id> --query demo --fields '["propName", "propDesc"]' --limit 20 --offset 0
15
16
  ae-cli analysis_meta +list_properties --dry-run
16
17
  ```
17
18
 
@@ -21,7 +22,11 @@ ae-cli analysis_meta +list_properties --dry-run
21
22
  | `--project_id` / `-p` | Yes | Project ID |
22
23
  | `--scope` | No | Optional property scope. event means event properties, user means user properties. If omitted, all scopes are queried. |
23
24
  | `--event_name` | No | Optional event name. If provided, only event properties available for that event are returned. |
24
- | `--query` / `-q` | No | Optional keyword filter. Performs fuzzy matching against property names, descriptions, and AI remarks; if omitted, all matched properties are returned. |
25
+ | `--query` / `-q` | No | Optional keyword filter. Fuzzy match is applied to propName, propDesc, and aiRemark; if omitted, all matched properties are returned. |
26
+ | `--fields` / `-f` | No | Optional fields to return (JSON array). Supported fields: `propName`, `propDesc`, `aiRemark`, `selectType`, `tableType`, `subTableType`. |
27
+ | `--limit` / `-l` | No | Optional page size. Default: 20, maximum: 50. |
28
+ | `--offset` / `-o` | No | Optional page offset. Default: 0. |
29
+
25
30
 
26
31
  ## Decision Rules
27
32
  - For the first run, pass only the required parameter (`--project_id`) to confirm the path works, then add optional parameters.
@@ -0,0 +1,41 @@
1
+ # analysis +list_public_access_links (public link search)
2
+
3
+ > **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
4
+
5
+ Domain: **Dashboard Management**
6
+
7
+ ## Use Cases
8
+ - List public access links in the project. Returns link IDs, short codes, access targets, status, effective time, expiration time, and related metadata.
9
+ - Supports pagination with fields/limit/offset for payload governance.
10
+ - Query performs fuzzy matching on shorter and remarks.
11
+
12
+ ## Commands
13
+ ```bash
14
+ ae-cli analysis +list_public_access_links --project_id <project_id>
15
+ ae-cli analysis +list_public_access_links --project_id <project_id> --query demo
16
+ ae-cli analysis +list_public_access_links --project_id <project_id> --query demo --fields '["id","shorter","accessStatus"]' --limit 10 --offset 0
17
+ ae-cli analysis +list_public_access_links --dry-run
18
+ ```
19
+
20
+ ## Parameters
21
+ | Parameter | Required | Description |
22
+ |---|---|---|
23
+ | `--project_id` / `-p` | Yes | Project ID |
24
+ | `--query` / `-q` | No | Optional keyword filter. Fuzzy match on shorter and remarks. |
25
+ | `--fields` | No | Optional fields to return. Supported: id, shorter, creator, projectIdAndName, source, accessId, target, options, remarks, accessStatus, effectTime, expireTime, createTime, updateTime. Invalid fields cause INVALID_FIELDS error. |
26
+ | `--limit` | No | Optional limit. Default: 20, maximum: 50. |
27
+ | `--offset` | No | Optional offset. Default: 0. |
28
+
29
+ ## Decision Rules
30
+ - For the first run, it is recommended to pass only the required parameters (`--project_id`) and add optional parameters after confirming the chain works.
31
+ - For pagination, use `--limit` and `--offset` together. Default limit is 20.
32
+ - Use `--fields` to select specific columns for lighter response payloads.
33
+ - For cross-project troubleshooting, first confirm whether `--project_id` matches the current permissions and target environment.
34
+
35
+ ## Next Step After Failure
36
+ - If required parameters are missing, fall back to the smallest runnable command and fill them in (focus on `--project_id`).
37
+ - If the result is empty, first confirm the project ID/keyword, then try broadening the filter conditions.
38
+ - If INVALID_FIELDS error appears, check that all field names in `--fields` match the supported list.
39
+
40
+ ## Recommended Chaining
41
+ - +list_public_access_links -> +update_public_access_link
@@ -1,17 +1,22 @@
1
1
  # analysis +list_reports (List Reports)
2
2
 
3
- > **Prerequisite:** Read [`../te-shared/SKILL.md`](../../te-shared/SKILL.md)
3
+ > **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
4
4
 
5
5
  Domain: **Report management**
6
6
 
7
+ ## Constraints
8
+
9
+ **Fuzzy Search Fallback:** If `--query` returns no results, retry with broader keywords (max 3 attempts), then fall back to full list. See [SKILL.md § C. FUZZY_SEARCH_FALLBACK](../SKILL.md#c-fuzzy_search_fallback).
10
+
7
11
  ## Use Cases
8
12
  - List report metadata accessible to the current user in the project. Supports keyword filtering and returns report IDs, names, model types, update times, and related metadata, but not report definitions or analysis data.
9
13
  - List report metadata accessible to the current user in the project.
10
14
 
11
15
  ## Command
12
16
  ```bash
13
- ae-cli analysis +list_reports --project_id 1
14
- ae-cli analysis +list_reports --project_id 1 --query demo
17
+ ae-cli analysis +list_reports --project_id <project_id>
18
+ ae-cli analysis +list_reports --project_id <project_id> --query demo
19
+ ae-cli analysis +list_reports --project_id <project_id> --fields '["reportId","reportName","reportModel"]' --limit 20 --offset 0
15
20
  ae-cli analysis +list_reports --dry-run
16
21
  ```
17
22
 
@@ -19,7 +24,10 @@ ae-cli analysis +list_reports --dry-run
19
24
  | Parameter | Required | Description |
20
25
  |---|---|---|
21
26
  | `--project_id` / `-p` | Yes | Project ID |
22
- | `--query` / `-q` | No | Optional keyword filter. Performs fuzzy matching against report names and descriptions; if omitted, all accessible reports are returned. |
27
+ | `--query` / `-q` | No | Optional keyword filter. Performs fuzzy matching against report names, descriptions, and AI remarks; if omitted, all accessible reports are returned. |
28
+ | `--fields` / `-f` | No | Optional fields to return (JSON array). Supported fields: `reportId`, `reportName`, `reportDesc`, `reportModel`, `aiRemark`. |
29
+ | `--limit` / `-l` | No | Optional page size. Default: 20, maximum: 50. |
30
+ | `--offset` / `-o` | No | Optional page offset. Default: 0. |
23
31
 
24
32
  ## Decision Rules
25
33
  - On the first run, start with only the required parameters (`--project_id`), and add optional parameters after confirming the path works.
@@ -1,16 +1,19 @@
1
1
  # analysis_audience +list_tag_members (View Tag Members)
2
2
 
3
- > **Prerequisite:** Read [`../te-shared/SKILL.md`](../../te-shared/SKILL.md)
3
+ > **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
4
4
 
5
5
  Domain: **Tag Management**
6
6
 
7
7
  ## Use Cases
8
- - List members in the specified tag. Returns member information such as user property values and total user count for the selected snapshot date.
8
+ - List members in the specified tag.
9
+ - Supports payload governance parameters: `query`, `fields`, `limit`, `offset`.
10
+ - Returns a paginated envelope (items + total + limit + offset + hasMore) for the selected snapshot date.
9
11
 
10
12
  ## Commands
11
13
  ```bash
12
- ae-cli analysis_audience +list_tag_members --project_id 1 --tag_name demo
13
- ae-cli analysis_audience +list_tag_members --project_id 1 --tag_name demo --snapshot_date 2026-04-01 --property_names '["#user_id","name"]' --use_cache false
14
+ ae-cli analysis_audience +list_tag_members --project_id <project_id> --tag_name demo
15
+ ae-cli analysis_audience +list_tag_members --project_id <project_id> --tag_name demo --snapshot_date 2026-04-01 --property_names '["#user_id","name"]' --use_cache false
16
+ ae-cli analysis_audience +list_tag_members --project_id <project_id> --tag_name demo --query user_001 --fields '["#user_id","name"]' --limit 20 --offset 0
14
17
  ae-cli analysis_audience +list_tag_members --dry-run
15
18
  ```
16
19
 
@@ -22,6 +25,10 @@ ae-cli analysis_audience +list_tag_members --dry-run
22
25
  | `--snapshot_date` | No | Optional tag snapshot date. Format: YYYY-MM-DD |
23
26
  | `--property_names` | No | Optional list of user property names (JSON array) |
24
27
  | `--use_cache` | No | Whether to use cache. Default: true |
28
+ | `--query` | No | Optional keyword filter on `#user_id` and selected properties. |
29
+ | `--fields` | No | Optional return field list (JSON array). Invalid fields will fail with `INVALID_FIELDS`. |
30
+ | `--limit` | No | Optional page size. Default: 20, max: 50. |
31
+ | `--offset` | No | Optional page offset. Default: 0. |
25
32
 
26
33
  ## Decision Rules
27
34
  - For the first execution, it is recommended to pass only the required parameters (`--project_id`, `--tag_name`) and add optional parameters after confirming the path works.
@@ -1,16 +1,23 @@
1
1
  # analysis_audience +list_tags (Tag Search)
2
2
 
3
- > **Prerequisite:** Read [`../te-shared/SKILL.md`](../../te-shared/SKILL.md)
3
+ > **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
4
4
 
5
5
  Domain: **Tag Management**
6
6
 
7
+ ## Constraints
8
+
9
+ **Fuzzy Search Fallback:** If `--query` returns no results, retry with broader keywords (max 3 attempts), then fall back to full list. See [SKILL.md § C. FUZZY_SEARCH_FALLBACK](../SKILL.md#c-fuzzy_search_fallback).
10
+
7
11
  ## Use Cases
8
- - List tag metadata accessible to the current user in the project. Supports keyword filtering and returns tag names, display names, types, status, user counts, and related metadata, but not tag members.
12
+ - List tag metadata accessible to the current user in the project.
13
+ - Supports payload governance parameters: `query`, `fields`, `limit`, `offset`.
14
+ - Returns a paginated envelope (items + total + limit + offset + hasMore), not tag members.
9
15
 
10
16
  ## Commands
11
17
  ```bash
12
- ae-cli analysis_audience +list_tags --project_id 1
13
- ae-cli analysis_audience +list_tags --project_id 1 --query demo
18
+ ae-cli analysis_audience +list_tags --project_id <project_id>
19
+ ae-cli analysis_audience +list_tags --project_id <project_id> --query demo
20
+ ae-cli analysis_audience +list_tags --project_id <project_id> --fields '["id","clusterName","usersNum"]' --limit 20 --offset 0
14
21
  ae-cli analysis_audience +list_tags --dry-run
15
22
  ```
16
23
 
@@ -19,6 +26,9 @@ ae-cli analysis_audience +list_tags --dry-run
19
26
  |---|---|---|
20
27
  | `--project_id` / `-p` | Yes | Project ID |
21
28
  | `--query` / `-q` | No | Optional keyword filter. Performs fuzzy matching against tag names, display names, and remarks; if omitted, all tags are returned. |
29
+ | `--fields` | No | Optional return field list (JSON array). Invalid fields will fail with `INVALID_FIELDS`. |
30
+ | `--limit` | No | Optional page size. Default: 20, max: 50. |
31
+ | `--offset` | No | Optional page offset. Default: 0. |
22
32
 
23
33
  ## Decision Rules
24
34
  - For the first execution, it is recommended to pass only the required parameters (`--project_id`) and add optional parameters after confirming the path works.
@@ -1,6 +1,6 @@
1
1
  # analysis +load_filters (load filter candidate values)
2
2
 
3
- > **Prerequisite:** Read [`../te-shared/SKILL.md`](../../te-shared/SKILL.md)
3
+ > **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
4
4
 
5
5
  Domain: **Model Analysis**
6
6
 
@@ -14,8 +14,8 @@ Domain: **Model Analysis**
14
14
 
15
15
  ## Commands
16
16
  ```bash
17
- ae-cli analysis +load_filters --project_id 1 --quot demo --table_type event
18
- ae-cli analysis +load_filters --project_id 1 --quot demo --table_type event --event_name demo --inputdata demo --zone_offset 8 --cluster_date_policy SPECIFIED --specified_cluster_date 2026-04-08 --is_report true
17
+ ae-cli analysis +load_filters --project_id <project_id> --quot demo --table_type event
18
+ ae-cli analysis +load_filters --project_id <project_id> --quot demo --table_type event --event_name demo --inputdata demo --zone_offset 8 --cluster_date_policy SPECIFIED --specified_cluster_date 2026-04-08 --is_report true
19
19
  ae-cli analysis +load_filters --dry-run
20
20
  ```
21
21
 
@@ -1,9 +1,19 @@
1
1
  # analysis +query_adhoc (Ad Hoc Analysis Execution)
2
2
 
3
- > **Prerequisite:** Read [`../te-shared/SKILL.md`](../../te-shared/SKILL.md)
3
+ > **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
4
4
 
5
5
  Domain: **Model analysis**
6
6
 
7
+ ## Constraints
8
+
9
+ **⚠️ QUERY_EXISTING_FIRST:** Before using ad-hoc query, you MUST first check for existing reports/dashboards with `list_reports` and `list_dashboards`. Only use `query_adhoc` if no matching reports found. See [SKILL.md § D. QUERY_EXISTING_FIRST](../SKILL.md#d-query_existing_first).
10
+
11
+ **Quick check workflow:**
12
+ 1. `list_reports --query <keyword>` - search matching reports
13
+ 2. `list_dashboards --query <keyword>` - search matching dashboards
14
+ 3. If found → use `query_report_data` or `query_dashboard_report_data`
15
+ 4. If not found → only then use `query_adhoc`
16
+
7
17
  ## Use Cases
8
18
  - Precondition helper: call `+get_analysis_query_schema` to get the structure before using this tool.
9
19
  - When constructing a real `qp`, you must supplement it with real project metadata; first call `analysis_meta +list_events` and `analysis_meta +list_properties`.
@@ -22,22 +32,22 @@ Domain: **Model analysis**
22
32
 
23
33
  ## Mandatory prerequisites (MUST)
24
34
  - Before constructing `--qp`, you must first read and follow these reference documents:
25
- - [`./get-analysis-query-schema.md`](./get-analysis-query-schema.md)
26
- - [`../../te-meta/references/list-events.md`](../../te-meta/references/list-events.md)
27
- - [`../../te-meta/references/list-properties.md`](../../te-meta/references/list-properties.md)
35
+ - [`./get_analysis_query_schema.md`](./get_analysis_query_schema.md)
36
+ - [`./list_events.md`](./list_events.md)
37
+ - [`./list_properties.md`](./list_properties.md)
28
38
  - Do not generate the final `qp` until the documentation review and prerequisite command calls are complete.
29
39
 
30
40
  ## Prerequisite call chain (required for constructing qp)
31
41
  1. First determine `--model_type`.
32
- 2. Read `get-analysis-query-schema.md`, then call `ae-cli analysis +get_analysis_query_schema --model_type <model_type>` to get the structure.
33
- 3. Read `list-events.md`, then call `ae-cli analysis_meta +list_events --project_id 1` to get the available events.
34
- 4. Read `list-properties.md`, then call `ae-cli analysis_meta +list_properties --project_id 1` to get the available properties.
42
+ 2. Read `get_analysis_query_schema.md`, then call `ae-cli analysis +get_analysis_query_schema --model_type <model_type>` to get the structure.
43
+ 3. Read `list_events.md`, then call `ae-cli analysis_meta +list_events --project_id <project_id>` to get the available events.
44
+ 4. Read `list_properties.md`, then call `ae-cli analysis_meta +list_properties --project_id <project_id>` to get the available properties.
35
45
  5. Build `qp` from the schema + metadata, then call `+query_adhoc`.
36
46
 
37
47
  ## Command
38
48
  ```bash
39
- ae-cli analysis +query_adhoc --project_id 1 --model_type event --qp '{}'
40
- ae-cli analysis +query_adhoc --project_id 1 --model_type event --qp '{}' --zone_offset 8 --request_id demo --use_cache true --is_sort_by_columns true --resolve_recent_day true --timeout_minutes 8
49
+ ae-cli analysis +query_adhoc --project_id <project_id> --model_type event --qp '{}'
50
+ ae-cli analysis +query_adhoc --project_id <project_id> --model_type event --qp '{}' --fields '["date","event"]' --limit 10 --offset 0 --zone_offset 8 --request_id demo --use_cache true --is_sort_by_columns true --resolve_recent_day true --timeout_minutes 8
41
51
  ae-cli analysis +query_adhoc --dry-run
42
52
  ```
43
53
 
@@ -52,10 +62,15 @@ ae-cli analysis +query_adhoc --dry-run
52
62
  | `--zone_offset` | No | Time zone offset in hours. For example, UTC+8 is 8 and UTC-5 is -5 |
53
63
  | `--is_sort_by_columns` | No | Whether to sort query results by columns. Default: false |
54
64
  | `--resolve_recent_day` | No | Whether to resolve relative time expressions such as "last 7 days". Default: false |
65
+ | `--fields` | No | Optional fields to return. Must match column names in result. Invalid fields cause INVALID_FIELDS error. |
66
+ | `--limit` | No | Optional limit. Default: 20, maximum: 50. |
67
+ | `--offset` | No | Optional offset. Default: 0. |
55
68
  | `--timeout_minutes` | No | Query timeout in minutes. If the query exceeds this time, it will be cancelled automatically. |
56
69
 
57
70
  ## Decision Rules
58
71
  - On the first run, start with only the required parameters (`--project_id`,`--model_type`,`--qp`), and add optional parameters after confirming the path works.
72
+ - For pagination, use `--limit` and `--offset` together. Default limit is 20.
73
+ - Use `--fields` to select specific columns for lighter response payloads.
59
74
  - `qp` cannot be written from experience alone: it must satisfy both the schema structure and the project metadata constraints.
60
75
  - Before calling `list_events` / `list_properties`, you must first study the corresponding reference documents.
61
76
  - Wrap JSON parameters in single quotes (for example `--qp '{}'`) to avoid shell escaping issues.
@@ -1,6 +1,6 @@
1
1
  # analysis +query_dashboard_detail (read dashboard structure)
2
2
 
3
- > **Prerequisite:** Read [`../te-shared/SKILL.md`](../../te-shared/SKILL.md)
3
+ > **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
4
4
 
5
5
  Domain: **Dashboard Management**
6
6
 
@@ -13,7 +13,7 @@ Domain: **Dashboard Management**
13
13
 
14
14
  ## Commands
15
15
  ```bash
16
- ae-cli analysis +query_dashboard_detail --project_id 1 --dashboard_id 1
16
+ ae-cli analysis +query_dashboard_detail --project_id <project_id> --dashboard_id 1
17
17
  ae-cli analysis +query_dashboard_detail --dry-run
18
18
  ```
19
19
 
@@ -1,6 +1,6 @@
1
1
  # analysis +query_dashboard_report_data (Batch Query Dashboard Report Data)
2
2
 
3
- > **Prerequisite:** Read [`../te-shared/SKILL.md`](../../te-shared/SKILL.md)
3
+ > **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
4
4
 
5
5
  Domain: **Dashboard management**
6
6
 
@@ -12,21 +12,21 @@ Domain: **Dashboard management**
12
12
 
13
13
  ## Mandatory prerequisites (MUST)
14
14
  - Before constructing `--filters`, you must first read and follow these reference documents:
15
- - [`./get-filter-schema.md`](./get-filter-schema.md)
16
- - [`../../te-meta/references/list-events.md`](../../te-meta/references/list-events.md)
17
- - [`../../te-meta/references/list-properties.md`](../../te-meta/references/list-properties.md)
15
+ - [`./get_filter_schema.md`](./get_filter_schema.md)
16
+ - [`./list_events.md`](./list_events.md)
17
+ - [`./list_properties.md`](./list_properties.md)
18
18
  - Do not generate the final `filters` until the documentation review and prerequisite command calls are complete.
19
19
 
20
20
  ## Prerequisite call chain (required for constructing filters)
21
- 1. Read `get-filter-schema.md`, then call `ae-cli analysis +get_filter_schema` to get the filter structure.
22
- 2. Read `list-events.md`, then call `ae-cli analysis_meta +list_events --project_id 1`.
23
- 3. Read `list-properties.md`, then call `ae-cli analysis_meta +list_properties --project_id 1`.
21
+ 1. Read `get_filter_schema.md`, then call `ae-cli analysis +get_filter_schema` to get the filter structure.
22
+ 2. Read `list_events.md`, then call `ae-cli analysis_meta +list_events --project_id <project_id>`.
23
+ 3. Read `list_properties.md`, then call `ae-cli analysis_meta +list_properties --project_id <project_id>`.
24
24
  4. Build `filters` from the schema + metadata, then call `+query_dashboard_report_data`.
25
25
 
26
26
  ## Command
27
27
  ```bash
28
- ae-cli analysis +query_dashboard_report_data --project_id 1 --dashboard_id 1
29
- ae-cli analysis +query_dashboard_report_data --project_id 1 --dashboard_id 1 --filters '{}' --start_date 2026-04-08 --end_date 2026-04-08 --time_granularity day --use_cache true --report_ids '[1001]'
28
+ ae-cli analysis +query_dashboard_report_data --project_id <project_id> --dashboard_id 1
29
+ ae-cli analysis +query_dashboard_report_data --project_id <project_id> --dashboard_id 1 --filters '{}' --start_date 2026-04-08 --end_date 2026-04-08 --time_granularity day --use_cache true --report_ids '[1001]'
30
30
  ae-cli analysis +query_dashboard_report_data --dry-run
31
31
  ```
32
32