@thinkingai/ae-cli 1.0.1 → 1.0.15

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 (259) hide show
  1. package/README.md +38 -64
  2. package/README.zh.md +203 -0
  3. package/dist/{auth-JXELJNDS.js → auth-4GAHTBVH.js} +2 -2
  4. package/dist/{auth-L3G3A74I.js → auth-U2GHFMFY.js} +20 -6
  5. package/dist/{chunk-OVQOK35G.js → chunk-EBFUVWIZ.js} +25 -6
  6. package/dist/{chunk-3GM5LJZR.js → chunk-OQ4XEG77.js} +7 -4
  7. package/dist/{chunk-JD5DXMKL.js → chunk-TJIMDNAU.js} +10 -8
  8. package/dist/{chunk-RJNLN3KQ.js → chunk-UK6HO5O5.js} +7 -6
  9. package/dist/{client-5QSQBBDB.js → client-HU63573O.js} +3 -3
  10. package/dist/{config-Q7J3Z7Z2.js → config-OLF7RBPM.js} +5 -5
  11. package/dist/index.js +18 -17
  12. package/dist/{raw-ZNVURYMR.js → raw-GDO4IWNW.js} +8 -6
  13. package/dist/{te-analysis-7NN3SY3I.js → te-analysis-ZDJXMWZY.js} +64 -26
  14. package/dist/{te-audience-P43BWMHM.js → te-audience-T5B52EEB.js} +65 -25
  15. package/dist/{te-common-H3IPTI2I.js → te-common-BPTXXTHQ.js} +11 -38
  16. package/dist/{community-GMALVSRF.js → te-community-FPB5LH56.js} +59 -59
  17. package/dist/{te-dataops-WCGDBJLF.js → te-dataops-2NUJVG47.js} +3 -28
  18. package/dist/{te-engage-UTRVNTGU.js → te-engage-K3EANZ5P.js} +502 -520
  19. package/dist/{te-meta-HGYNXVGF.js → te-meta-JJMV75KB.js} +88 -20
  20. package/package.json +9 -7
  21. package/skills/ae-analysis/SKILL.md +229 -0
  22. package/skills/{te-meta/references/batch-create-metadata.md → ae-analysis/references/batch_create_metadata.md} +5 -5
  23. package/skills/{te-meta/references/batch-edit-metadata.md → ae-analysis/references/batch_edit_metadata.md} +4 -4
  24. package/skills/{te-analysis/references/build-entity-details-sql.md → ae-analysis/references/build_entity_details_sql.md} +14 -14
  25. package/skills/{te-analysis/references/build-event-details-sql.md → ae-analysis/references/build_event_details_sql.md} +14 -14
  26. package/skills/{te-analysis/references/create-alert.md → ae-analysis/references/create_alert.md} +7 -7
  27. package/skills/{te-audience/references/create-cluster.md → ae-analysis/references/create_cluster.md} +26 -22
  28. package/skills/{te-analysis/references/create-dashboard.md → ae-analysis/references/create_dashboard.md} +5 -5
  29. package/skills/{te-meta/references/create-metric.md → ae-analysis/references/create_metric.md} +16 -16
  30. package/skills/{te-analysis/references/create-or-update-dashboard-note.md → ae-analysis/references/create_or_update_dashboard_note.md} +5 -5
  31. package/skills/{te-meta/references/create-project-mark-time.md → ae-analysis/references/create_project_mark_time.md} +5 -5
  32. package/skills/{te-analysis/references/create-public-access-link.md → ae-analysis/references/create_public_access_link.md} +5 -5
  33. package/skills/{te-analysis/references/create-report.md → ae-analysis/references/create_report.md} +14 -14
  34. package/skills/{te-analysis/references/create-result-cluster.md → ae-analysis/references/create_result_cluster.md} +8 -8
  35. package/skills/{te-audience/references/create-tag.md → ae-analysis/references/create_tag.md} +18 -17
  36. package/skills/{te-meta/references/create-virtual-event.md → ae-analysis/references/create_virtual_event.md} +14 -14
  37. package/skills/{te-meta/references/create-virtual-property.md → ae-analysis/references/create_virtual_property.md} +11 -11
  38. package/skills/{te-meta/references/delete-project-mark-times.md → ae-analysis/references/delete_project_mark_times.md} +4 -4
  39. package/skills/{te-meta/references/delete-track-items.md → ae-analysis/references/delete_track_items.md} +4 -4
  40. package/skills/{te-analysis/references/drilldown-user-events.md → ae-analysis/references/drilldown_user_events.md} +11 -11
  41. package/skills/{te-analysis/references/drilldown-users.md → ae-analysis/references/drilldown_users.md} +12 -9
  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} +4 -4
  45. package/skills/{te-analysis/references/get-alert-definition-schema.md → ae-analysis/references/get_alert_definition_schema.md} +4 -4
  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} +4 -4
  50. package/skills/{te-analysis/references/get-groupby-schema.md → ae-analysis/references/get_groupby_schema.md} +4 -4
  51. package/skills/{te-meta/references/get-metric.md → ae-analysis/references/get_metric.md} +4 -4
  52. package/skills/{te-meta/references/get-project-config.md → ae-analysis/references/get_project_config.md} +4 -4
  53. package/skills/{te-analysis/references/get-report-definition.md → ae-analysis/references/get_report_definition.md} +4 -4
  54. package/skills/{te-common/references/get-resource-url.md → ae-analysis/references/get_resource_url.md} +7 -7
  55. package/skills/{te-analysis/references/get-table-columns.md → ae-analysis/references/get_table_columns.md} +4 -4
  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} +4 -4
  59. package/skills/{te-analysis/references/list-alerts.md → ae-analysis/references/list_alerts.md} +8 -5
  60. package/skills/{te-audience/references/list-cluster-members.md → ae-analysis/references/list_cluster_members.md} +13 -6
  61. package/skills/{te-audience/references/list-clusters.md → ae-analysis/references/list_clusters.md} +12 -6
  62. package/skills/{te-analysis/references/list-dashboards.md → ae-analysis/references/list_dashboards.md} +10 -6
  63. package/skills/{te-meta/references/list-entities.md → ae-analysis/references/list_entities.md} +12 -5
  64. package/skills/{te-meta/references/list-events.md → ae-analysis/references/list_events.md} +10 -7
  65. package/skills/ae-analysis/references/list_metrics.md +41 -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} +4 -4
  68. package/skills/{te-common/references/list-projects.md → ae-analysis/references/list_projects.md} +9 -7
  69. package/skills/{te-meta/references/list-properties.md → ae-analysis/references/list_properties.md} +11 -6
  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} +10 -6
  72. package/skills/{te-audience/references/list-tag-members.md → ae-analysis/references/list_tag_members.md} +13 -6
  73. package/skills/{te-audience/references/list-tags.md → ae-analysis/references/list_tags.md} +12 -6
  74. package/skills/{te-analysis/references/load-filters.md → ae-analysis/references/load_filters.md} +5 -5
  75. package/skills/{te-analysis/references/query-adhoc.md → ae-analysis/references/query_adhoc.md} +19 -14
  76. package/skills/{te-analysis/references/query-dashboard-detail.md → ae-analysis/references/query_dashboard_detail.md} +4 -4
  77. package/skills/{te-analysis/references/query-dashboard-report-data.md → ae-analysis/references/query_dashboard_report_data.md} +13 -13
  78. package/skills/{te-analysis/references/query-entity-details.md → ae-analysis/references/query_entity_details.md} +15 -15
  79. package/skills/{te-analysis/references/query-event-details.md → ae-analysis/references/query_event_details.md} +17 -17
  80. package/skills/{te-analysis/references/query-report-data.md → ae-analysis/references/query_report_data.md} +16 -16
  81. package/skills/{te-audience/references/refresh-cluster.md → ae-analysis/references/refresh_cluster.md} +4 -4
  82. package/skills/{te-audience/references/refresh-tag.md → ae-analysis/references/refresh_tag.md} +4 -4
  83. package/skills/{te-meta/references/save-track-items.md → ae-analysis/references/save_track_items.md} +4 -4
  84. package/skills/{te-analysis/references/update-alert.md → ae-analysis/references/update_alert.md} +7 -7
  85. package/skills/{te-audience/references/update-cluster.md → ae-analysis/references/update_cluster.md} +17 -15
  86. package/skills/{te-analysis/references/update-dashboard.md → ae-analysis/references/update_dashboard.md} +5 -5
  87. package/skills/{te-meta/references/update-metric.md → ae-analysis/references/update_metric.md} +14 -14
  88. package/skills/{te-meta/references/update-project-mark-time.md → ae-analysis/references/update_project_mark_time.md} +5 -5
  89. package/skills/{te-analysis/references/update-public-access-link.md → ae-analysis/references/update_public_access_link.md} +5 -5
  90. package/skills/{te-audience/references/update-tag.md → ae-analysis/references/update_tag.md} +17 -16
  91. package/skills/ae-community/SKILL.md +305 -0
  92. package/skills/ae-community/references/community-activity-analysis.md +67 -0
  93. package/skills/ae-community/references/community-analyzing-official-content.md +71 -0
  94. package/skills/ae-community/references/community-analyzing-theme-comment.md +123 -0
  95. package/skills/ae-community/references/community-character-analysis.md +70 -0
  96. package/skills/ae-community/references/community-daily-report.md +84 -0
  97. package/skills/ae-community/references/community-hottopic-insight.md +113 -0
  98. package/skills/ae-community/references/community-weekly-report.md +84 -0
  99. package/skills/ae-community/references/get_channel_info.md +20 -0
  100. package/skills/ae-community/references/get_comment_tag_analysis.md +29 -0
  101. package/skills/ae-community/references/get_comments_summary.md +32 -0
  102. package/skills/ae-community/references/get_corpus_tags.md +20 -0
  103. package/skills/ae-community/references/get_daily_summary.md +22 -0
  104. package/skills/ae-community/references/get_hot_topics.md +25 -0
  105. package/skills/ae-community/references/get_livestream_analysis.md +22 -0
  106. package/skills/ae-community/references/get_livestream_detail.md +33 -0
  107. package/skills/ae-community/references/get_livestream_list.md +25 -0
  108. package/skills/ae-community/references/get_livestream_overview.md +24 -0
  109. package/skills/ae-community/references/get_livestream_room_metrics.md +25 -0
  110. package/skills/ae-community/references/get_livestream_rooms.md +25 -0
  111. package/skills/ae-community/references/get_overview_metrics.md +25 -0
  112. package/skills/ae-community/references/get_post_detail.md +37 -0
  113. package/skills/ae-community/references/get_risk_content.md +42 -0
  114. package/skills/ae-community/references/get_sentiment_overview.md +33 -0
  115. package/skills/ae-community/references/get_tag_trends.md +27 -0
  116. package/skills/ae-community/references/get_topic_detail.md +26 -0
  117. package/skills/ae-community/references/search_posts.md +47 -0
  118. package/skills/ae-dataops/SKILL.md +706 -0
  119. package/skills/ae-dataops/references/dataops-flow-create.md +163 -0
  120. package/skills/ae-dataops/references/dataops-flow-monitor.md +118 -0
  121. package/skills/ae-dataops/references/dataops-integration.md +251 -0
  122. package/skills/ae-dataops/references/dataops-query.md +111 -0
  123. package/skills/ae-dataops/references/dataops-table.md +122 -0
  124. package/skills/ae-engage/SKILL.md +311 -0
  125. package/skills/ae-engage/references/add-approver.md +24 -0
  126. package/skills/ae-engage/references/add-channel.md +74 -0
  127. package/skills/ae-engage/references/approver-list.md +19 -0
  128. package/skills/ae-engage/references/cancel-query-by-request-id.md +23 -0
  129. package/skills/ae-engage/references/channel-detail.md +52 -0
  130. package/skills/ae-engage/references/channel-list.md +41 -0
  131. package/skills/ae-engage/references/config-channel-detail.md +32 -0
  132. package/skills/ae-engage/references/config-channel-list.md +27 -0
  133. package/skills/ae-engage/references/config-item-analysis-report.md +34 -0
  134. package/skills/ae-engage/references/config-item-detail.md +30 -0
  135. package/skills/ae-engage/references/config-item-list.md +19 -0
  136. package/skills/ae-engage/references/config-item-strategy-comparison.md +25 -0
  137. package/skills/ae-engage/references/config-item-trigger-report.md +42 -0
  138. package/skills/ae-engage/references/copy-config-template.md +29 -0
  139. package/skills/ae-engage/references/delete-channel.md +24 -0
  140. package/skills/ae-engage/references/delete-config-channel.md +24 -0
  141. package/skills/ae-engage/references/delete-config-item.md +25 -0
  142. package/skills/ae-engage/references/delete-flow.md +24 -0
  143. package/skills/ae-engage/references/flow-ab-split-node-report.md +54 -0
  144. package/skills/ae-engage/references/flow-detail.md +79 -0
  145. package/skills/ae-engage/references/flow-list.md +19 -0
  146. package/skills/ae-engage/references/flow-node-config-schema.md +44 -0
  147. package/skills/ae-engage/references/flow-node-detail-report.md +55 -0
  148. package/skills/ae-engage/references/flow-node-overview-report.md +52 -0
  149. package/skills/ae-engage/references/flow-process-report.md +59 -0
  150. package/skills/ae-engage/references/manage-flow.md +94 -0
  151. package/skills/ae-engage/references/manage-strategy.md +74 -0
  152. package/skills/ae-engage/references/manage-task.md +37 -0
  153. package/skills/ae-engage/references/modify-flow-base-info.md +27 -0
  154. package/skills/ae-engage/references/save-flow.md +871 -0
  155. package/skills/ae-engage/references/strategy-detail.md +73 -0
  156. package/skills/ae-engage/references/strategy-list.md +21 -0
  157. package/skills/ae-engage/references/task-data-detail.md +74 -0
  158. package/skills/ae-engage/references/task-data-overview.md +42 -0
  159. package/skills/ae-engage/references/task-detail.md +61 -0
  160. package/skills/ae-engage/references/task-experiment-report.md +45 -0
  161. package/skills/ae-engage/references/task-list.md +91 -0
  162. package/skills/ae-engage/references/task-metric-detail.md +50 -0
  163. package/skills/ae-engage/references/task-stats.md +89 -0
  164. package/skills/ae-engage/references/update-channel-status.md +32 -0
  165. package/skills/ae-engage/references/update-config-channel-status.md +32 -0
  166. package/skills/ae-engage/references/validate-flow-node-config.md +52 -0
  167. package/skills/ae-engage/references/whitelist-list.md +19 -0
  168. package/skills/te-analysis/SKILL.md +0 -107
  169. package/skills/te-analysis/references/get-analysis-query-schema.md +0 -36
  170. package/skills/te-analysis/references/list-public-access-links.md +0 -31
  171. package/skills/te-audience/SKILL.md +0 -63
  172. package/skills/te-audience/references/get-cluster-definition-schema.md +0 -37
  173. package/skills/te-audience/references/get-clusters-by-name.md +0 -32
  174. package/skills/te-audience/references/get-tag-definition-schema.md +0 -32
  175. package/skills/te-audience/references/get-tags-by-name.md +0 -32
  176. package/skills/te-common/SKILL.md +0 -135
  177. package/skills/te-community/SKILL.md +0 -133
  178. package/skills/te-community/references/community-activity-analysis.md +0 -68
  179. package/skills/te-community/references/community-analyzing-official-content.md +0 -72
  180. package/skills/te-community/references/community-analyzing-theme-comment.md +0 -124
  181. package/skills/te-community/references/community-character-analysis.md +0 -71
  182. package/skills/te-community/references/community-daily-report.md +0 -82
  183. package/skills/te-community/references/community-hottopic-insight.md +0 -120
  184. package/skills/te-community/references/community-release-analysis.md +0 -79
  185. package/skills/te-community/references/community-weekly-report.md +0 -84
  186. package/skills/te-community/references/get_channel_info.md +0 -21
  187. package/skills/te-community/references/get_comment_tag_analysis.md +0 -30
  188. package/skills/te-community/references/get_comments_summary.md +0 -33
  189. package/skills/te-community/references/get_corpus_tags.md +0 -21
  190. package/skills/te-community/references/get_daily_summary.md +0 -23
  191. package/skills/te-community/references/get_hot_topics.md +0 -26
  192. package/skills/te-community/references/get_livestream_analysis.md +0 -23
  193. package/skills/te-community/references/get_livestream_detail.md +0 -34
  194. package/skills/te-community/references/get_livestream_list.md +0 -26
  195. package/skills/te-community/references/get_livestream_overview.md +0 -25
  196. package/skills/te-community/references/get_livestream_room_metrics.md +0 -26
  197. package/skills/te-community/references/get_livestream_rooms.md +0 -26
  198. package/skills/te-community/references/get_overview_metrics.md +0 -26
  199. package/skills/te-community/references/get_post_detail.md +0 -38
  200. package/skills/te-community/references/get_risk_content.md +0 -43
  201. package/skills/te-community/references/get_sentiment_overview.md +0 -34
  202. package/skills/te-community/references/get_tag_trends.md +0 -28
  203. package/skills/te-community/references/get_topic_detail.md +0 -27
  204. package/skills/te-community/references/search_posts.md +0 -48
  205. package/skills/te-dataops/SKILL.md +0 -645
  206. package/skills/te-dataops/references/dataops-flow-create.md +0 -163
  207. package/skills/te-dataops/references/dataops-flow-monitor.md +0 -118
  208. package/skills/te-dataops/references/dataops-integration.md +0 -246
  209. package/skills/te-dataops/references/dataops-operations.md +0 -107
  210. package/skills/te-dataops/references/dataops-query.md +0 -111
  211. package/skills/te-dataops/references/dataops-table.md +0 -122
  212. package/skills/te-engage/SKILL.md +0 -211
  213. package/skills/te-engage/references/add-approver.md +0 -24
  214. package/skills/te-engage/references/add-channel.md +0 -74
  215. package/skills/te-engage/references/approver-list.md +0 -19
  216. package/skills/te-engage/references/cancel-query-by-request-id.md +0 -23
  217. package/skills/te-engage/references/channel-detail.md +0 -52
  218. package/skills/te-engage/references/channel-list.md +0 -41
  219. package/skills/te-engage/references/config-channel-detail.md +0 -32
  220. package/skills/te-engage/references/config-channel-list.md +0 -27
  221. package/skills/te-engage/references/config-item-analysis-report.md +0 -34
  222. package/skills/te-engage/references/config-item-detail.md +0 -30
  223. package/skills/te-engage/references/config-item-list.md +0 -19
  224. package/skills/te-engage/references/config-item-strategy-comparison.md +0 -25
  225. package/skills/te-engage/references/config-item-trigger-report.md +0 -42
  226. package/skills/te-engage/references/copy-config-template.md +0 -29
  227. package/skills/te-engage/references/delete-channel.md +0 -24
  228. package/skills/te-engage/references/delete-config-channel.md +0 -24
  229. package/skills/te-engage/references/delete-config-item.md +0 -25
  230. package/skills/te-engage/references/delete-flow.md +0 -24
  231. package/skills/te-engage/references/flow-ab-split-node-report.md +0 -54
  232. package/skills/te-engage/references/flow-detail.md +0 -79
  233. package/skills/te-engage/references/flow-list.md +0 -19
  234. package/skills/te-engage/references/flow-node-config-schema.md +0 -44
  235. package/skills/te-engage/references/flow-node-detail-report.md +0 -55
  236. package/skills/te-engage/references/flow-node-overview-report.md +0 -52
  237. package/skills/te-engage/references/flow-process-report.md +0 -59
  238. package/skills/te-engage/references/manage-flow.md +0 -94
  239. package/skills/te-engage/references/manage-strategy.md +0 -74
  240. package/skills/te-engage/references/manage-task.md +0 -37
  241. package/skills/te-engage/references/modify-flow-base-info.md +0 -27
  242. package/skills/te-engage/references/save-flow.md +0 -870
  243. package/skills/te-engage/references/strategy-detail.md +0 -73
  244. package/skills/te-engage/references/strategy-list.md +0 -21
  245. package/skills/te-engage/references/task-data-detail.md +0 -81
  246. package/skills/te-engage/references/task-data-overview.md +0 -48
  247. package/skills/te-engage/references/task-detail.md +0 -61
  248. package/skills/te-engage/references/task-experiment-report.md +0 -51
  249. package/skills/te-engage/references/task-list.md +0 -91
  250. package/skills/te-engage/references/task-metric-detail.md +0 -56
  251. package/skills/te-engage/references/task-stats.md +0 -89
  252. package/skills/te-engage/references/update-channel-status.md +0 -32
  253. package/skills/te-engage/references/update-config-channel-status.md +0 -32
  254. package/skills/te-engage/references/validate-flow-node-config.md +0 -52
  255. package/skills/te-engage/references/whitelist-list.md +0 -19
  256. package/skills/te-meta/SKILL.md +0 -71
  257. package/skills/te-meta/references/list-metrics.md +0 -33
  258. package/skills/te-meta/references/list-project-mark-times.md +0 -33
  259. package/skills/te-shared/SKILL.md +0 -115
