@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,37 +1,40 @@
1
1
  # analysis_audience +create_cluster (Create Cluster)
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
7
  ## Use Cases
8
8
  - Prerequisite helper: first call `+get_cluster_definition_schema` to obtain the `definition` structure, then call this tool.
9
- - When building a real `definition`, you must supplement it with real project metadata: first call `analysis_meta +list_events` and `analysis_meta +list_properties`, then fill in event names/property names.
9
+ - When building a real `definition`, metadata must be verified in the same session and `project_id`: first build in this session must call `analysis_meta +list_events` and `analysis_meta +list_properties`; later calls should reuse the session-verified results first.
10
10
  - Create a user cluster definition. Supports the condition and sql cluster types. Returns cluster information without cluster members.
11
11
 
12
12
  ## Required Prerequisites (MUST)
13
13
  - Before constructing `--definition`, you must first read and follow these reference docs:
14
- - [`./get-cluster-definition-schema.md`](./get-cluster-definition-schema.md)
15
- - [`../../te-meta/references/list-events.md`](../../te-meta/references/list-events.md)
16
- - [`../../te-meta/references/list-properties.md`](../../te-meta/references/list-properties.md)
17
- - Do not generate the final `definition` until the above docs have been read and the prerequisite commands have been run.
14
+ - [`./get_cluster_definition_schema.md`](./get_cluster_definition_schema.md)
15
+ - [`./list_events.md`](./list_events.md)
16
+ - [`./list_properties.md`](./list_properties.md)
17
+ - Do not generate the final `definition` until the above docs have been read and metadata has been verified: first build in this session for the same `project_id` must run metadata commands; if session-verified metadata already exists, reuse it first.
18
18
 
19
19
  ## Prerequisite Call Chain (Required for Building Definition)
20
- 1. Read `get-cluster-definition-schema.md` to understand the input and output structure of `+get_cluster_definition_schema`.
21
- 2. Obtain the schema structure (by cluster type):
20
+ 1. Read `get_cluster_definition_schema.md` to understand the input and output structure of `+get_cluster_definition_schema`.
21
+ 2. Obtain the schema progressively (by cluster type). Start with base mode:
22
22
  `ae-cli analysis_audience +get_cluster_definition_schema --cluster_type condition`
23
- 3. Read `list-events.md` to understand the parameters and return structure of `+list_events`.
24
- 4. Get the event list (for `event_name` and other fields):
25
- `ae-cli analysis_meta +list_events --project_id 1`
26
- 5. Read `list-properties.md` to understand the parameters and return structure of `+list_properties`.
27
- 6. Get the property list (for property filters, grouping, and comparison fields):
28
- `ae-cli analysis_meta +list_properties --project_id 1`
23
+ Request `--response_mode examples` only if base is insufficient; request `--response_mode full` only for complex, ambiguous, or repeatedly failing definition construction.
24
+ 3. Read `list_events.md` to understand the parameters and return structure of `+list_events`.
25
+ 4. Get the event list (for `event_name` and other fields): if this is the first definition build in the current session for this `project_id` (or metadata is not yet verified), call
26
+ `ae-cli analysis_meta +list_events --project_id <project_id>`;
27
+ otherwise, reuse the session-verified event metadata first.
28
+ 5. Read `list_properties.md` to understand the parameters and return structure of `+list_properties`.
29
+ 6. Get the property list (for property filters, grouping, and comparison fields): if this is the first definition build in the current session for this `project_id` (or metadata is not yet verified), call
30
+ `ae-cli analysis_meta +list_properties --project_id <project_id>`;
31
+ otherwise, reuse the session-verified property metadata first.
29
32
  7. Build `definition` based on the schema + metadata, then call `+create_cluster`.
30
33
 
31
34
  ## Commands
32
35
  ```bash
33
- ae-cli analysis_audience +create_cluster --project_id 1 --cluster_name demo --display_name demo --definition '{}'
34
- ae-cli analysis_audience +create_cluster --project_id 1 --cluster_name demo --display_name demo --type condition --definition '{}' --zone_offset 8 --entity_id 1001
36
+ ae-cli analysis_audience +create_cluster --project_id <project_id> --cluster_name demo --display_name demo --definition '{}'
37
+ ae-cli analysis_audience +create_cluster --project_id <project_id> --cluster_name demo --display_name demo --type condition --definition '{}' --zone_offset 8 --entity_id 1001
35
38
  ae-cli analysis_audience +create_cluster --dry-run
36
39
  ```
37
40
 
@@ -42,14 +45,15 @@ ae-cli analysis_audience +create_cluster --dry-run
42
45
  | `--cluster_name` | Yes | Cluster name. Must start with a letter and contain only letters, digits, and underscores. Length: 1-80 |
43
46
  | `--display_name` | Yes | Cluster display name. Length: 1-80 |
44
47
  | `--type` | No | Cluster type. Supported values: condition and sql. Default: condition |
