@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,107 +0,0 @@
1
- ---
2
- name: te-analysis
3
- version: 2.0.0
4
- description: "TE analysis query and visualization: report (report) and dashboard (dashboard) creation/query, ad-hoc model analysis, user drilldown, alert configuration, entity/event detail queries, analysis SQL, and filter/group-by schemas. Covers event analysis, retention analysis, funnel analysis, SQL analysis, user property analysis, distribution analysis, interval analysis, path analysis, and attribution analysis. Triggers when users mention check data/analyze data/view trends/view conversion funnels/view retention/run path attribution/write analysis SQL/drill into user behavior/edit reports and dashboards/configure alerts."
5
- metadata:
6
- requires:
7
- bins: ["ae-cli"]
8
- cliHelp: "ae-cli te_analysis --help"
9
- ---
10
-
11
- # te-analysis
12
-
13
- > **CRITICAL - Before starting, you MUST first read [`../te-shared/SKILL.md`](../te-shared/SKILL.md)**: authentication, host configuration, global parameters, and write-operation confirmation rules are all documented there.
14
- > **CRITICAL - For write operations marked with ⚠️, after a successful execution you MUST first read and follow the "post-write link completion" constraint in [`../te-common/SKILL.md`](../te-common/SKILL.md). You MUST call `te_common +get_resource_url` to complete the link-completion loop.**
15
- > **CRITICAL - For all commands that require `project_id`, you MUST follow `te-common`'s `PROJECT_ID_GATE` (stop if missing and confirm with the user).**
16
- > **CRITICAL - Before running any `+<tool_name>` command, you MUST first read the corresponding reference document `./references/<tool-name>.md`.** For example: before running `+get_analysis_query_schema`, you must first read [`./references/get-analysis-query-schema.md`](./references/get-analysis-query-schema.md)
17
-
18
- ## When to Use
19
-
20
- When a user needs TE for analysis queries, drilldown details, report/dashboard management, or alert configuration, use `te-analysis`.
21
-
22
- It applies to requests such as viewing data, analyzing data, checking details, creating reports, and configuring alerts. If the request is for audiences/tags, tracking plans, or project configuration, switch to another skill.
23
-
24
- - Alerts: view alert definitions, list alerts, get a single alert, create alerts, or update alerts.
25
- Common commands: `+get_alert_definition_schema`, `+list_alerts`, `+get_alert`, `+create_alert`, `+update_alert`
26
- - Reports and dashboards: create or query reports, inspect dashboard structure and data, update dashboards, and manage public links and remarks.
27
- Common commands: `+create_report`, `+query_report_data`, `+create_dashboard`, `+query_dashboard_detail`, `+update_dashboard`
28
- - Model analysis: run event analysis, retention analysis, funnel analysis, SQL analysis, user property analysis, distribution analysis, interval analysis, path analysis, attribution analysis, heat map, and ranking-list ad-hoc analysis, and support user drilldown and result clustering.
29
- Common commands: `+query_adhoc`, `+drilldown_users`, `+drilldown_user_events`, `+create_result_cluster`
30
- - Entities and events: query entity details, event details, or generate the corresponding detail SQL.
31
- Common commands: `+query_entity_details`, `+query_event_details`, `+build_entity_details_sql`, `+build_event_details_sql`
32
- - Analysis schema and helpers: get analysis query, filter, and groupby schemas, load available filter conditions, and inspect table columns.
33
- Common commands: `+get_analysis_query_schema`, `+get_filter_schema`, `+get_groupby_schema`, `+load_filters`, `+get_table_columns`
34
-
35
- ## When to Switch to Other Skills
36
-
37
- When the user requests the following, switch to the corresponding skill:
38
-
39
- | User Intent | Use |
40
- |---------|--------|
41
- | Create/query clusters, tags, or cluster schemas | `te-audience` |
42
- | Manage tracking plans, project configuration, or entity lists | `te-meta` |
43
- | Ops task flows, processes, or channels | `te-operation` |
44
-
45
- ## Parameters and Conventions
46
-
47
- - Command format: `ae-cli te_analysis +<tool_name> [options]`
48
- - CLI flags use underscores: `--project_id`
49
- - MCP parameters map automatically to camelCase: `projectId`
50
- - Pass JSON parameters directly as JSON strings: `'{}'`, `'[1,2]'`
51
- - Write operations prompt for confirmation; use `--yes` to skip it.
52
-
53
- ## Tool Groups (31)
54
-
55
- ### Alerts (5)
56
- - `+get_alert_definition_schema` ([doc](./references/get-alert-definition-schema.md))
57
- - `+list_alerts` ([doc](./references/list-alerts.md))
58
- - `+get_alert` ([doc](./references/get-alert.md))
59
- - `+create_alert` ([doc](./references/create-alert.md))
60
- - `+update_alert` ([doc](./references/update-alert.md))
61
-
62
- ### Reports and Dashboards (13)
63
- - `+create_report` ([doc](./references/create-report.md)) ⚠️ write operation, after it succeeds you MUST call `te_common +get_resource_url` to complete the link-completion loop
64
- - `+get_report_definition` ([doc](./references/get-report-definition.md))
65
- - `+list_reports` ([doc](./references/list-reports.md))
66
- - `+query_report_data` ([doc](./references/query-report-data.md))
67
- - `+create_dashboard` ([doc](./references/create-dashboard.md)) ⚠️ write operation, after it succeeds you MUST call `te_common +get_resource_url` to complete the link-completion loop
68
- - `+list_dashboards` ([doc](./references/list-dashboards.md))
69
- - `+query_dashboard_detail` ([doc](./references/query-dashboard-detail.md))
70
- - `+query_dashboard_report_data` ([doc](./references/query-dashboard-report-data.md))
71
- - `+update_dashboard` ([doc](./references/update-dashboard.md)) ⚠️ write operation, after it succeeds you MUST call `te_common +get_resource_url` to complete the link-completion loop
72
- - `+create_or_update_dashboard_note` ([doc](./references/create-or-update-dashboard-note.md))
73
- - `+list_public_access_links` ([doc](./references/list-public-access-links.md))
74
- - `+create_public_access_link` ([doc](./references/create-public-access-link.md))
75
- - `+update_public_access_link` ([doc](./references/update-public-access-link.md))
76
-
77
- ### Model Analysis (6)
78
- - `+query_adhoc` ([doc](./references/query-adhoc.md))
79
- - `+drilldown_users` ([doc](./references/drilldown-users.md))
80
- - `+drilldown_user_events` ([doc](./references/drilldown-user-events.md))
81
- - `+create_result_cluster` ([doc](./references/create-result-cluster.md)) ⚠️ write operation, after it succeeds you MUST call `te_common +get_resource_url` to complete the link-completion loop
82
- - `+load_filters` ([doc](./references/load-filters.md))
83
- - `+get_table_columns` ([doc](./references/get-table-columns.md))
84
-
85
- ### Entity Details / Event Details
86
- - `+query_entity_details` ([doc](./references/query-entity-details.md))
87
- - `+query_event_details` ([doc](./references/query-event-details.md))
88
- - `+build_entity_details_sql` ([doc](./references/build-entity-details-sql.md))
89
- - `+build_event_details_sql` ([doc](./references/build-event-details-sql.md))
90
-
91
- ### Schema (8)
92
- - `+get_analysis_query_schema` ([doc](./references/get-analysis-query-schema.md))
93
- - `+get_filter_schema` ([doc](./references/get-filter-schema.md))
94
- - `+get_groupby_schema` ([doc](./references/get-groupby-schema.md))
95
-
96
- ## Quick Verification
97
-
98
- ```bash
99
- ae-cli te_analysis --help
100
- npm run verify:te-analysis-tools
101
- # Example: use dry-run to preview the request (replace project_id with your actual project ID)
102
- ae-cli te_analysis +query_adhoc --project_id <YOUR_PROJECT_ID> --model_type event --qp "{}" --dry-run
103
- ```
104
-
105
- ## Reference Docs
106
-
107
- See the `references/` directory (31 per-command docs in total).
@@ -1,36 +0,0 @@
1
- # te_analysis +get_analysis_query_schema (Get Analysis Query Schema)
2
-
3
- > **Prerequisite:** Read [`../te-shared/SKILL.md`](../../te-shared/SKILL.md)
4
-
5
- Domain: **Model schema queries**
6
-
7
- - This is the documentation for the `+get_analysis_query_schema` command; read it before running `ae-cli te_analysis +get_analysis_query_schema`.
8
- - Get the query schema for the specified analysis model type. Different model types use different schema structures. This tool returns field definitions and examples.
9
-
10
- ## Use Cases
11
- - Helper tool positioning: this command provides structural definitions (schema) and should be used as a prerequisite step.
12
- - Recommended order: first use the current schema tool to get the structure, then call the specific business tool.
13
- - Typical follow-up tools: `+create_metric`, `+create_report`, `+drilldown_users`, `+get_cluster_definition_schema`, `+get_filter_schema`, `+get_groupby_schema`, `+get_tag_definition_schema`, `+query_adhoc`
14
- - Get the analysis query schema for the specified model type. Different model types use different query structures. This tool returns field definitions and examples. Supported model types: event, retention, funnel, distribution, sql, interval, path, attribution, prop_analysis, rank_list, heat_map.
15
- - Get the analysis query schema for the specified model type.
16
-
17
- ## Command
18
- ```bash
19
- ae-cli te_analysis +get_analysis_query_schema --model_type event
20
- ae-cli te_analysis +get_analysis_query_schema --model_type event --dry-run
21
- ```
22
-
23
- ## Parameters
24
- | Parameter | Required | Description |
25
- |---|---|---|
26
- | `--model_type` | Yes | Model type. Supported values: event, retention, funnel, distribution, sql, interval, path, attribution, prop_analysis, rank_list, heat_map |
27
-
28
- ## Decision Rules
29
- - It is recommended to run `--dry-run` first to inspect the request body mapping before making the formal call.
30
-
31
- ## Next Steps on Failure
32
- - If reading fails, first verify whether the object ID exists and belongs to the current project.
33
- - If the schema does not match expectations, confirm whether the correct schema interface was called (filter/groupby/query/tag/cluster).
34
-
35
- ## Recommended chaining
36
- - +get_analysis_query_schema -> +get_filter_schema -> +get_groupby_schema
@@ -1,31 +0,0 @@
1
- # te_analysis +list_public_access_links (public link search)
2
-
3
- > **Prerequisite:** Read [`../te-shared/SKILL.md`](../../te-shared/SKILL.md)
4
-
5
- Domain: **Dashboard Management**
6
-
7
- ## Use Cases
8
- - List public access links in the project. Returns link IDs, short codes, access targets, status, effective time, expiration time, and related metadata.
9
- - List public access links in the project.
10
-
11
- ## Commands
12
- ```bash
13
- te-cli te_analysis +list_public_access_links --project_id 1
14
- te-cli te_analysis +list_public_access_links --dry-run
15
- ```
16
-
17
- ## Parameters
18
- | Parameter | Required | Description |
19
- |---|---|---|
20
- | `--project_id` / `-p` | Yes | Project ID |
21
-
22
- ## Decision Rules
23
- - For the first run, it is recommended to pass only the required parameters (`--project_id`) and add optional parameters after confirming the chain works.
24
- - For cross-project troubleshooting, first confirm whether `--project_id` matches the current permissions and target environment.
25
-
26
- ## Next Step After Failure
27
- - If required parameters are missing, fall back to the smallest runnable command and fill them in (focus on `--project_id`).
28
- - If the result is empty, first confirm the project ID/keyword, then try broadening the filter conditions.
29
-
30
- ## Recommended Chaining
31
- - +list_public_access_links -> +update_public_access_link
@@ -1,63 +0,0 @@
1
- ---
2
- name: te-audience
3
- version: 1.0.0
4
- description: "TE audience operations and targeting: create, update, query, recompute, and inspect member details for clusters and tags, plus cluster/tag definition schemas. Triggered when the user mentions audience building/targeting, audience packages, tag systems, tag assignment, tag member lookup, updating cluster rules, or recomputing clusters or tags."
5
- metadata:
6
- requires:
7
- bins: ["ae-cli"]
8
- cliHelp: "ae-cli te_audience --help"
9
- ---
10
-
11
- # te-audience
12
-
13
- > **CRITICAL - Before starting, MUST first read [`../te-shared/SKILL.md`](../te-shared/SKILL.md)**: authentication, host configuration, global parameters, and write-operation confirmation rules are defined there.
14
- > **CRITICAL - Before performing write operations, MUST first read [`../te-common/SKILL.md`](../te-common/SKILL.md)**: shared post-action constraints (append resource links after create/update) are defined in that module.
15
- > **CRITICAL - For every command that requires `project_id`, MUST follow `te-common`'s `PROJECT_ID_GATE` (if missing, stop and confirm with the user).**
16
- > **CRITICAL - Before running any `+<tool_name>` command, MUST first read the corresponding reference document `./references/<tool-name>.md`** For example: before running `+create_cluster`, you must read [`./references/create-cluster.md`](./references/create-cluster.md)
17
-
18
- ## When to Use
19
-
20
- Use `te-audience` when the user needs cluster and tag capabilities:
21
-
22
- - Clusters: create, update, query, member inspection, recomputation
23
- - Tags: create, update, query, member inspection, recomputation
24
- - Cluster/tag definition schema: for frontend configurators or command argument construction
25
-
26
- ## Command Format
27
-
28
- `ae-cli te_audience +<tool_name> [options]`
29
-
30
- ## Tool Groups (14)
31
-
32
- ### Clusters (6)
33
- - `+create_cluster` ([Docs](./references/create-cluster.md))
34
- - `+get_clusters_by_name` ([Docs](./references/get-clusters-by-name.md))
35
- - `+list_cluster_members` ([Docs](./references/list-cluster-members.md))
36
- - `+list_clusters` ([Docs](./references/list-clusters.md))
37
- - `+update_cluster` ([Docs](./references/update-cluster.md))
38
- - `+refresh_cluster` ([Docs](./references/refresh-cluster.md))
39
-
40
- ### Tags (6)
41
- - `+create_tag` ([Docs](./references/create-tag.md))
42
- - `+get_tags_by_name` ([Docs](./references/get-tags-by-name.md))
43
- - `+list_tag_members` ([Docs](./references/list-tag-members.md))
44
- - `+list_tags` ([Docs](./references/list-tags.md))
45
- - `+update_tag` ([Docs](./references/update-tag.md))
46
- - `+refresh_tag` ([Docs](./references/refresh-tag.md))
47
-
48
- ### Schema Definitions (2)
49
- - `+get_cluster_definition_schema` ([Docs](./references/get-cluster-definition-schema.md))
50
- - `+get_tag_definition_schema` ([Docs](./references/get-tag-definition-schema.md))
51
-
52
- ## Quick Validation
53
-
54
- ```bash
55
- ae-cli te_audience --help
56
- npm run verify:te-audience-tools
57
- # Example: preview the request with dry-run (replace project_id with your actual project ID)
58
- ae-cli te_audience +list_clusters --project_id <YOUR_PROJECT_ID> --dry-run
59
- ```
60
-
61
- ## Reference Docs
62
-
63
- See the `references/` directory (14 per-command documents total).
@@ -1,37 +0,0 @@
1
- # te_audience +get_cluster_definition_schema (Get Cluster Definition Schema)
2
-
3
- > **Prerequisite:** Read [`../te-shared/SKILL.md`](../../te-shared/SKILL.md)
4
-
5
- Domain: **Schema Query**
6
-
7
- ## Use Cases
8
- - Support tool positioning: the current command provides the structure definition (schema) and should be used as a prerequisite step.
9
- - Recommended sequence: first call this schema tool to get the structure, then call `te_meta +list_events` / `te_meta +list_properties` to obtain real metadata, and finally create or update clusters.
10
- - Get the cluster definition schema. Supports the condition and sql cluster types and returns field definitions, enum descriptions, and examples.
11
-
12
- ## Commands
13
- ```bash
14
- te-cli te_audience +get_cluster_definition_schema --cluster_type condition
15
- te-cli te_audience +get_cluster_definition_schema --cluster_type sql
16
- te-cli te_audience +get_cluster_definition_schema --dry-run
17
- ```
18
-
19
- ## Parameters
20
- | Parameter | Required | Description |
21
- |---|---|---|
22
- | `--cluster_type` | Yes | Cluster type. Supported values: condition and sql |
23
-
24
- ## Decision Rules
25
- - `--cluster_type` must be explicitly set to `condition` or `sql`.
26
- - It is recommended to run `--dry-run` first to inspect the request mapping before making the actual call.
27
- - The current command returns only structure constraints; it does not guarantee that the field values are available in the target project. Event names and property names must be confirmed again with `te_meta` metadata interfaces.
28
- - Before calling `te_meta +list_events` / `te_meta +list_properties`, first read their reference docs to confirm the parameter and return-field meanings.
29
-
30
- ## Next Step on Failure
31
- - If reading fails, first verify whether the object ID exists and belongs to the current project.
32
- - If the schema does not match expectations, confirm whether the correct schema interface was used (filter/groupby/query/tag/cluster).
33
-
34
- ## Recommended Chain
35
- - First read: [`./get-cluster-definition-schema.md`](./get-cluster-definition-schema.md) -> [`../../te-meta/references/list-events.md`](../../te-meta/references/list-events.md) -> [`../../te-meta/references/list-properties.md`](../../te-meta/references/list-properties.md)
36
- - +get_cluster_definition_schema -> te_meta +list_events -> te_meta +list_properties -> +create_cluster
37
- - +get_cluster_definition_schema -> te_meta +list_events -> te_meta +list_properties -> +update_cluster
@@ -1,32 +0,0 @@
1
- # te_audience +get_clusters_by_name (Locate Clusters by Name)
2
-
3
- > **Prerequisite:** Read [`../te-shared/SKILL.md`](../../te-shared/SKILL.md)
4
-
5
- Domain: **Cluster Management**
6
-
7
- ## Use Cases
8
- - Get cluster definition details in batch by cluster name. Returns complete cluster information for matched clusters, including IDs, names, display names, types, status, user counts, and refresh status.
9
-
10
- ## Commands
11
- ```bash
12
- te-cli te_audience +get_clusters_by_name --project_id 1 --names '["demo"]'
13
- te-cli te_audience +get_clusters_by_name --dry-run
14
- ```
15
-
16
- ## Parameters
17
- | Parameter | Required | Description |
18
- |---|---|---|
19
- | `--project_id` / `-p` | Yes | Project ID |
20
- | `--names` | Yes | List of cluster names (JSON array). Exact-name matching is used; unmatched clusters are ignored automatically. |
21
-
22
- ## Decision Rules
23
- - For the first execution, it is recommended to pass only the required parameters (`--project_id`, `--names`) and add optional parameters after confirming the path works.
24
- - `--names` must be passed as a JSON array (e.g. `--names '["cluster_a","cluster_b"]'`).
25
- - When troubleshooting across projects, first confirm whether `--project_id` matches the current permissions and target environment.
26
-
27
- ## Next Step on Failure
28
- - If required parameters are missing, fall back to the smallest runnable command and fill the gap (focus on `--project_id`, `--names`).
29
- - If reading fails, first verify whether the object ID exists and belongs to the current project.
30
-
31
- ## Recommended Chain
32
- - +list_clusters -> +get_clusters_by_name -> +update_cluster
@@ -1,32 +0,0 @@
1
- # te_audience +get_tag_definition_schema (Get Tag Definition Schema)
2
-
3
- > **Prerequisite:** Read [`../te-shared/SKILL.md`](../../te-shared/SKILL.md)
4
-
5
- Domain: **Schema Query**
6
-
7
- ## Use Cases
8
- - Support tool positioning: the current command provides the structure definition (schema) and should be used as a prerequisite step.
9
- - Recommended sequence: first call this schema tool to get the structure, then call specific business tools.
10
- - Typical downstream tools: `+create_tag`, `+update_tag`
11
- - Get the tag definition schema. Supports the condition, metric, first_last, and sql tag types and returns field definitions, enum descriptions, and examples.
12
-
13
- ## Commands
14
- ```bash
15
- te-cli te_audience +get_tag_definition_schema
16
- te-cli te_audience +get_tag_definition_schema --dry-run
17
- ```
18
-
19
- ## Parameters
20
- | Parameter | Required | Description |
21
- |---|---|---|
22
- | None | - | This command has no business parameters; call it directly. |
23
-
24
- ## Decision Rules
25
- - It is recommended to run `--dry-run` first to inspect the request mapping before making the actual call.
26
-
27
- ## Next Step on Failure
28
- - If reading fails, first verify whether the object ID exists and belongs to the current project.
29
- - If the schema does not match expectations, confirm whether the correct schema interface was used (filter/groupby/query/tag/cluster).
30
-
31
- ## Recommended Chain
32
- - +get_analysis_query_schema -> +get_filter_schema -> +get_groupby_schema
@@ -1,32 +0,0 @@
1
- # te_audience +get_tags_by_name (Locate Tags by Name)
2
-
3
- > **Prerequisite:** Read [`../te-shared/SKILL.md`](../../te-shared/SKILL.md)
4
-
5
- Domain: **Tag Management**
6
-
7
- ## Use Cases
8
- - Get tag definition details in batch by tag name. Returns complete tag information for matched tags, including IDs, names, display names, types, status, user counts, and tag definitions.
9
-
10
- ## Commands
11
- ```bash
12
- te-cli te_audience +get_tags_by_name --project_id 1 --names '["demo"]'
13
- te-cli te_audience +get_tags_by_name --dry-run
14
- ```
15
-
16
- ## Parameters
17
- | Parameter | Required | Description |
18
- |---|---|---|
19
- | `--project_id` / `-p` | Yes | Project ID |
20
- | `--names` | Yes | List of tag names (JSON array). Exact-name matching is used; unmatched tags are ignored automatically. |
21
-
22
- ## Decision Rules
23
- - For the first execution, it is recommended to pass only the required parameters (`--project_id`, `--names`) and add optional parameters after confirming the path works.
24
- - `--names` must be passed as a JSON array (e.g. `--names '["tag_a","tag_b"]'`).
25
- - When troubleshooting across projects, first confirm whether `--project_id` matches the current permissions and target environment.
26
-
27
- ## Next Step on Failure
28
- - If required parameters are missing, fall back to the smallest runnable command and fill the gap (focus on `--project_id`, `--names`).
29
- - If reading fails, first verify whether the object ID exists and belongs to the current project.
30
-
31
- ## Recommended Chain
32
- - +list_tags -> +get_tags_by_name -> +update_tag
@@ -1,135 +0,0 @@
1
- ---
2
- name: te-common
3
- version: 1.0.0
4
- description: "TE cross-module common constraints: define the post-write flow after create/update operations (resource link completion, output conventions, failure fallback). Triggered when requirements involve shared rules across te-analysis/te-meta/te-audience."
5
- metadata:
6
- requires:
7
- bins: ["te-cli"]
8
- ---
9
-
10
- # te-common
11
-
12
- > **CRITICAL - Before starting, MUST first read [`../te-shared/SKILL.md`](../te-shared/SKILL.md)**: authentication, host configuration, global parameters, and write-operation confirmation rules are all in there.
13
- > **CRITICAL - Before executing any `+<tool_name>` command, MUST first read the corresponding reference document `./references/<tool-name>.md`** For example: before executing `+get_resource_url`, you must first read [`./references/get-resource-url.md`](./references/get-resource-url.md)
14
-
15
- ## When to Use
16
-
17
- When the requirement belongs to the unified execution constraints across `te-analysis` / `te-meta` / `te-audience`, you must use `te-common` first:
18
-
19
- - Post-write actions, such as resource link completion
20
- - Unified output conventions and fallback policies
21
- - Future cross-module common constraints
22
-
23
- ## Execution Sequence (AI Agent Must Follow)
24
-
25
- ```
26
- [Start] → [Read command reference document] → [Execute write operation] → [Succeeded?]
27
- ↓ Yes
28
- [Pause immediately, review the "write-operation post-link completion" section of this document]
29
- ↓
30
- [Call +get_resource_url]
31
- ↓
32
- [Output complete result + link]
33
- ↓
34
- [End]
35
- ```
36
-
37
- **Key point**: after a write operation succeeds → immediately go back to te-common, do not skip it.
38
-
39
- ---
40
-
41
- ## Current Mandatory Constraints (MUST)
42
-
43
- ### A. PROJECT_ID_GATE (preflight gate, no guessing)
44
-
45
- - For any command about to be executed, you must first confirm whether that command requires `project_id` (per the corresponding `references/<tool-name>.md` document).
46
- - **Regardless of whether the user provided a project name or project_id, you must first call `+list_projects` to retrieve the project list for verification.**
47
- - Verification rules:
48
- - If the user provided a number, you must find the matching project_id in the list
49
- - If the user provided a name, you must find the matching project name in the list and obtain the corresponding project_id
50
- - If no match is found, you must tell the user and show the available project list so they can choose again
51
- - Before verification passes and the correct `project_id` is confirmed, do not call the target command.
52
-
53
- Recommended interaction flow:
54
-
55
- **Scenario 1: The user did not provide project information**
56
- ```text
57
- This step requires project_id.
58
- I will first list the available projects for you to choose from:
59
-
60
- [Call +list_projects to display the project list]
61
-
62
- Please choose one from the projects above (for example, reply with the project ID or the project name).
63
- I will not execute the target command before you confirm.
64
- ```
65
-
66
- **Scenario 2: The user provided a project name or ID**
67
- ```text
68
- The project you mentioned is "xxx".
69
- I will first verify whether this project exists:
70
-
71
- [Call +list_projects to get the project list]
72
-
73
- Verification result:
74
- - ✅ Project "xxx" exists, project_id = 123
75
- - Or ❌ Project "xxx" was not found, available projects are listed below: [display list]
76
-
77
- Please confirm whether to use this project (project_id = 123) for the next operation.
78
- ```
79
-
80
- ### B. Write-operation post-link completion (mandatory closed loop)
81
-
82
- **Trigger condition**: When any of the following commands succeeds, MUST enter the link completion flow:
83
-
84
- | resource_type | Create command | Update command |
85
- |---|---|---|
86
- | `dashboard` | `+create_dashboard` | `+update_dashboard` |
87
- | `report` | `+create_report` | - |
88
- | `metric` | `+create_metric` | `+update_metric` |
89
- | `alert` | `+create_alert` | `+update_alert` |
90
- | `tag` | `+create_tag` | `+update_tag` |
91
- | `cluster` | `+create_cluster`, `+create_result_cluster` | `+update_cluster` |
92
- | `virtual_event` | `+create_virtual_event` | - |
93
- | `event_virtual_prop` | `+create_virtual_property` (`--table_type event`) | - |
94
- | `user_virtual_prop` | `+create_virtual_property` (`--table_type user`) | - |
95
- | `super_event` | `+batch_create_metadata` (creating events) | `+batch_edit_metadata --type event` |
96
- | `super_prop_event` | `+batch_create_metadata` (creating event_properties) | `+batch_edit_metadata --type event_property` |
97
- | `super_prop_user` | `+batch_create_metadata` (creating user_properties) | `+batch_edit_metadata --type user_property` |
98
-
99
- **Closed loop execution (must be completed)**:
100
- 1. ✅ Write operation succeeded → immediately check whether the return value contains `resource_id`
101
- 2. ✅ Has `resource_id` → call `+get_resource_url` (using the verified `project_id`)
102
- 3. ✅ Link generated successfully → output the complete response including the clickable link
103
- 4. ⚠️ Link generation failed → output the main result + explicitly state "link completion failed: [reason]"
104
-
105
- **Multi-resource result handling (for batch metadata only)**:
106
- - `+batch_create_metadata` / `+batch_edit_metadata` may return multiple resources at once (events/properties).
107
- - For each resource from which `resource_id` can be extracted, you must call `+get_resource_url` separately.
108
- - The final output must provide links for each resource one by one; if some fail, mark the failed items and the reasons, while the successful items are returned normally.
109
-
110
- **Prohibited behaviors**:
111
- - ❌ End the response immediately after a write operation succeeds (you must complete link completion or explain the failure)
112
- - ❌ Treat a write operation as failed because link completion failed (the write result is independently valid)
113
-
114
- **Closed-loop check template** (must explicitly confirm each step):
115
- ```
116
- [Write operation result]
117
- → Check resource_id: [yes/no]
118
- → Call get_resource_url: [called / skipped (no ID)]
119
- → Link completion status: [successful link / failure reason / skipped]
120
- → Closed loop complete ✅
121
- ```
122
-
123
- If the ID cannot be extracted or link generation fails, you must explain the failure reason, but you cannot roll back or judge the main write operation as failed.
124
-
125
- ## Execution Template
126
-
127
- 1. Execute the main write-operation command.
128
- 2. Extract `project_id`, `resource_type`, `resource_id` from the input or return value.
129
- 3. Call `te-cli te_common +get_resource_url --project_id <id> --resource_type <type> --resource_id <id>`.
130
- 4. Output the main result + `markdown_link` (clickable) / `raw_url`.
131
-
132
- ## Unified Command Entry
133
-
134
- - `+list_projects` ([documentation](./references/list-projects.md))
135
- - `+get_resource_url` ([documentation](./references/get-resource-url.md))
@@ -1,133 +0,0 @@
1
- ---
2
- name: te-community
3
- version: 1.0.0
4
- description: "TE 社区分析:帖子搜索、评论情感、话题趋势、风险内容、直播数据"
5
- metadata:
6
- requires:
7
- bins: ["te-cli"]
8
- cliHelp: "te-cli community --help"
9
- ---
10
-
11
- # te-community
12
-
13
- > **前置条件:** 阅读 [`../te-shared/SKILL.md`](../te-shared/SKILL.md) 了解认证、全局参数和安全约束。
14
-
15
- ## 概述
16
-
17
- `te-community` 域提供社区社交媒体数据分析能力,包括帖子搜索、评论情感分析、话题趋势、风险内容监控和直播数据。
18
-
19
- 命令通过 `te-cli community <command>` 调用。**本文件以导航为主**:具体用法、示例与 Flags 见下方 **`references/`** 与各复合分析 reference。
20
-
21
- ## 通用参数
22
-
23
- | 参数 | 说明 |
24
- |------|------|
25
- | `--space-id` | 社区空间 ID |
26
- | `--game-id` | 游戏/空间标识 |
27
-
28
- ## 渠道 ID 前置:`get_channel_info`
29
-
30
- 大量子命令依赖 **`--channel-id`** 或 **`--channel-id-list`**(例如帖子详情、评论摘要、直播会话列表、按渠道筛选的搜索等)。在只有 `space-id` / `game-id`、尚未知道渠道编号时,**建议先调用** `te-cli community get_channel_info` 拿到各渠道的 ID 与名称,再执行后续命令。详见 [get_channel_info](references/get_channel_info.md)。
31
-
32
- ## 数组参数格式
33
-
34
- 多值参数使用 **逗号分隔**:
35
- ```
36
- --channel-id-list 1,2,3
37
- --keywords tag1,tag2
38
- --sentiment-types 0,1
39
- ```
40
-
41
- ## 日期格式
42
-
43
- 所有日期参数使用 `yyyy-MM-dd` 格式,如 `--start-time 2024-01-01`。
44
-
45
- ## 参考文档(子命令导航)
46
-
47
- 按需打开对应文件即可查看说明与示例(单命令一页):
48
-
49
- - 按关键词/时间段搜索帖子或视频:[search_posts](references/search_posts.md)
50
- - 已拿到 `post-id`,查看单条内容详情:[get_post_detail](references/get_post_detail.md)
51
- - 查询可用分析标签列表:[get_corpus_tags](references/get_corpus_tags.md)
52
- - 快速查看评论区整体情绪与摘要:[get_comments_summary](references/get_comments_summary.md)
53
- - 分析评论标签分布与占比:[get_comment_tag_analysis](references/get_comment_tag_analysis.md)
54
- - 查看情感走势(按时间段):[get_sentiment_overview](references/get_sentiment_overview.md)
55
- - 查看社区大盘总览(发帖、互动等):[get_overview_metrics](references/get_overview_metrics.md)
56
- - 识别当前热榜话题:[get_hot_topics](references/get_hot_topics.md)
57
- - 下钻查看某个话题详情:[get_topic_detail](references/get_topic_detail.md)
58
- - 观察特定标签的趋势变化:[get_tag_trends](references/get_tag_trends.md)
59
- - 生成/查看单日社区摘要(日报):[get_daily_summary](references/get_daily_summary.md)
60
- - 排查风险内容与安全合规问题:[get_risk_content](references/get_risk_content.md)
61
- - 获取直播间列表并确定房间范围:[get_livestream_rooms](references/get_livestream_rooms.md)
62
- - 查看直播间历史会话列表:[get_livestream_list](references/get_livestream_list.md)
63
- - 查看某场直播会话明细:[get_livestream_detail](references/get_livestream_detail.md)
64
- - 直播场次 AI 分析报告(亮点切片与情感观点):[get_livestream_analysis](references/get_livestream_analysis.md)
65
- - 查看直播模块在时间段内的整体表现:[get_livestream_overview](references/get_livestream_overview.md)
66
- - 查看单直播间年度指标:[get_livestream_room_metrics](references/get_livestream_room_metrics.md)
67
- - 获取渠道列表与渠道基础信息:[get_channel_info](references/get_channel_info.md)
68
-
69
- ## 高级分析技能
70
-
71
- 以下技能基于 MCP 工具链组合调用,用于生成结构化的深度分析报告。
72
-
73
- ### community-activity-analysis(活动专项运营洞察分析)
74
-
75
- 深度评估游戏内活动或营销事件的曝光效果、社区口碑、二创生态及长尾影响。
76
-
77
- 详见:[`references/community-activity-analysis.md`](references/community-activity-analysis.md)
78
-
79
- ---
80
-
81
- ### community-daily-report(每日快报)
82
-
83
- 生成单日大盘、突发舆情与安全合规风控的短平快《用户运营每日快报》,支持环比对比(T-1 与 T-2)。
84
-
85
- 详见:[`references/community-daily-report.md`](references/community-daily-report.md)
86
-
87
- ---
88
-
89
- ### community-character-analysis(角色专项深度分析)
90
-
91
- 深度剖析特定游戏角色的社区生态、玩家情感动因、核心诉求。
92
-
93
- 详见:[`references/community-character-analysis.md`](references/community-character-analysis.md)
94
-
95
- ---
96
-
97
- ### community-hottopic-insight(话题分析报告)
98
-
99
- 自动调用 MCP 工具收集语料,智能识别行业属性,输出包含核心摘要、舆情概览及事件脉络、核心热点讨论、情绪切片、社媒渠道洞察及运营建议的结构化《舆情分析》。
100
-
101
- 详见:[`references/community-hottopic-insight.md`](references/community-hottopic-insight.md)
102
-
103
- ---
104
-
105
- ### community-release-analysis(版本运营分析复盘)
106
-
107
- 提取整个版本周期内的大盘数据、热点榜单、舆情脉络与风控趋势,输出深度的《版本运营分析复盘报告》。
108
-
109
- 详见:[`references/community-release-analysis.md`](references/community-release-analysis.md)
110
-
111
- ---
112
-
113
- ### community-weekly-report(社区运营周度总结)
114
-
115
- 汇总统揽一周数据,重点基于"每日摘要"串联本周核心发酵事件,输出《社区运营周度总结报告》。
116
-
117
- 详见:[`references/community-weekly-report.md`](references/community-weekly-report.md)
118
-
119
- ---
120
-
121
- ### community-analyzing-official-content(官方内容分析)
122
-
123
- 分析指定游戏在社区模块中近期发布的官方内容,按照既定分类进行梳理和总结。
124
-
125
- 详见:[`references/community-analyzing-official-content.md`](references/community-analyzing-official-content.md)
126
-
127
- ---
128
-
129
- ### community-analyzing-theme-comment(主题评论区深度分析)
130
-
131
- 对指定帖子或视频的评论区进行深度分析,生成包含评论走势、观点分布和总结的深度分析报告。
132
-
133
- 详见:[`references/community-analyzing-theme-comment.md`](references/community-analyzing-theme-comment.md)