@@ -1,6 +1,6 @@
1
- # te_analysis +create_alert (Create Alert)
1
+ # analysis +create_alert (Create Alert)
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 queries**
6
6
 
@@ -11,18 +11,18 @@ Domain: **Metadata queries**
11
11
 
12
12
  ## Mandatory prerequisites (MUST)
13
13
  - Before constructing `--definition`, you must first read and follow:
14
- - [`./get-alert-definition-schema.md`](./get-alert-definition-schema.md)
14
+ - [`./get_alert_definition_schema.md`](./get_alert_definition_schema.md)
15
15
  - Do not generate the final `definition` until the documentation review and schema call are complete.
16
16
 
17
17
  ## Prerequisite call chain (required for constructing definition)
18
- 1. Read `get-alert-definition-schema.md` to understand the return structure of `+get_alert_definition_schema`.
19
- 2. Call `ae-cli te_analysis +get_alert_definition_schema` to get the schema.
18
+ 1. Read `get_alert_definition_schema.md` to understand the return structure of `+get_alert_definition_schema`.
19
+ 2. Call `ae-cli analysis +get_alert_definition_schema` to get the schema.
20
20
  3. Build `definition` from the schema, then call `+create_alert`.
21
21
 
22
22
  ## Command
23
23
  ```bash
24
- ae-cli te_analysis +create_alert --project_id 1 --definition '{}'
25
- ae-cli te_analysis +create_alert --dry-run
24
+ ae-cli analysis +create_alert --project_id <project_id> --definition '{}'
25
+ ae-cli analysis +create_alert --dry-run
26
26
  ```