45
- | `--definition` | Yes | Cluster definition JSON. MUST call `+get_cluster_definition_schema` first to learn the exact structure, then use `analysis_meta +list_events` / `analysis_meta +list_properties` to fill valid event/property names from the target project. |
48
+ | `--definition` | Yes | Cluster definition JSON. MUST call `+get_cluster_definition_schema` first to learn the exact structure, then fill valid event/property names from metadata verified in the same `project_id` (first build queries `analysis_meta` metadata commands; later builds in the same session should reuse verified results first). |
46
49
  | `--zone_offset` | No | Optional time zone offset for cluster computation. Valid range: -12 to 14 (supports decimals like 5.5). If the user does not specify a timezone, omit this parameter. When a timezone is specified, call get_project_config first to check whether the project supports time zones (timeZoneEnabled) and available values (availableTimeZones). |
47
50
  | `--entity_id` | No | Optional entity ID for cluster definition. Use list_entities to query available entities. |
48
51
 
49
52
  ## Decision Rules
50
53
  - `definition` cannot be written from experience alone: it must satisfy both the schema structure and the project's real metadata (events and properties).
51
54
  - Determine `--type` first, then fetch the schema for the corresponding `--cluster_type`; do not mix condition/sql structures.
52
- - Before calling `list_events` / `list_properties`, you must first read their reference docs to avoid misuse of parameters or misreading return fields.
55
+ - Use progressive schema loading: base first, examples only when needed, full only as a last resort. Do not request full schema for simple cluster creation when the intent is clear.
56
+ - Before calling `list_events` / `list_properties`, you must first read their reference docs to avoid misuse of parameters or misreading return fields. Query metadata on the first build in this session for the same `project_id`; after that, prefer reusing session-verified metadata.
53
57
  - For the first execution, it is recommended to pass only the required parameters (`--project_id`, `--cluster_name`, `--display_name`, `--definition`) and add optional parameters after confirming the path works.
54
58
  - Wrap JSON parameters in single quotes (e.g. `--definition '{}'`) to avoid shell escaping issues.
55
59
  - When troubleshooting across projects, first confirm whether `--project_id` matches the current permissions and target environment.
@@ -61,5 +65,5 @@ ae-cli analysis_audience +create_cluster --dry-run
61
65
  - If the result after writing is not as expected, immediately re-read the corresponding list/get interfaces and compare before and after.
62
66
 
63
67
  ## Recommended Chain
64
- - +get_cluster_definition_schema -> analysis_meta +list_events -> analysis_meta +list_properties -> +create_cluster
68
+ - +get_cluster_definition_schema -> (first build or refresh) analysis_meta +list_events -> analysis_meta +list_properties -> +create_cluster
65
69
  - +list_clusters -> +get_clusters_by_name -> +update_cluster
@@ -1,6 +1,6 @@
1
1
  # analysis +create_dashboard (create dashboard)
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,9 +12,9 @@ Domain: **Dashboard Management**
12
12
 
13
13
  ## Commands
14
14
  ```bash
15
- ae-cli analysis +create_dashboard --project_id 1 --dashboard_name demo
16
- ae-cli analysis +create_dashboard --project_id 1 --dashboard_name demo --space_id 1 --folder_id 1 --initial_report_id 1 --note_title demo --note_content demo --note_style '{}'
17
- ae-cli analysis +create_dashboard --project_id 1 --dashboard_name demo --dry-run
15
+ ae-cli analysis +create_dashboard --project_id <project_id> --dashboard_name demo
16
+ ae-cli analysis +create_dashboard --project_id <project_id> --dashboard_name demo --space_id 1 --folder_id 1 --initial_report_id 1 --note_title demo --note_content demo --note_style '{}'
17
+ ae-cli analysis +create_dashboard --project_id <project_id> --dashboard_name demo --dry-run
18
18
  ```
19
19
 
20
20
  ## Parameters
@@ -1,6 +1,6 @@
1
1
  # analysis_meta +create_metric (Create Metric)
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
 
@@ -12,23 +12,23 @@ Domain: **Metadata Query**
12
12
 
13
13
  ## MUST Prerequisites
14
14
  - Before constructing `--events` / `--params`, you must first read and follow these reference documents:
15
- - [`../../te-analysis/references/get-analysis-query-schema.md`](../../te-analysis/references/get-analysis-query-schema.md)
16
- - [`./list-events.md`](./list-events.md)
17
- - [`./list-properties.md`](./list-properties.md)
15
+ - [`./get_analysis_query_schema.md`](./get_analysis_query_schema.md)
16
+ - [`./list_events.md`](./list_events.md)
17
+ - [`./list_properties.md`](./list_properties.md)
18
18
  - Do not generate the final `events` / `params` until the document review and prerequisite command calls above are complete.
19
19
 
20
20
  ## Prerequisite Call Chain (Required for Constructing events/params)
21
21
  1. Determine `--model_type` first (`event` / `retention`).
22
- 2. Read `get-analysis-query-schema.md`, then call `ae-cli analysis +get_analysis_query_schema --model_type <event|retention>` to get the structure.
23
- 3. Read `list-events.md`, then call `ae-cli analysis_meta +list_events --project_id 1` to get available events.
24
- 4. Read `list-properties.md`, then call `ae-cli analysis_meta +list_properties --project_id 1` to get available properties.
22
+ 2. Read `get_analysis_query_schema.md`, then call `ae-cli analysis +get_analysis_query_schema --model_type <event|retention>` to get the structure.
23
+ 3. Read `list_events.md`, then call `ae-cli analysis_meta +list_events --project_id <project_id>` to get available events.
24
+ 4. Read `list_properties.md`, then call `ae-cli analysis_meta +list_properties --project_id <project_id>` to get available properties.
25
25
  5. Build `events` / `params` from the schema + metadata, then call `+create_metric`.