27
27
 
28
28
  ## Parameters
@@ -1,38 +1,41 @@
1
- # te_audience +create_cluster (Create Cluster)
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 `te_meta +list_events` and `te_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):
22
- `te-cli te_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
- `te-cli te_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
- `te-cli te_meta +list_properties --project_id 1`
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
+ `ae-cli analysis_audience +get_cluster_definition_schema --cluster_type condition`
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
- te-cli te_audience +create_cluster --project_id 1 --cluster_name demo --display_name demo --definition '{}'
34
- te-cli te_audience +create_cluster --project_id 1 --cluster_name demo --display_name demo --type condition --definition '{}' --zone_offset 8 --entity_id 1001
35
- te-cli te_audience +create_cluster --dry-run
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
38
+ ae-cli analysis_audience +create_cluster --dry-run
36
39
  ```
37
40
 
38
41
  ## Parameters
@@ -42,14 +45,15 @@ te-cli te_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 `te_meta +list_events` / `te_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 @@ te-cli te_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 -> te_meta +list_events -> te_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
- # te_analysis +create_dashboard (create dashboard)
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 te_analysis +create_dashboard --project_id 1 --dashboard_name demo
16
- ae-cli te_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 te_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,35 +1,35 @@
1
- # te_meta +create_metric (Create Metric)
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
 
7
7
  ## Use Cases
8
8
  - Preliminary step: call `+get_analysis_query_schema` to get the structure, then call this tool.
9
- - When constructing real `events` / `params`, you must supplement project-native metadata; first call `te_meta +list_events` and `te_meta +list_properties`.
9
+ - When constructing real `events` / `params`, you must supplement project-native metadata; first call `analysis_meta +list_events` and `analysis_meta +list_properties`.
10
10
  - Create a metric from analysis configuration.
11
11
  - Creates a new metric based on event or retention analysis.
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 `te-cli te_analysis +get_analysis_query_schema --model_type <event|retention>` to get the structure.
23
- 3. Read `list-events.md`, then call `te-cli te_meta +list_events --project_id 1` to get available events.
24
- 4. Read `list-properties.md`, then call `te-cli te_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 `te_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
- te-cli te_meta +create_metric --project_id 1 --name demo --display_name demo --model_type event --events '[]' --params '{}'
31
- te-cli te_meta +create_metric --project_id 1 --name demo --display_name demo --remark demo --model_type event --events '[]' --params '{}'
32
- te-cli te_meta +create_metric --dry-run
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
+ ae-cli analysis_meta +create_metric --dry-run
33
33
  ```
34
34
 
35
35
  ## Parameters
@@ -40,8 +40,8 @@ te-cli te_meta +create_metric --dry-run
40
40
  | `--display_name` | Yes | Metric display name |
41
41
  | `--remark` | No | Optional metric remark |
42
42
  | `--model_type` | Yes | Metric model type. Supported values: event and retention |
43
- | `--events` | Yes | Metric events JSON. MUST call `+get_analysis_query_schema` first, then fill event/property fields using metadata from `te_meta +list_events` / `te_meta +list_properties` in the same `project_id`. |
44
- | `--params` | Yes | Metric params JSON. MUST follow the schema from `+get_analysis_query_schema`; use project metadata from `te_meta +list_events` / `te_meta +list_properties` when filling referenced fields. |
43
+ | `--events` | Yes | Metric events JSON. MUST call `+get_analysis_query_schema` first, then fill event/property fields using metadata from `analysis_meta +list_events` / `analysis_meta +list_properties` in the same `project_id`. |
44
+ | `--params` | Yes | Metric params JSON. MUST follow the schema from `+get_analysis_query_schema`; use project metadata from `analysis_meta +list_events` / `analysis_meta +list_properties` when filling referenced fields. |
45
45
 
46
46
  ## Decision Rules
47
47
  - `events` / `params` must not be handwritten by intuition alone: they must satisfy both the schema structure and the project's real metadata constraints.