26
- 6. If an accessible URL must be returned, apply resource-link completion according to the unified `te-common` constraints (call `analysis_common +get_resource_url`).
26
+ 6. If an accessible URL must be returned, apply resource-link completion according to the unified skill constraints (call `analysis_common +get_resource_url`).
27
27
 
28
28
  ## Commands
29
29
  ```bash
30
- ae-cli analysis_meta +create_metric --project_id 1 --name demo --display_name demo --model_type event --events '[]' --params '{}'
31
- ae-cli analysis_meta +create_metric --project_id 1 --name demo --display_name demo --remark demo --model_type event --events '[]' --params '{}'
30
+ ae-cli analysis_meta +create_metric --project_id <project_id> --name demo --display_name demo --model_type event --events '[]' --params '{}'
31
+ ae-cli analysis_meta +create_metric --project_id <project_id> --name demo --display_name demo --remark demo --model_type event --events '[]' --params '{}'
32
32
  ae-cli analysis_meta +create_metric --dry-run
33
33
  ```
34
34
 
@@ -1,6 +1,6 @@
1
1
  # analysis +create_or_update_dashboard_note (Maintain Dashboard Note)
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
 
@@ -10,8 +10,8 @@ Domain: **Dashboard management**
10
10
 
11
11
  ## Command
12
12
  ```bash
13
- ae-cli analysis +create_or_update_dashboard_note --project_id 1 --dashboard_id 1 --note_title demo
14
- ae-cli analysis +create_or_update_dashboard_note --project_id 1 --dashboard_id 1 --note_id 1 --note_title demo --description demo --ui_config '{}'
13
+ ae-cli analysis +create_or_update_dashboard_note --project_id <project_id> --dashboard_id 1 --note_title demo
14
+ ae-cli analysis +create_or_update_dashboard_note --project_id <project_id> --dashboard_id 1 --note_id 1 --note_title demo --description demo --ui_config '{}'
15
15
  ae-cli analysis +create_or_update_dashboard_note --dry-run
16
16
  ```
17
17
 
@@ -1,6 +1,6 @@
1
1
  # analysis_meta +create_project_mark_time (Create Project Date Marker)
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,8 +10,8 @@ Domain: **Project Configuration**
10
10
 
11
11
  ## Command
12
12
  ```bash
13
- ae-cli analysis_meta +create_project_mark_time --project_id 1 --marked_at '2026-04-09 10:00' --content demo
14
- ae-cli analysis_meta +create_project_mark_time --project_id 1 --marked_at '2026-04-09 10:00' --zone_offset 8 --content demo --is_visible 1
13
+ ae-cli analysis_meta +create_project_mark_time --project_id <project_id> --marked_at '2026-04-09 10:00' --content demo
14
+ ae-cli analysis_meta +create_project_mark_time --project_id <project_id> --marked_at '2026-04-09 10:00' --zone_offset 8 --content demo --is_visible 1
15
15
  ae-cli analysis_meta +create_project_mark_time --dry-run
16
16
  ```
17
17
 
@@ -1,6 +1,6 @@
1
1
  # analysis +create_public_access_link (create public access link)
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
 
@@ -11,8 +11,8 @@ Domain: **Dashboard Management**
11
11
 
12
12
  ## Commands
13
13
  ```bash
14
- ae-cli analysis +create_public_access_link --project_id 1 --resource_type dashboard --resource_id 1 --access_controls '{}' --effective_at "2026-04-09 10:00:00" --expires_at "2026-04-10 10:00:00"
15
- ae-cli analysis +create_public_access_link --project_id 1 --company_id 1 --resource_type dashboard --resource_id 1 --access_controls '{}' --remark demo --effective_at "2026-04-09 10:00:00" --expires_at "2026-04-10 10:00:00"
14
+ ae-cli analysis +create_public_access_link --project_id <project_id> --resource_type dashboard --resource_id 1 --access_controls '{}' --effective_at "2026-04-09 10:00:00" --expires_at "2026-04-10 10:00:00"
15
+ ae-cli analysis +create_public_access_link --project_id <project_id> --company_id 1 --resource_type dashboard --resource_id 1 --access_controls '{}' --remark demo --effective_at "2026-04-09 10:00:00" --expires_at "2026-04-10 10:00:00"
16
16
  ae-cli analysis +create_public_access_link --dry-run
17
17
  ```
18
18
 
@@ -1,6 +1,6 @@
1
1
  # analysis +create_report (Create Report)
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
 
@@ -11,22 +11,22 @@ Domain: **Report management**
11
11
 
12
12
  ## Mandatory prerequisites (MUST)
13
13
  - Before constructing `--analysis_query`, you must first read and follow these reference documents:
14
- - [`./get-analysis-query-schema.md`](./get-analysis-query-schema.md)
15
- - [`../../te-meta/references/list-events.md`](../../te-meta/references/list-events.md)
16
- - [`../../te-meta/references/list-properties.md`](../../te-meta/references/list-properties.md)
14
+ - [`./get_analysis_query_schema.md`](./get_analysis_query_schema.md)
15
+ - [`./list_events.md`](./list_events.md)
16
+ - [`./list_properties.md`](./list_properties.md)
17
17
  - Do not generate the final `analysis_query` until the documentation review and prerequisite command calls are complete.