@@ -58,5 +58,5 @@ te-cli te_meta +create_metric --dry-run
58
58
  - If the result after writing does not match expectations, immediately reread the corresponding list/get interfaces for before-and-after comparison.
59
59
 
60
60
  ## Recommended Chaining
61
- - +get_analysis_query_schema -> te_meta +list_events -> te_meta +list_properties -> +create_metric
61
+ - +get_analysis_query_schema -> analysis_meta +list_events -> analysis_meta +list_properties -> +create_metric
62
62
  - +list_metrics -> +create_metric -> +get_metric
@@ -1,6 +1,6 @@
1
- # te_analysis +create_or_update_dashboard_note (Maintain Dashboard Note)
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,9 +10,9 @@ Domain: **Dashboard management**
10
10
 
11
11
  ## Command
12
12
  ```bash
13
- te-cli te_analysis +create_or_update_dashboard_note --project_id 1 --dashboard_id 1 --note_title demo
14
- te-cli te_analysis +create_or_update_dashboard_note --project_id 1 --dashboard_id 1 --note_id 1 --note_title demo --description demo --ui_config '{}'
15
- te-cli te_analysis +create_or_update_dashboard_note --dry-run
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
+ ae-cli analysis +create_or_update_dashboard_note --dry-run
16
16
  ```
17
17
 
18
18
  ## Parameters
@@ -1,6 +1,6 @@
1
- # te_meta +create_project_mark_time (Create Project Date Marker)
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,9 +10,9 @@ Domain: **Project Configuration**
10
10
 
11
11
  ## Command
12
12
  ```bash
13
- te-cli te_meta +create_project_mark_time --project_id 1 --marked_at '2026-04-09 10:00' --content demo
14
- te-cli te_meta +create_project_mark_time --project_id 1 --marked_at '2026-04-09 10:00' --zone_offset 8 --content demo --is_visible 1
15
- te-cli te_meta +create_project_mark_time --dry-run
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
+ ae-cli analysis_meta +create_project_mark_time --dry-run
16
16
  ```
17
17
 
18
18
  ## Parameters
@@ -1,6 +1,6 @@
1
- # te_analysis +create_public_access_link (create public access link)
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,9 +11,9 @@ Domain: **Dashboard Management**
11
11
 
12
12
  ## Commands
13
13
  ```bash
14
- te-cli te_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
- te-cli te_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"
16
- te-cli te_analysis +create_public_access_link --dry-run
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
+ ae-cli analysis +create_public_access_link --dry-run
17
17
  ```
18
18
 
19
19
  ## Parameters
@@ -1,33 +1,33 @@
1
- # te_analysis +create_report (Create Report)
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
 