18
18
 
19
19
  ## Prerequisite call chain (required for constructing analysis_query)
20
20
  1. First determine `--model_type`.
21
- 2. Read `get-analysis-query-schema.md`, then call `ae-cli analysis +get_analysis_query_schema --model_type <model_type>` to get the structure.
22
- 3. Read `list-events.md`, then call `ae-cli analysis_meta +list_events --project_id 1`.
23
- 4. Read `list-properties.md`, then call `ae-cli analysis_meta +list_properties --project_id 1`.
21
+ 2. Read `get_analysis_query_schema.md`, then call `ae-cli analysis +get_analysis_query_schema --model_type <model_type>` to get the structure.
22
+ 3. Read `list_events.md`, then call `ae-cli analysis_meta +list_events --project_id <project_id>`.
23
+ 4. Read `list_properties.md`, then call `ae-cli analysis_meta +list_properties --project_id <project_id>`.
24
24
  5. Build `analysis_query` from the schema + metadata, then call `+create_report`.
25
25
 
26
26
  ## Command
27
27
  ```bash
28
- ae-cli analysis +create_report --project_id 1 --report_name demo --model_type event --analysis_query '{}'
29
- ae-cli analysis +create_report --project_id 1 --report_name demo --model_type event --analysis_query '{}' --description demo --cache_seconds 8 --query_duration_ms 8 --dashboard_ids '[]'
28
+ ae-cli analysis +create_report --project_id <project_id> --report_name demo --model_type event --analysis_query '{}'
29
+ ae-cli analysis +create_report --project_id <project_id> --report_name demo --model_type event --analysis_query '{}' --description demo --cache_seconds 8 --query_duration_ms 8 --dashboard_ids '[]'
30
30
  ae-cli analysis +create_report --dry-run
31
31
  ```
32
32
 
@@ -1,6 +1,6 @@
1
1
  # analysis +create_result_cluster (create result cluster)
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
 
@@ -13,9 +13,9 @@ Domain: **Model Analysis**
13
13
 
14
14
  ## Mandatory Prerequisites (MUST)
15
15
  - Before building `--qp` and the various drilldown parameters, you must first read and follow the following reference docs:
16
- - [`./query-adhoc.md`](./query-adhoc.md)
17
- - [`./query-report-data.md`](./query-report-data.md)
18
- - [`./query-dashboard-report-data.md`](./query-dashboard-report-data.md)
16
+ - [`./query_adhoc.md`](./query_adhoc.md)
17
+ - [`./query_report_data.md`](./query_report_data.md)
18
+ - [`./query_dashboard_report_data.md`](./query_dashboard_report_data.md)
19
19
  - `qp`, `drilldown_date`, `drilldown_groups`, `event_index`, `retention_days`, `funnel_step`, and other parameters must come from real analysis results and must not be guessed.
20
20
  - Do not create a result cluster until the upstream query and result reread have been completed.
21
21
 
@@ -27,8 +27,8 @@ Domain: **Model Analysis**
27
27
 
28
28
  ## Commands
29
29
  ```bash
30
- ae-cli analysis +create_result_cluster --project_id 1 --cluster_name demo --model_type event --qp '{}'
31
- ae-cli analysis +create_result_cluster --project_id 1 --cluster_name demo --display_name demo --model_type event --qp '{}' --zone_offset 8 --drilldown_date 2026-04-08 --drilldown_groups '[]' --event_index 8 --is_lost true --retention_days 8 --is_churned_user true --funnel_step 8 --interval demo --distribution_bucket 8 --compare_index 8 --include_total true --relation_val demo
30
+ ae-cli analysis +create_result_cluster --project_id <project_id> --cluster_name demo --model_type event --qp '{}'
31
+ ae-cli analysis +create_result_cluster --project_id <project_id> --cluster_name demo --display_name demo --model_type event --qp '{}' --zone_offset 8 --drilldown_date 2026-04-08 --drilldown_groups '[]' --event_index 8 --is_lost true --retention_days 8 --is_churned_user true --funnel_step 8 --interval demo --distribution_bucket 8 --compare_index 8 --include_total true --relation_val demo
32
32
  ae-cli analysis +create_result_cluster --dry-run
33
33
  ```
34
34
 
@@ -1,33 +1,33 @@
1
1
  # analysis_audience +create_tag (Create Tag)
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
8
  - Prerequisite helper: first call `+get_tag_definition_schema` to obtain the structure, then call this tool.
9
- - When building a real `definition`, you must supplement it with real project metadata; at minimum, first call `analysis_meta +list_events` and `analysis_meta +list_properties`.
9
+ - When building a real `definition`, metadata must be verified in the same session and `project_id`: first build in this session must call `analysis_meta +list_events` and `analysis_meta +list_properties`; later calls should reuse the session-verified results first.
10
10
  - Create a user tag definition. Supports the condition, metric, first_last, and sql tag types. Returns the new tag ID without tag members.
11
11
 
12
12
  ## Required Prerequisites (MUST)