7
7
  ## Use Cases
8
8
  - Precondition helper: call `+get_analysis_query_schema` to get the structure before using this tool.
9
- - When constructing a real `analysis_query`, you must supplement it with real project metadata; first call `te_meta +list_events` and `te_meta +list_properties`.
9
+ - When constructing a real `analysis_query`, you must supplement it with real project metadata; first call `analysis_meta +list_events` and `analysis_meta +list_properties`.
10
10
  - Create and persist a new report definition. Returns the new report ID and name without querying data or modifying existing reports.
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 `te-cli te_analysis +get_analysis_query_schema --model_type <model_type>` to get the structure.
22
- 3. Read `list-events.md`, then call `te-cli te_meta +list_events --project_id 1`.
23
- 4. Read `list-properties.md`, then call `te-cli te_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
- te-cli te_analysis +create_report --project_id 1 --report_name demo --model_type event --analysis_query '{}'
29
- te-cli te_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 '[]'
30
- te-cli te_analysis +create_report --dry-run
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
+ ae-cli analysis +create_report --dry-run
31
31
  ```
32
32
 
33
33
  ## Parameters
@@ -36,7 +36,7 @@ te-cli te_analysis +create_report --dry-run
36
36
  | `--project_id` / `-p` | Yes | Project ID |
37
37
  | `--report_name` | Yes | Report name. Length: 1-80 characters |
38
38
  | `--model_type` | Yes | Report model type. Supported values: event, retention, funnel, prop_analysis, path, distribution, sql, interval, attribution |
39
- | `--analysis_query` | Yes | Report analysis query JSON. MUST call `+get_analysis_query_schema` first, and use event/property metadata from `te_meta +list_events` / `te_meta +list_properties` in the same `project_id`. |
39
+ | `--analysis_query` | Yes | Report analysis query JSON. MUST call `+get_analysis_query_schema` first, and use event/property metadata from `analysis_meta +list_events` / `analysis_meta +list_properties` in the same `project_id`. |
40
40
  | `--description` | No | Optional report description |
41
41
  | `--cache_seconds` | No | Optional cache duration in seconds |
42
42
  | `--query_duration_ms` | No | Optional query duration in milliseconds |
@@ -56,5 +56,5 @@ te-cli te_analysis +create_report --dry-run
56
56
  - If the result after writing does not match expectations, immediately read back the corresponding list/get interface to compare before and after.
57
57
 
58
58
  ## Recommended chaining
59
- - +get_analysis_query_schema -> te_meta +list_events -> te_meta +list_properties -> +create_report
59
+ - +get_analysis_query_schema -> analysis_meta +list_events -> analysis_meta +list_properties -> +create_report
60
60
  - +list_reports -> +get_report_definition -> +query_report_data
@@ -1,6 +1,6 @@
1
- # te_analysis +create_result_cluster (create result cluster)
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,9 +27,9 @@ Domain: **Model Analysis**
27
27
 
28
28
  ## Commands
29
29
  ```bash
30
- te-cli te_analysis +create_result_cluster --project_id 1 --cluster_name demo --model_type event --qp '{}'
31
- te-cli te_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
32
- te-cli te_analysis +create_result_cluster --dry-run
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
+ ae-cli analysis +create_result_cluster --dry-run
33
33
  ```
34
34
 
35
35
  ## Parameters
@@ -1,34 +1,34 @@
1
- # te_audience +create_tag (Create Tag)
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 `te_meta +list_events` and `te_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 `te-cli te_audience +get_tag_definition_schema` to obtain the schema.
23
- 4. Read `list-events.md`, then call `te-cli te_meta +list_events --project_id 1` to get available events.
24
- 5. Read `list-properties.md`, then call `te-cli te_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
- te-cli te_audience +create_tag --project_id 1 --tag_name demo --display_name demo --definition '{}'
30
- te-cli te_audience +create_tag --project_id 1 --tag_name demo --display_name demo --type condition --definition '{}' --zone_offset 8 --entity_id 1001
31
- te-cli te_audience +create_tag --dry-run
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
+ ae-cli analysis_audience +create_tag --dry-run
32
32
  ```
33
33
 
34
34
  ## Parameters
@@ -38,13 +38,14 @@ te-cli te_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 `te_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 @@ te-cli te_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 -> te_meta +list_events -> te_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
- # te_meta +create_virtual_event (Create Virtual Event)
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,23 +16,23 @@ 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 `te-cli te_analysis +get_filter_schema` to get the filter structure.
26
- 2. Read `list-events.md`, then call `te-cli te_meta +list_events --project_id 1` to get available events.
27
- 3. Read `list-properties.md`, then call `te-cli te_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
- te-cli te_meta +create_virtual_event --project_id 1 --event_name ta@demo --event_desc demo --events '[{"eventName":"purchase"}]'
34
- te-cli te_meta +create_virtual_event --project_id 1 --event_name ta@demo2 --event_desc demo --remark demo --events '[{"eventName":"add_to_cart"}]' --filter '{}' --override true
35
- te-cli te_meta +create_virtual_event --dry-run
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
+ ae-cli analysis_meta +create_virtual_event --dry-run
36
36
  ```
37
37
 
38
38
  ## Parameters
@@ -42,8 +42,8 @@ te-cli te_meta +create_virtual_event --dry-run
42
42
  | `--event_name` | Yes | Unique name for the virtual event (must start with 'ta@') |
43
43
  | `--event_desc` | Yes | Display name/description |
44
44
  | `--remark` | No | Optional remarks |
45
- | `--events` | Yes | JSON array of events to combine. MUST follow `+get_filter_schema`, and event/property fields must come from `te_meta +list_events` / `te_meta +list_properties` in the same `project_id`. |
46
- | `--filter` | No | Optional global filter JSON for all events. If provided, MUST follow `+get_filter_schema`, and referenced fields must come from `te_meta +list_properties`. |
45
+ | `--events` | Yes | JSON array of events to combine. MUST follow `+get_filter_schema`, and event/property fields must come from `analysis_meta +list_events` / `analysis_meta +list_properties` in the same `project_id`. |
46
+ | `--filter` | No | Optional global filter JSON for all events. If provided, MUST follow `+get_filter_schema`, and referenced fields must come from `analysis_meta +list_properties`. |
47
47
  | `--override` | No | Whether to override if event already exists. Default: false |
48
48
 
49
49
  ## Decision Rules
@@ -60,5 +60,5 @@ te-cli te_meta +create_virtual_event --dry-run
60
60
  - If the result after writing does not match expectations, immediately reread the corresponding list/get interfaces for before-and-after comparison.
61
61
 
62
62
  ## Recommended Chaining
63
- - +get_filter_schema -> te_meta +list_events -> te_meta +list_properties -> +create_virtual_event
63
+ - +get_filter_schema -> analysis_meta +list_events -> analysis_meta +list_properties -> +create_virtual_event
64
64
  - +list_events -> +create_virtual_event
@@ -1,6 +1,6 @@
1
- # te_meta +create_virtual_property (Create Virtual Property)
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,23 +18,23 @@ 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 `te-cli te_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 `te-cli te_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
- te-cli te_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
- te-cli te_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
37
- te-cli te_meta +create_virtual_property --dry-run
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
+ ae-cli analysis_meta +create_virtual_property --dry-run
38
38
  ```
39
39
 
40
40
  ## Parameters
@@ -45,9 +45,9 @@ te-cli te_meta +create_virtual_property --dry-run
45
45
  | `--property_desc` | No | Display name/description |
46
46
  | `--table_type` | Yes | Table type. event: create virtual event property(virtual property generated based on event or user properties), user: create virtual user property(virtual property generated based on user properties) |
47
47
  | `--select_type` | Yes | Data type: string, number, bool, datetime |
48
- | `--sql_expression` | Yes | SQL expression for computing the property. MUST be built from fields confirmed by `te_meta +list_properties` in the same `project_id`, and MUST conform to Trino syntax (for example, columns starting with '#' or containing '@' should be double-quoted). |
48
+ | `--sql_expression` | Yes | SQL expression for computing the property. MUST be built from fields confirmed by `analysis_meta +list_properties` in the same `project_id`, and MUST conform to Trino syntax (for example, columns starting with '#' or containing '@' should be double-quoted). |
49
49
  | `--sql_event_relation_type` | Yes | Type of associating attributes with events, relation_default: auto; relation_always: all events; relation_by_setting: specified events |
50
- | `--related_events` | No | Optional JSON array of related events. When `sql_event_relation_type=relation_by_setting`, this field is required and event names MUST come from `te_meta +list_events` in the same `project_id`. |
50
+ | `--related_events` | No | Optional JSON array of related events. When `sql_event_relation_type=relation_by_setting`, this field is required and event names MUST come from `analysis_meta +list_events` in the same `project_id`. |
51
51
  | `--property_remark` | No | Optional property remark |
52
52
 
53
53
  ## Decision Rules
@@ -1,6 +1,6 @@
1
- # te_meta +delete_project_mark_times (Delete Project Mark Times)
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,8 +9,8 @@ Domain: **Project Configuration**
9
9
 
10
10
  ## Commands
11
11
  ```bash
12
- te-cli te_meta +delete_project_mark_times --project_id 1 --mark_time_ids '[]'
13
- te-cli te_meta +delete_project_mark_times --dry-run
12
+ ae-cli analysis_meta +delete_project_mark_times --project_id <project_id> --mark_time_ids '[]'
13
+ ae-cli analysis_meta +delete_project_mark_times --dry-run
14
14
  ```
15
15
 
16
16
  ## Parameters