13
13
  - Before constructing `--definition`, you must first read and follow these reference docs:
14
- - [`./get-tag-definition-schema.md`](./get-tag-definition-schema.md)
15
- - [`../../te-meta/references/list-events.md`](../../te-meta/references/list-events.md)
16
- - [`../../te-meta/references/list-properties.md`](../../te-meta/references/list-properties.md)
17
- - Do not generate the final `definition` until the above docs have been read and the prerequisite commands have been run.
14
+ - [`./get_tag_definition_schema.md`](./get_tag_definition_schema.md)
15
+ - [`./list_events.md`](./list_events.md)
16
+ - [`./list_properties.md`](./list_properties.md)
17
+ - Do not generate the final `definition` until the above docs have been read and metadata has been verified: first build in this session for the same `project_id` must run metadata commands; if session-verified metadata already exists, reuse it first.
18
18
 
19
19
  ## Prerequisite Call Chain (Required for Building Definition)
20
20
  1. First determine `--type` (condition / metric / first_last / sql).
21
- 2. Read `get-tag-definition-schema.md` to understand the return structure of `+get_tag_definition_schema`.
22
- 3. Call `ae-cli analysis_audience +get_tag_definition_schema` to obtain the schema.
23
- 4. Read `list-events.md`, then call `ae-cli analysis_meta +list_events --project_id 1` to get available events.
24
- 5. Read `list-properties.md`, then call `ae-cli analysis_meta +list_properties --project_id 1` to get available properties.
21
+ 2. Read `get_tag_definition_schema.md` to understand the return structure of `+get_tag_definition_schema`.
22
+ 3. Call `ae-cli analysis_audience +get_tag_definition_schema --type <condition|metric|first_last|sql>` to obtain the schema progressively. Start with base mode; request `examples` only if base is insufficient; request `full` only for complex, ambiguous, or repeatedly failing definition construction.
23
+ 4. Read `list_events.md`. If this is the first definition build in the current session for this `project_id` (or metadata is not yet verified), call `ae-cli analysis_meta +list_events --project_id <project_id>`; otherwise, reuse the session-verified event metadata first.
24
+ 5. Read `list_properties.md`. If this is the first definition build in the current session for this `project_id` (or metadata is not yet verified), call `ae-cli analysis_meta +list_properties --project_id <project_id>`; otherwise, reuse the session-verified property metadata first.
25
25
  6. Build `definition` based on the schema + metadata, then call `+create_tag`.
26
26
 
27
27
  ## Commands
28
28
  ```bash
29
- ae-cli analysis_audience +create_tag --project_id 1 --tag_name demo --display_name demo --definition '{}'
30
- ae-cli analysis_audience +create_tag --project_id 1 --tag_name demo --display_name demo --type condition --definition '{}' --zone_offset 8 --entity_id 1001
29
+ ae-cli analysis_audience +create_tag --project_id <project_id> --tag_name demo --display_name demo --definition '{}'
30
+ ae-cli analysis_audience +create_tag --project_id <project_id> --tag_name demo --display_name demo --type condition --definition '{}' --zone_offset 8 --entity_id 1001
31
31
  ae-cli analysis_audience +create_tag --dry-run
32
32
  ```
33
33
 
@@ -38,13 +38,14 @@ ae-cli analysis_audience +create_tag --dry-run
38
38
  | `--tag_name` | Yes | Tag name. Must start with a letter and contain only letters, digits, and underscores. Length: 1-80 |
39
39
  | `--display_name` | Yes | Tag display name. Length: 1-80 |
40
40
  | `--type` | No | Tag type. Supported values: condition, metric, first_last, sql |
41
- | `--definition` | Yes | Tag definition JSON. MUST call `+get_tag_definition_schema` first, then fill valid event/property names from `analysis_meta` metadata commands in the same `project_id`. |
41
+ | `--definition` | Yes | Tag definition JSON. MUST call `+get_tag_definition_schema` first, then fill valid event/property names from metadata verified in the same `project_id` (first build queries `analysis_meta` metadata commands; later builds in the same session should reuse verified results first). |
42
42
  | `--zone_offset` | No | Optional time zone offset for tag computation. Valid range: -12 to 14 (supports decimals like 5.5). If the user does not specify a timezone, omit this parameter. When a timezone is specified, call get_project_config first to check whether the project supports time zones (timeZoneEnabled) and available values (availableTimeZones). |
43
43
  | `--entity_id` | No | Optional entity ID for tag definition. Use list_entities to query available entities. |
44
44
 
45
45
  ## Decision Rules
46
46
  - `definition` cannot be written from experience alone: it must satisfy both the schema structure and the project's real metadata.
47
- - Before calling `list_events` / `list_properties`, you must first read the corresponding reference docs to avoid misuse of parameters or misreading return fields.
47
+ - Use progressive schema loading: base first, examples only when needed, full only as a last resort. Do not request full schema for simple tag creation when the intent is clear.
48
+ - Before calling `list_events` / `list_properties`, you must first read the corresponding reference docs to avoid misuse of parameters or misreading return fields. Query metadata on the first build in this session for the same `project_id`; after that, prefer reusing session-verified metadata.
48
49
  - For the first execution, it is recommended to pass only the required parameters (`--project_id`, `--tag_name`, `--display_name`, `--definition`) and add optional parameters after confirming the path works.
49
50
  - Wrap JSON parameters in single quotes (e.g. `--definition '{}'`) to avoid shell escaping issues.
50
51
  - When troubleshooting across projects, first confirm whether `--project_id` matches the current permissions and target environment.
@@ -56,5 +57,5 @@ ae-cli analysis_audience +create_tag --dry-run
56
57
  - If the result after writing is not as expected, immediately re-read the corresponding list/get interfaces and compare before and after.
57
58
 
58
59
  ## Recommended Chain
59
- - +get_tag_definition_schema -> analysis_meta +list_events -> analysis_meta +list_properties -> +create_tag
60
+ - +get_tag_definition_schema -> (first build or refresh) analysis_meta +list_events -> analysis_meta +list_properties -> +create_tag
60
61
  - +list_tags -> +get_tags_by_name -> +update_tag
@@ -1,6 +1,6 @@
1
1
  # analysis_meta +create_virtual_event (Create Virtual Event)
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
 
@@ -16,22 +16,22 @@ Domain: **Metadata Query**
16
16
 
17
17
  ## MUST Prerequisites
18
18
  - Before constructing `--events` / `--filter`, you must first read and follow these reference documents:
19
- - [`../../te-analysis/references/get-filter-schema.md`](../../te-analysis/references/get-filter-schema.md)
20
- - [`./list-events.md`](./list-events.md)
21
- - [`./list-properties.md`](./list-properties.md)
19
+ - [`./get_filter_schema.md`](./get_filter_schema.md)
20
+ - [`./list_events.md`](./list_events.md)
21
+ - [`./list_properties.md`](./list_properties.md)
22
22
  - Do not generate the final `events` / `filter` until the document review and prerequisite command calls above are complete.
23
23
 
24
24
  ## Prerequisite Call Chain (Required for Constructing events/filter)
25
- 1. Read `get-filter-schema.md`, then call `ae-cli analysis +get_filter_schema` to get the filter structure.
26
- 2. Read `list-events.md`, then call `ae-cli analysis_meta +list_events --project_id 1` to get available events.
27
- 3. Read `list-properties.md`, then call `ae-cli analysis_meta +list_properties --project_id 1` to get properties available for filtering.
25
+ 1. Read `get_filter_schema.md`, then call `ae-cli analysis +get_filter_schema` to get the filter structure.
26
+ 2. Read `list_events.md`, then call `ae-cli analysis_meta +list_events --project_id <project_id>` to get available events.
27
+ 3. Read `list_properties.md`, then call `ae-cli analysis_meta +list_properties --project_id <project_id>` to get properties available for filtering.
28
28
  4. Build `events` / `filter` from the schema + metadata, then call `+create_virtual_event`.
29
29
  5. Example events JSON: `[{"eventName":"purchase"},{"eventName":"add_to_cart"}]`
30
30
 
31
31
  ## Commands
32
32
  ```bash
33
- ae-cli analysis_meta +create_virtual_event --project_id 1 --event_name ta@demo --event_desc demo --events '[{"eventName":"purchase"}]'
34
- ae-cli analysis_meta +create_virtual_event --project_id 1 --event_name ta@demo2 --event_desc demo --remark demo --events '[{"eventName":"add_to_cart"}]' --filter '{}' --override true
33
+ ae-cli analysis_meta +create_virtual_event --project_id <project_id> --event_name ta@demo --event_desc demo --events '[{"eventName":"purchase"}]'
34
+ ae-cli analysis_meta +create_virtual_event --project_id <project_id> --event_name ta@demo2 --event_desc demo --remark demo --events '[{"eventName":"add_to_cart"}]' --filter '{}' --override true
35
35
  ae-cli analysis_meta +create_virtual_event --dry-run
36
36
  ```
37
37
 
@@ -1,6 +1,6 @@
1
1
  # analysis_meta +create_virtual_property (Create Virtual Property)
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
 
@@ -18,22 +18,22 @@ Domain: **Metadata Query**
18
18
 
19
19
  ## Mandatory Prerequisites (MUST)
20
20
  - Before building `--sql_expression` / `--related_events`, you must first read and follow the reference docs below:
21
- - [`./list-properties.md`](./list-properties.md)
22
- - [`./list-events.md`](./list-events.md) (only when `sql_event_relation_type=relation_by_setting`)
21
+ - [`./list_properties.md`](./list_properties.md)
22
+ - [`./list_events.md`](./list_events.md) (only when `sql_event_relation_type=relation_by_setting`)
23
23
  - Do not submit the final SQL and event-association configuration until the above docs have been read and the prerequisite commands have been run.
24
24
 
25
25
  ## Prerequisite Call Chain (required for building SQL and relations)
26
- 1. Read `list-properties.md`, then run `ae-cli analysis_meta +list_properties --project_id 1` to get the available properties.
26
+ 1. Read `list_properties.md`, then run `ae-cli analysis_meta +list_properties --project_id <project_id>` to get the available properties.
27
27
  2. Use `--table_type` to determine the SQL field source (event or user scope).
28
28
  3. Write `--sql_expression` using only fields confirmed in the previous step; the expression must conform to Trino syntax.
29
- 4. If `--sql_event_relation_type=relation_by_setting`, read `list-events.md`, then run `ae-cli analysis_meta +list_events --project_id 1` to get the available events and build `--related_events`.
29
+ 4. If `--sql_event_relation_type=relation_by_setting`, read `list_events.md`, then run `ae-cli analysis_meta +list_events --project_id <project_id>` to get the available events and build `--related_events`.
30
30
  5. Call `+create_virtual_property` to create the virtual property.
31
31
  6. Example `sql_expression`: `property_a + property_b` or `CASE WHEN status = 1 THEN 'active' ELSE 'inactive' END`.
32
32
 
33
33
  ## Command
34
34
  ```bash
35
- ae-cli analysis_meta +create_virtual_property --project_id 1 --property_name '#vp@demo' --table_type event --select_type string --sql_expression 'event_name' --sql_event_relation_type relation_default
36
- ae-cli analysis_meta +create_virtual_property --project_id 1 --property_name '#vp@demo' --property_desc demo --table_type event --select_type string --sql_expression "CASE WHEN status = 1 THEN 'active' ELSE 'inactive' END" --sql_event_relation_type relation_by_setting --related_events '[{"eventName":"purchase"}]' --property_remark demo
35
+ ae-cli analysis_meta +create_virtual_property --project_id <project_id> --property_name '#vp@demo' --table_type event --select_type string --sql_expression 'event_name' --sql_event_relation_type relation_default
36
+ ae-cli analysis_meta +create_virtual_property --project_id <project_id> --property_name '#vp@demo' --property_desc demo --table_type event --select_type string --sql_expression "CASE WHEN status = 1 THEN 'active' ELSE 'inactive' END" --sql_event_relation_type relation_by_setting --related_events '[{"eventName":"purchase"}]' --property_remark demo
37
37
  ae-cli analysis_meta +create_virtual_property --dry-run
38
38
  ```
39
39
 
@@ -1,6 +1,6 @@
1
1
  # analysis_meta +delete_project_mark_times (Delete Project Mark Times)
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
 
@@ -9,7 +9,7 @@ Domain: **Project Configuration**
9
9
 
10
10
  ## Commands
11
11
  ```bash
12
- ae-cli analysis_meta +delete_project_mark_times --project_id 1 --mark_time_ids '[]'
12
+ ae-cli analysis_meta +delete_project_mark_times --project_id <project_id> --mark_time_ids '[]'
13
13
  ae-cli analysis_meta +delete_project_mark_times --dry-run
14
14
  ```
15
15
 
@@ -1,6 +1,6 @@
1
1
  # analysis_meta +delete_track_items (Delete Track Program Items)
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 +delete_track_items --project_id 1 --delete_data '{}'
13
+ ae-cli analysis_meta +delete_track_items --project_id <project_id> --delete_data '{}'
14
14
  ae-cli analysis_meta +delete_track_items --dry-run
15
15
  ```
16
16
 
@@ -1,6 +1,6 @@
1
1
  # analysis +drilldown_user_events (Single-User Event Sequence Drilldown)
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
 
@@ -16,22 +16,22 @@ Domain: **Model analysis**
16
16
 
17
17
  ## Mandatory prerequisites (MUST)
18
18
  - Before constructing `--user_id` / `--event_names` / `--target_dates`, you must first read and follow these reference documents:
19
- - [`./drilldown-users.md`](./drilldown-users.md)
20
- - [`../../te-meta/references/list-events.md`](../../te-meta/references/list-events.md)
21
- - [`../../te-meta/references/list-properties.md`](../../te-meta/references/list-properties.md) (only when passing `--properties`)
19
+ - [`./drilldown_users.md`](./drilldown_users.md)
20
+ - [`./list_events.md`](./list_events.md)
21
+ - [`./list_properties.md`](./list_properties.md) (only when passing `--properties`)
22
22
  - `user_id` must come from the `+drilldown_users` result; `event_names` / `target_dates` must come from the previous drilldown context or the actual result and must not be guessed.
23
23
  - Do not execute single-user event sequence drilldown until the upstream drilldown and result readback are complete.
24
24
 
25
25
  ## Prerequisite call chain (required for executing single-user event drilldown)
26
26
  1. First execute `+drilldown_users` and obtain the target user and drilldown context.
27
27
  2. Confirm the `user_id`, candidate events, and target discrete time points from the previous step result.
28
- 3. If additional property display is needed, first call `analysis_meta +list_properties --project_id 1` to verify property names.
28
+ 3. If additional property display is needed, first call `analysis_meta +list_properties --project_id <project_id>` to verify property names.
29
29
  4. Call `+drilldown_user_events` to query the event sequence.
30
30
 
31
31
  ## Command
32
32
  ```bash
33
- ae-cli analysis +drilldown_user_events --project_id 1 --user_id u_123 --event_names '["login"]' --target_dates '["2026-04-08 00:00:00"]'
34
- ae-cli analysis +drilldown_user_events --project_id 1 --user_id u_123 --event_names '["login"]' --target_dates '["2026-04-08 00:00:00"]' --zone_offset 8 --use_cache true --page_num 1 --page_size 100
33
+ ae-cli analysis +drilldown_user_events --project_id <project_id> --user_id u_123 --event_names '["login"]' --target_dates '["2026-04-08 00:00:00"]'
34
+ ae-cli analysis +drilldown_user_events --project_id <project_id> --user_id u_123 --event_names '["login"]' --target_dates '["2026-04-08 00:00:00"]' --zone_offset 8 --use_cache true --page_num 1 --page_size 20
35
35
  ae-cli analysis +drilldown_user_events --dry-run
36
36
  ```
37
37
 
@@ -55,7 +55,7 @@ ae-cli analysis +drilldown_user_events --dry-run
55
55
  | `--entity_value` | No | Optional entity value for multi-entity scenarios |
56
56
  | `--use_cache` | No | Whether to use cache. Default: true |
57
57
  | `--page_num` | No | Start page number, default 1 |
58
- | `--page_size` | No | Page size, default 100 |
58
+ | `--page_size` | No | Page size, default 20, max 50 |
59
59
  | `--timeout_minutes` | No | Query timeout in minutes |
60
60
 
61
61
  ## Decision Rules
@@ -1,6 +1,6 @@
1
1
  # analysis +drilldown_users (drill down analysis results to users)
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
 
@@ -15,9 +15,9 @@ Domain: **Model Analysis**
15
15
 
16
16
  ## Mandatory Prerequisites (MUST)
17
17
  - Before building `--qp` and the drilldown positioning parameters, you must first read and follow the following reference docs:
18
- - [`./query-adhoc.md`](./query-adhoc.md)
19
- - [`./query-report-data.md`](./query-report-data.md)
20
- - [`./query-dashboard-report-data.md`](./query-dashboard-report-data.md)
18
+ - [`./query_adhoc.md`](./query_adhoc.md)
19
+ - [`./query_report_data.md`](./query_report_data.md)
20
+ - [`./query_dashboard_report_data.md`](./query_dashboard_report_data.md)
21
21
  - `qp`, `drilldown_date`, `drilldown_groups`, `event_index`, `retention_days`, `funnel_step`, and other parameters must come from real analysis results and must not be guessed.
22
22
  - Do not execute user drilldown until the upstream query and result reread have been completed.
23
23
 
@@ -29,8 +29,8 @@ Domain: **Model Analysis**
29
29
 
30
30
  ## Commands
31
31
  ```bash
32
- ae-cli analysis +drilldown_users --project_id 1 --model_type event --qp '{}'
33
- ae-cli analysis +drilldown_users --project_id 1 --model_type retention --qp '{}' --drilldown_date 2026-04-08 --drilldown_groups '[]' --event_index 8 --is_lost true --retention_days 8 --is_churned_user true --funnel_step 8 --interval demo --distribution_bucket 8 --compare_index 8 --include_total true --relation_val demo
32
+ ae-cli analysis +drilldown_users --project_id <project_id> --model_type event --qp '{}'
33
+ ae-cli analysis +drilldown_users --project_id <project_id> --model_type retention --qp '{}' --drilldown_date 2026-04-08 --drilldown_groups '[]' --event_index 8 --is_lost true --retention_days 8 --is_churned_user true --funnel_step 8 --interval demo --distribution_bucket 8 --compare_index 8 --include_total true --relation_val demo --limit 10 --offset 0
34
34
  ae-cli analysis +drilldown_users --dry-run
35
35
  ```
36
36
 
@@ -49,17 +49,20 @@ ae-cli analysis +drilldown_users --dry-run
49
49
  | `--retention_days` | No | Retention interval in days from the analysis result, for example 7 for day-7 retention. If model_type is 'retention', the retention_days must not be null. |
50
50
  | `--is_churned_user` | No | For funnel analysis, true queries churned users for the step and false queries converted users. Default: false |
51
51
  | `--funnel_step` | No | Funnel step number from the analysis result starting from 1. If model_type is 'funnel', the funnel_step must not be null. |
52
- | `--interval` | No | Interval |
52
+ | `--interval` | No | Interval used for interval analysis |
53
53
  | `--distribution_bucket` | No | Distribution bucket index from the analysis result |
54
54
  | `--compare_index` | No | Comparison index used in comparison analysis scenarios |
55
55
  | `--include_total` | No | Whether to query users from the total row. Default: false |
56
56
  | `--relation_val` | No | Relation value used in relation analysis scenarios |
57
57
  | `--use_cache` | No | Whether to use cache. Default: true |
58
+ | `--limit` | No | Optional limit. Default: 20, maximum: 50. |
59
+ | `--offset` | No | Optional offset. Default: 0. |
58
60
  | `--timeout_minutes` | No | Query timeout in minutes. If the query exceeds this time, it will be cancelled automatically. |
59
61
 
60
62
  ## Decision Rules
61
63
  - Drilldown positioning parameters must come from upstream analysis results and must not be fabricated.
62
64
  - `qp` must not be rewritten or "simplified"; it should remain consistent with the source analysis.
65
+ - For pagination, use `--limit` and `--offset` together. Default limit is 20.
63
66
  - For the first run, it is recommended to pass only the required parameters (`--project_id`, `--model_type`, `--qp`) and add optional parameters after confirming the chain works.
64
67
  - Wrap JSON parameters in single quotes (for example `--qp '{}'`, `--drilldown_groups '{}'`) to avoid shell escaping issues.
65
68
  - When dates/time ranges are involved, validate with a short range first and then expand gradually.