@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.
- package/README.md +38 -64
- package/README.zh.md +203 -0
- package/dist/{auth-JXELJNDS.js → auth-4GAHTBVH.js} +2 -2
- package/dist/{auth-L3G3A74I.js → auth-U2GHFMFY.js} +20 -6
- package/dist/{chunk-OVQOK35G.js → chunk-EBFUVWIZ.js} +25 -6
- package/dist/{chunk-3GM5LJZR.js → chunk-OQ4XEG77.js} +7 -4
- package/dist/{chunk-JD5DXMKL.js → chunk-TJIMDNAU.js} +10 -8
- package/dist/{chunk-RJNLN3KQ.js → chunk-UK6HO5O5.js} +7 -6
- package/dist/{client-5QSQBBDB.js → client-HU63573O.js} +3 -3
- package/dist/{config-Q7J3Z7Z2.js → config-OLF7RBPM.js} +5 -5
- package/dist/index.js +18 -17
- package/dist/{raw-ZNVURYMR.js → raw-GDO4IWNW.js} +8 -6
- package/dist/{te-analysis-7NN3SY3I.js → te-analysis-ZDJXMWZY.js} +64 -26
- package/dist/{te-audience-P43BWMHM.js → te-audience-T5B52EEB.js} +65 -25
- package/dist/{te-common-H3IPTI2I.js → te-common-BPTXXTHQ.js} +11 -38
- package/dist/{community-GMALVSRF.js → te-community-FPB5LH56.js} +59 -59
- package/dist/{te-dataops-WCGDBJLF.js → te-dataops-2NUJVG47.js} +3 -28
- package/dist/{te-engage-UTRVNTGU.js → te-engage-K3EANZ5P.js} +502 -520
- package/dist/{te-meta-HGYNXVGF.js → te-meta-JJMV75KB.js} +88 -20
- package/package.json +9 -7
- package/skills/ae-analysis/SKILL.md +229 -0
- package/skills/{te-meta/references/batch-create-metadata.md → ae-analysis/references/batch_create_metadata.md} +5 -5
- package/skills/{te-meta/references/batch-edit-metadata.md → ae-analysis/references/batch_edit_metadata.md} +4 -4
- package/skills/{te-analysis/references/build-entity-details-sql.md → ae-analysis/references/build_entity_details_sql.md} +14 -14
- package/skills/{te-analysis/references/build-event-details-sql.md → ae-analysis/references/build_event_details_sql.md} +14 -14
- package/skills/{te-analysis/references/create-alert.md → ae-analysis/references/create_alert.md} +7 -7
- package/skills/{te-audience/references/create-cluster.md → ae-analysis/references/create_cluster.md} +26 -22
- package/skills/{te-analysis/references/create-dashboard.md → ae-analysis/references/create_dashboard.md} +5 -5
- package/skills/{te-meta/references/create-metric.md → ae-analysis/references/create_metric.md} +16 -16
- package/skills/{te-analysis/references/create-or-update-dashboard-note.md → ae-analysis/references/create_or_update_dashboard_note.md} +5 -5
- package/skills/{te-meta/references/create-project-mark-time.md → ae-analysis/references/create_project_mark_time.md} +5 -5
- package/skills/{te-analysis/references/create-public-access-link.md → ae-analysis/references/create_public_access_link.md} +5 -5
- package/skills/{te-analysis/references/create-report.md → ae-analysis/references/create_report.md} +14 -14
- package/skills/{te-analysis/references/create-result-cluster.md → ae-analysis/references/create_result_cluster.md} +8 -8
- package/skills/{te-audience/references/create-tag.md → ae-analysis/references/create_tag.md} +18 -17
- package/skills/{te-meta/references/create-virtual-event.md → ae-analysis/references/create_virtual_event.md} +14 -14
- package/skills/{te-meta/references/create-virtual-property.md → ae-analysis/references/create_virtual_property.md} +11 -11
- package/skills/{te-meta/references/delete-project-mark-times.md → ae-analysis/references/delete_project_mark_times.md} +4 -4
- package/skills/{te-meta/references/delete-track-items.md → ae-analysis/references/delete_track_items.md} +4 -4
- package/skills/{te-analysis/references/drilldown-user-events.md → ae-analysis/references/drilldown_user_events.md} +11 -11
- package/skills/{te-analysis/references/drilldown-users.md → ae-analysis/references/drilldown_users.md} +12 -9
- package/skills/ae-analysis/references/generate_track_program.md +51 -0
- package/skills/ae-analysis/references/generate_track_sdk_sample.md +43 -0
- package/skills/{te-analysis/references/get-alert.md → ae-analysis/references/get_alert.md} +4 -4
- package/skills/{te-analysis/references/get-alert-definition-schema.md → ae-analysis/references/get_alert_definition_schema.md} +4 -4
- package/skills/ae-analysis/references/get_analysis_query_schema.md +61 -0
- package/skills/ae-analysis/references/get_cluster_definition_schema.md +53 -0
- package/skills/ae-analysis/references/get_clusters_by_name.md +69 -0
- package/skills/{te-analysis/references/get-filter-schema.md → ae-analysis/references/get_filter_schema.md} +4 -4
- package/skills/{te-analysis/references/get-groupby-schema.md → ae-analysis/references/get_groupby_schema.md} +4 -4
- package/skills/{te-meta/references/get-metric.md → ae-analysis/references/get_metric.md} +4 -4
- package/skills/{te-meta/references/get-project-config.md → ae-analysis/references/get_project_config.md} +4 -4
- package/skills/{te-analysis/references/get-report-definition.md → ae-analysis/references/get_report_definition.md} +4 -4
- package/skills/{te-common/references/get-resource-url.md → ae-analysis/references/get_resource_url.md} +7 -7
- package/skills/{te-analysis/references/get-table-columns.md → ae-analysis/references/get_table_columns.md} +4 -4
- package/skills/ae-analysis/references/get_tag_definition_schema.md +49 -0
- package/skills/ae-analysis/references/get_tags_by_name.md +69 -0
- package/skills/{te-meta/references/get-track-program.md → ae-analysis/references/get_track_program.md} +4 -4
- package/skills/{te-analysis/references/list-alerts.md → ae-analysis/references/list_alerts.md} +8 -5
- package/skills/{te-audience/references/list-cluster-members.md → ae-analysis/references/list_cluster_members.md} +13 -6
- package/skills/{te-audience/references/list-clusters.md → ae-analysis/references/list_clusters.md} +12 -6
- package/skills/{te-analysis/references/list-dashboards.md → ae-analysis/references/list_dashboards.md} +10 -6
- package/skills/{te-meta/references/list-entities.md → ae-analysis/references/list_entities.md} +12 -5
- package/skills/{te-meta/references/list-events.md → ae-analysis/references/list_events.md} +10 -7
- package/skills/ae-analysis/references/list_metrics.md +41 -0
- package/skills/ae-analysis/references/list_project_mark_times.md +42 -0
- package/skills/{te-meta/references/list-project-users.md → ae-analysis/references/list_project_users.md} +4 -4
- package/skills/{te-common/references/list-projects.md → ae-analysis/references/list_projects.md} +9 -7
- package/skills/{te-meta/references/list-properties.md → ae-analysis/references/list_properties.md} +11 -6
- package/skills/ae-analysis/references/list_public_access_links.md +41 -0
- package/skills/{te-analysis/references/list-reports.md → ae-analysis/references/list_reports.md} +10 -6
- package/skills/{te-audience/references/list-tag-members.md → ae-analysis/references/list_tag_members.md} +13 -6
- package/skills/{te-audience/references/list-tags.md → ae-analysis/references/list_tags.md} +12 -6
- package/skills/{te-analysis/references/load-filters.md → ae-analysis/references/load_filters.md} +5 -5
- package/skills/{te-analysis/references/query-adhoc.md → ae-analysis/references/query_adhoc.md} +19 -14
- package/skills/{te-analysis/references/query-dashboard-detail.md → ae-analysis/references/query_dashboard_detail.md} +4 -4
- package/skills/{te-analysis/references/query-dashboard-report-data.md → ae-analysis/references/query_dashboard_report_data.md} +13 -13
- package/skills/{te-analysis/references/query-entity-details.md → ae-analysis/references/query_entity_details.md} +15 -15
- package/skills/{te-analysis/references/query-event-details.md → ae-analysis/references/query_event_details.md} +17 -17
- package/skills/{te-analysis/references/query-report-data.md → ae-analysis/references/query_report_data.md} +16 -16
- package/skills/{te-audience/references/refresh-cluster.md → ae-analysis/references/refresh_cluster.md} +4 -4
- package/skills/{te-audience/references/refresh-tag.md → ae-analysis/references/refresh_tag.md} +4 -4
- package/skills/{te-meta/references/save-track-items.md → ae-analysis/references/save_track_items.md} +4 -4
- package/skills/{te-analysis/references/update-alert.md → ae-analysis/references/update_alert.md} +7 -7
- package/skills/{te-audience/references/update-cluster.md → ae-analysis/references/update_cluster.md} +17 -15
- package/skills/{te-analysis/references/update-dashboard.md → ae-analysis/references/update_dashboard.md} +5 -5
- package/skills/{te-meta/references/update-metric.md → ae-analysis/references/update_metric.md} +14 -14
- package/skills/{te-meta/references/update-project-mark-time.md → ae-analysis/references/update_project_mark_time.md} +5 -5
- package/skills/{te-analysis/references/update-public-access-link.md → ae-analysis/references/update_public_access_link.md} +5 -5
- package/skills/{te-audience/references/update-tag.md → ae-analysis/references/update_tag.md} +17 -16
- package/skills/ae-community/SKILL.md +305 -0
- package/skills/ae-community/references/community-activity-analysis.md +67 -0
- package/skills/ae-community/references/community-analyzing-official-content.md +71 -0
- package/skills/ae-community/references/community-analyzing-theme-comment.md +123 -0
- package/skills/ae-community/references/community-character-analysis.md +70 -0
- package/skills/ae-community/references/community-daily-report.md +84 -0
- package/skills/ae-community/references/community-hottopic-insight.md +113 -0
- package/skills/ae-community/references/community-weekly-report.md +84 -0
- package/skills/ae-community/references/get_channel_info.md +20 -0
- package/skills/ae-community/references/get_comment_tag_analysis.md +29 -0
- package/skills/ae-community/references/get_comments_summary.md +32 -0
- package/skills/ae-community/references/get_corpus_tags.md +20 -0
- package/skills/ae-community/references/get_daily_summary.md +22 -0
- package/skills/ae-community/references/get_hot_topics.md +25 -0
- package/skills/ae-community/references/get_livestream_analysis.md +22 -0
- package/skills/ae-community/references/get_livestream_detail.md +33 -0
- package/skills/ae-community/references/get_livestream_list.md +25 -0
- package/skills/ae-community/references/get_livestream_overview.md +24 -0
- package/skills/ae-community/references/get_livestream_room_metrics.md +25 -0
- package/skills/ae-community/references/get_livestream_rooms.md +25 -0
- package/skills/ae-community/references/get_overview_metrics.md +25 -0
- package/skills/ae-community/references/get_post_detail.md +37 -0
- package/skills/ae-community/references/get_risk_content.md +42 -0
- package/skills/ae-community/references/get_sentiment_overview.md +33 -0
- package/skills/ae-community/references/get_tag_trends.md +27 -0
- package/skills/ae-community/references/get_topic_detail.md +26 -0
- package/skills/ae-community/references/search_posts.md +47 -0
- package/skills/ae-dataops/SKILL.md +706 -0
- package/skills/ae-dataops/references/dataops-flow-create.md +163 -0
- package/skills/ae-dataops/references/dataops-flow-monitor.md +118 -0
- package/skills/ae-dataops/references/dataops-integration.md +251 -0
- package/skills/ae-dataops/references/dataops-query.md +111 -0
- package/skills/ae-dataops/references/dataops-table.md +122 -0
- package/skills/ae-engage/SKILL.md +311 -0
- package/skills/ae-engage/references/add-approver.md +24 -0
- package/skills/ae-engage/references/add-channel.md +74 -0
- package/skills/ae-engage/references/approver-list.md +19 -0
- package/skills/ae-engage/references/cancel-query-by-request-id.md +23 -0
- package/skills/ae-engage/references/channel-detail.md +52 -0
- package/skills/ae-engage/references/channel-list.md +41 -0
- package/skills/ae-engage/references/config-channel-detail.md +32 -0
- package/skills/ae-engage/references/config-channel-list.md +27 -0
- package/skills/ae-engage/references/config-item-analysis-report.md +34 -0
- package/skills/ae-engage/references/config-item-detail.md +30 -0
- package/skills/ae-engage/references/config-item-list.md +19 -0
- package/skills/ae-engage/references/config-item-strategy-comparison.md +25 -0
- package/skills/ae-engage/references/config-item-trigger-report.md +42 -0
- package/skills/ae-engage/references/copy-config-template.md +29 -0
- package/skills/ae-engage/references/delete-channel.md +24 -0
- package/skills/ae-engage/references/delete-config-channel.md +24 -0
- package/skills/ae-engage/references/delete-config-item.md +25 -0
- package/skills/ae-engage/references/delete-flow.md +24 -0
- package/skills/ae-engage/references/flow-ab-split-node-report.md +54 -0
- package/skills/ae-engage/references/flow-detail.md +79 -0
- package/skills/ae-engage/references/flow-list.md +19 -0
- package/skills/ae-engage/references/flow-node-config-schema.md +44 -0
- package/skills/ae-engage/references/flow-node-detail-report.md +55 -0
- package/skills/ae-engage/references/flow-node-overview-report.md +52 -0
- package/skills/ae-engage/references/flow-process-report.md +59 -0
- package/skills/ae-engage/references/manage-flow.md +94 -0
- package/skills/ae-engage/references/manage-strategy.md +74 -0
- package/skills/ae-engage/references/manage-task.md +37 -0
- package/skills/ae-engage/references/modify-flow-base-info.md +27 -0
- package/skills/ae-engage/references/save-flow.md +871 -0
- package/skills/ae-engage/references/strategy-detail.md +73 -0
- package/skills/ae-engage/references/strategy-list.md +21 -0
- package/skills/ae-engage/references/task-data-detail.md +74 -0
- package/skills/ae-engage/references/task-data-overview.md +42 -0
- package/skills/ae-engage/references/task-detail.md +61 -0
- package/skills/ae-engage/references/task-experiment-report.md +45 -0
- package/skills/ae-engage/references/task-list.md +91 -0
- package/skills/ae-engage/references/task-metric-detail.md +50 -0
- package/skills/ae-engage/references/task-stats.md +89 -0
- package/skills/ae-engage/references/update-channel-status.md +32 -0
- package/skills/ae-engage/references/update-config-channel-status.md +32 -0
- package/skills/ae-engage/references/validate-flow-node-config.md +52 -0
- package/skills/ae-engage/references/whitelist-list.md +19 -0
- package/skills/te-analysis/SKILL.md +0 -107
- package/skills/te-analysis/references/get-analysis-query-schema.md +0 -36
- package/skills/te-analysis/references/list-public-access-links.md +0 -31
- package/skills/te-audience/SKILL.md +0 -63
- package/skills/te-audience/references/get-cluster-definition-schema.md +0 -37
- package/skills/te-audience/references/get-clusters-by-name.md +0 -32
- package/skills/te-audience/references/get-tag-definition-schema.md +0 -32
- package/skills/te-audience/references/get-tags-by-name.md +0 -32
- package/skills/te-common/SKILL.md +0 -135
- package/skills/te-community/SKILL.md +0 -133
- package/skills/te-community/references/community-activity-analysis.md +0 -68
- package/skills/te-community/references/community-analyzing-official-content.md +0 -72
- package/skills/te-community/references/community-analyzing-theme-comment.md +0 -124
- package/skills/te-community/references/community-character-analysis.md +0 -71
- package/skills/te-community/references/community-daily-report.md +0 -82
- package/skills/te-community/references/community-hottopic-insight.md +0 -120
- package/skills/te-community/references/community-release-analysis.md +0 -79
- package/skills/te-community/references/community-weekly-report.md +0 -84
- package/skills/te-community/references/get_channel_info.md +0 -21
- package/skills/te-community/references/get_comment_tag_analysis.md +0 -30
- package/skills/te-community/references/get_comments_summary.md +0 -33
- package/skills/te-community/references/get_corpus_tags.md +0 -21
- package/skills/te-community/references/get_daily_summary.md +0 -23
- package/skills/te-community/references/get_hot_topics.md +0 -26
- package/skills/te-community/references/get_livestream_analysis.md +0 -23
- package/skills/te-community/references/get_livestream_detail.md +0 -34
- package/skills/te-community/references/get_livestream_list.md +0 -26
- package/skills/te-community/references/get_livestream_overview.md +0 -25
- package/skills/te-community/references/get_livestream_room_metrics.md +0 -26
- package/skills/te-community/references/get_livestream_rooms.md +0 -26
- package/skills/te-community/references/get_overview_metrics.md +0 -26
- package/skills/te-community/references/get_post_detail.md +0 -38
- package/skills/te-community/references/get_risk_content.md +0 -43
- package/skills/te-community/references/get_sentiment_overview.md +0 -34
- package/skills/te-community/references/get_tag_trends.md +0 -28
- package/skills/te-community/references/get_topic_detail.md +0 -27
- package/skills/te-community/references/search_posts.md +0 -48
- package/skills/te-dataops/SKILL.md +0 -645
- package/skills/te-dataops/references/dataops-flow-create.md +0 -163
- package/skills/te-dataops/references/dataops-flow-monitor.md +0 -118
- package/skills/te-dataops/references/dataops-integration.md +0 -246
- package/skills/te-dataops/references/dataops-operations.md +0 -107
- package/skills/te-dataops/references/dataops-query.md +0 -111
- package/skills/te-dataops/references/dataops-table.md +0 -122
- package/skills/te-engage/SKILL.md +0 -211
- package/skills/te-engage/references/add-approver.md +0 -24
- package/skills/te-engage/references/add-channel.md +0 -74
- package/skills/te-engage/references/approver-list.md +0 -19
- package/skills/te-engage/references/cancel-query-by-request-id.md +0 -23
- package/skills/te-engage/references/channel-detail.md +0 -52
- package/skills/te-engage/references/channel-list.md +0 -41
- package/skills/te-engage/references/config-channel-detail.md +0 -32
- package/skills/te-engage/references/config-channel-list.md +0 -27
- package/skills/te-engage/references/config-item-analysis-report.md +0 -34
- package/skills/te-engage/references/config-item-detail.md +0 -30
- package/skills/te-engage/references/config-item-list.md +0 -19
- package/skills/te-engage/references/config-item-strategy-comparison.md +0 -25
- package/skills/te-engage/references/config-item-trigger-report.md +0 -42
- package/skills/te-engage/references/copy-config-template.md +0 -29
- package/skills/te-engage/references/delete-channel.md +0 -24
- package/skills/te-engage/references/delete-config-channel.md +0 -24
- package/skills/te-engage/references/delete-config-item.md +0 -25
- package/skills/te-engage/references/delete-flow.md +0 -24
- package/skills/te-engage/references/flow-ab-split-node-report.md +0 -54
- package/skills/te-engage/references/flow-detail.md +0 -79
- package/skills/te-engage/references/flow-list.md +0 -19
- package/skills/te-engage/references/flow-node-config-schema.md +0 -44
- package/skills/te-engage/references/flow-node-detail-report.md +0 -55
- package/skills/te-engage/references/flow-node-overview-report.md +0 -52
- package/skills/te-engage/references/flow-process-report.md +0 -59
- package/skills/te-engage/references/manage-flow.md +0 -94
- package/skills/te-engage/references/manage-strategy.md +0 -74
- package/skills/te-engage/references/manage-task.md +0 -37
- package/skills/te-engage/references/modify-flow-base-info.md +0 -27
- package/skills/te-engage/references/save-flow.md +0 -870
- package/skills/te-engage/references/strategy-detail.md +0 -73
- package/skills/te-engage/references/strategy-list.md +0 -21
- package/skills/te-engage/references/task-data-detail.md +0 -81
- package/skills/te-engage/references/task-data-overview.md +0 -48
- package/skills/te-engage/references/task-detail.md +0 -61
- package/skills/te-engage/references/task-experiment-report.md +0 -51
- package/skills/te-engage/references/task-list.md +0 -91
- package/skills/te-engage/references/task-metric-detail.md +0 -56
- package/skills/te-engage/references/task-stats.md +0 -89
- package/skills/te-engage/references/update-channel-status.md +0 -32
- package/skills/te-engage/references/update-config-channel-status.md +0 -32
- package/skills/te-engage/references/validate-flow-node-config.md +0 -52
- package/skills/te-engage/references/whitelist-list.md +0 -19
- package/skills/te-meta/SKILL.md +0 -71
- package/skills/te-meta/references/list-metrics.md +0 -33
- package/skills/te-meta/references/list-project-mark-times.md +0 -33
- package/skills/te-shared/SKILL.md +0 -115
package/skills/{te-audience/references/update-cluster.md → ae-analysis/references/update_cluster.md}
RENAMED
|
@@ -1,32 +1,33 @@
|
|
|
1
|
-
#
|
|
1
|
+
# analysis_audience +update_cluster (Update Cluster)
|
|
2
2
|
|
|
3
|
-
> **Prerequisite:**
|
|
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 get the structure, then supplement it with the project's real metadata (events and properties).
|
|
9
|
+
- When updating `definition`, metadata must be verified in the same session and `project_id`: first definition update in this session must call `analysis_meta +list_events` and `analysis_meta +list_properties`; later updates should reuse session-verified results first.
|
|
9
10
|
- Update a user cluster definition. Supports updating the display name, remark, type, or definition. Updating only the display name or remark does not trigger recomputation.
|
|
10
11
|
|
|
11
12
|
## Required Prerequisites (MUST only when updating definition)
|
|
12
13
|
- If this request includes `--definition`, you must first read and follow these reference docs:
|
|
13
|
-
- [`./
|
|
14
|
-
- [
|
|
15
|
-
- [
|
|
16
|
-
- Do not submit a new `definition` until the above docs have been read and the
|
|
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 submit a new `definition` until the above docs have been read and metadata has been verified: first definition update in this session for the same `project_id` must run metadata commands; if session-verified metadata already exists, reuse it first.
|
|
17
18
|
|
|
18
19
|
## Prerequisite Call Chain (run only when updating definition)
|
|
19
20
|
1. First determine `--type` (condition / sql).
|
|
20
|
-
2. Read `
|
|
21
|
-
3. Read `
|
|
22
|
-
4. Read `
|
|
21
|
+
2. Read `get_cluster_definition_schema.md`, then call `ae-cli analysis_audience +get_cluster_definition_schema --cluster_type <condition|sql>` to obtain the structure progressively. Start with base mode; request `examples` only if base is insufficient; request `full` only for complex, ambiguous, or repeatedly failing definition updates.
|
|
22
|
+
3. Read `list_events.md`. If this is the first definition update 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.
|
|
23
|
+
4. Read `list_properties.md`. If this is the first definition update 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.
|
|
23
24
|
5. Build the new `definition` based on the schema + metadata, then run `+update_cluster`.
|
|
24
25
|
|
|
25
26
|
## Commands
|
|
26
27
|
```bash
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
ae-cli analysis_audience +update_cluster --project_id <project_id> --cluster_name demo --display_name "Demo v2"
|
|
29
|
+
ae-cli analysis_audience +update_cluster --project_id <project_id> --cluster_name demo --type condition --definition '{}' --zone_offset 8
|
|
30
|
+
ae-cli analysis_audience +update_cluster --dry-run
|
|
30
31
|
```
|
|
31
32
|
|
|
32
33
|
## Parameters
|
|
@@ -37,13 +38,14 @@ te-cli te_audience +update_cluster --dry-run
|
|
|
37
38
|
| `--display_name` | No | New cluster display name. Length: 1-80 |
|
|
38
39
|
| `--remark` | No | New cluster remark |
|
|
39
40
|
| `--type` | No | New cluster type. Supported values: condition and sql. It is recommended to provide this when updating the definition. |
|
|
40
|
-
| `--definition` | No | New cluster definition JSON. If provided, MUST call `+get_cluster_definition_schema` first, then fill valid event/property names from `
|
|
41
|
+
| `--definition` | No | New cluster definition JSON. If provided, MUST call `+get_cluster_definition_schema` first, then fill valid event/property names from metadata verified in the same `project_id` (first definition update queries `analysis_meta` metadata commands; later updates in the same session should reuse verified results first). |
|
|
41
42
|
| `--zone_offset` | No | Optional time zone offset for cluster computation. Valid range: -12 to 14 (supports decimals like 5.5). |
|
|
42
43
|
|
|
43
44
|
## Decision Rules
|
|
44
45
|
- If you are not updating `definition` (only updating `display_name`/`remark`), you can skip the schema and metadata prerequisite chain.
|
|
45
46
|
- When updating `definition`, it cannot be written from experience alone; it must satisfy both the schema structure and the project's real metadata.
|
|
46
|
-
-
|
|
47
|
+
- Use progressive schema loading: base first, examples only when needed, full only as a last resort. Do not request full schema for simple cluster updates when the intent is clear.
|
|
48
|
+
- Before calling `list_events` / `list_properties`, you must first read the corresponding reference docs. Query metadata on the first definition update in this session for the same `project_id`; after that, prefer reusing session-verified metadata.
|
|
47
49
|
- For the first execution, it is recommended to pass only the required parameters (`--project_id`, `--cluster_name`) and add optional parameters after confirming the path works.
|
|
48
50
|
- Wrap JSON parameters in single quotes (e.g. `--definition '{}'`) to avoid shell escaping issues.
|
|
49
51
|
- When troubleshooting across projects, first confirm whether `--project_id` matches the current permissions and target environment.
|
|
@@ -55,5 +57,5 @@ te-cli te_audience +update_cluster --dry-run
|
|
|
55
57
|
- If the result after writing is not as expected, immediately re-read the corresponding list/get interfaces and compare before and after.
|
|
56
58
|
|
|
57
59
|
## Recommended Chain
|
|
58
|
-
- +get_cluster_definition_schema ->
|
|
60
|
+
- +get_cluster_definition_schema -> (first definition update or refresh) analysis_meta +list_events -> analysis_meta +list_properties -> +update_cluster
|
|
59
61
|
- +list_clusters -> +get_clusters_by_name -> +update_cluster
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
#
|
|
1
|
+
# analysis +update_dashboard (update dashboard)
|
|
2
2
|
|
|
3
|
-
> **Prerequisite:**
|
|
3
|
+
> **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
|
|
4
4
|
|
|
5
5
|
Domain: **Dashboard Management**
|
|
6
6
|
|
|
@@ -16,9 +16,9 @@ Domain: **Dashboard Management**
|
|
|
16
16
|
|
|
17
17
|
## Commands
|
|
18
18
|
```bash
|
|
19
|
-
ae-cli
|
|
20
|
-
ae-cli
|
|
21
|
-
ae-cli
|
|
19
|
+
ae-cli analysis +update_dashboard --project_id <project_id> --dashboard_id 1
|
|
20
|
+
ae-cli analysis +update_dashboard --project_id <project_id> --dashboard_id 1 --dashboard_name demo --report_ids '[1001]' --member_authorities '{"1001":"READ"}'
|
|
21
|
+
ae-cli analysis +update_dashboard --dry-run
|
|
22
22
|
```
|
|
23
23
|
|
|
24
24
|
## Parameters
|
package/skills/{te-meta/references/update-metric.md → ae-analysis/references/update_metric.md}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
#
|
|
1
|
+
# analysis_meta +update_metric (Update Metric)
|
|
2
2
|
|
|
3
|
-
> **Prerequisite:**
|
|
3
|
+
> **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
|
|
4
4
|
|
|
5
5
|
Domain: **Metadata Query**
|
|
6
6
|
|
|
@@ -11,23 +11,23 @@ Domain: **Metadata Query**
|
|
|
11
11
|
|
|
12
12
|
## MUST Prerequisites
|
|
13
13
|
- Before updating `--events` / `--params`, you must first read and follow these reference documents:
|
|
14
|
-
- [
|
|
15
|
-
- [`./
|
|
16
|
-
- [`./
|
|
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 submit new `events` / `params` until the document review and prerequisite command calls above are complete.
|
|
18
18
|
|
|
19
19
|
## Prerequisite Call Chain (Required for Updating events/params)
|
|
20
20
|
1. Determine `--model_type` first (`event` / `retention`).
|
|
21
|
-
2. Read `
|
|
22
|
-
3. Read `
|
|
23
|
-
4. Read `
|
|
21
|
+
2. Read `get_analysis_query_schema.md`, then call `ae-cli analysis +get_analysis_query_schema --model_type <event|retention>` 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 the new `events` / `params` from the schema + metadata, then execute `+update_metric`.
|
|
25
25
|
|
|
26
26
|
## Commands
|
|
27
27
|
```bash
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
ae-cli analysis_meta +update_metric --project_id <project_id> --metric_id 1 --name demo --display_name demo --model_type event --events '[]'
|
|
29
|
+
ae-cli analysis_meta +update_metric --project_id <project_id> --metric_id 1 --name demo --display_name demo --remark demo --model_type event --events '[]' --params '{}'
|
|
30
|
+
ae-cli analysis_meta +update_metric --dry-run
|
|
31
31
|
```
|
|
32
32
|
|
|
33
33
|
## Parameters
|
|
@@ -39,8 +39,8 @@ te-cli te_meta +update_metric --dry-run
|
|
|
39
39
|
| `--display_name` | Yes | Metric display name |
|
|
40
40
|
| `--remark` | No | Optional metric remark |
|
|
41
41
|
| `--model_type` | Yes | Metric model type. Currently supports event and retention. |
|
|
42
|
-
| `--events` | Yes | Metric event JSON. MUST follow `+get_analysis_query_schema` for the selected `model_type`, and use fields validated by `
|
|
43
|
-
| `--params` | No | Metric params JSON. If provided, MUST follow the schema from `+get_analysis_query_schema` and use project metadata from `
|
|
42
|
+
| `--events` | Yes | Metric event JSON. MUST follow `+get_analysis_query_schema` for the selected `model_type`, and use fields validated by `analysis_meta +list_events` / `analysis_meta +list_properties` in the same `project_id`. |
|
|
43
|
+
| `--params` | No | Metric params JSON. If provided, MUST follow the schema from `+get_analysis_query_schema` and use project metadata from `analysis_meta +list_events` / `analysis_meta +list_properties`. |
|
|
44
44
|
|
|
45
45
|
## Decision Rules
|
|
46
46
|
- `events` / `params` must not be handwritten by intuition alone: they must satisfy both the schema structure and the project's real metadata constraints.
|
|
@@ -57,5 +57,5 @@ te-cli te_meta +update_metric --dry-run
|
|
|
57
57
|
- If the result after writing does not match expectations, immediately reread the corresponding list/get interfaces for before-and-after comparison.
|
|
58
58
|
|
|
59
59
|
## Recommended Chaining
|
|
60
|
-
- +get_analysis_query_schema ->
|
|
60
|
+
- +get_analysis_query_schema -> analysis_meta +list_events -> analysis_meta +list_properties -> +update_metric
|
|
61
61
|
- +list_metrics -> +get_metric -> +update_metric
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
#
|
|
1
|
+
# analysis_meta +update_project_mark_time (Update Project Date Marker)
|
|
2
2
|
|
|
3
|
-
> **Prerequisite:**
|
|
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
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
ae-cli analysis_meta +update_project_mark_time --mark_time_id 1 --project_id <project_id> --marked_at '2026-04-09 10:00' --content demo
|
|
14
|
+
ae-cli analysis_meta +update_project_mark_time --mark_time_id 1 --project_id <project_id> --marked_at '2026-04-09 10:00' --zone_offset 8 --content demo --is_visible 1
|
|
15
|
+
ae-cli analysis_meta +update_project_mark_time --dry-run
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
## Parameters
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
#
|
|
1
|
+
# analysis +update_public_access_link (Update Public Access Link)
|
|
2
2
|
|
|
3
|
-
> **Prerequisite:**
|
|
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
|
-
ae-cli
|
|
14
|
-
ae-cli
|
|
15
|
-
ae-cli
|
|
13
|
+
ae-cli analysis +update_public_access_link --project_id <project_id> --link_id 1 --access_controls '{}' --effective_at "2026-04-09 10:00:00" --expires_at "2026-04-10 10:00:00"
|
|
14
|
+
ae-cli analysis +update_public_access_link --project_id <project_id> --company_id 1 --link_id 1 --access_controls '{}' --remark demo --effective_at "2026-04-09 10:00:00" --expires_at "2026-04-10 10:00:00"
|
|
15
|
+
ae-cli analysis +update_public_access_link --dry-run
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
## Parameters
|
package/skills/{te-audience/references/update-tag.md → ae-analysis/references/update_tag.md}
RENAMED
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
#
|
|
1
|
+
# analysis_audience +update_tag (Update Tag)
|
|
2
2
|
|
|
3
|
-
> **Prerequisite:**
|
|
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 get the structure, then call this tool.
|
|
9
|
-
- When updating `definition`,
|
|
9
|
+
- When updating `definition`, metadata must be verified in the same session and `project_id`: first definition update in this session must call `analysis_meta +list_events` and `analysis_meta +list_properties`; later updates should reuse session-verified results first.
|
|
10
10
|
- Update a user tag definition. Supports updating the display name, remark, type, and tag definition. Updating only the display name or remark does not trigger recomputation.
|
|
11
11
|
|
|
12
12
|
## Required Prerequisites (MUST only when updating definition)
|
|
13
13
|
- If this request includes `--definition`, you must first read and follow these reference docs:
|
|
14
|
-
- [`./
|
|
15
|
-
- [
|
|
16
|
-
- [
|
|
17
|
-
- Do not submit a new `definition` until the above docs have been read and the
|
|
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 submit a new `definition` until the above docs have been read and metadata has been verified: first definition update 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 (run only when updating definition)
|
|
20
20
|
1. First determine `--type` (condition / metric / first_last / sql).
|
|
21
|
-
2. Read `
|
|
22
|
-
3. Read `
|
|
23
|
-
4. Read `
|
|
21
|
+
2. Read `get_tag_definition_schema.md`, then call `ae-cli analysis_audience +get_tag_definition_schema --type <condition|metric|first_last|sql>` to obtain the structure progressively. Start with base mode; request `examples` only if base is insufficient; request `full` only for complex, ambiguous, or repeatedly failing definition updates.
|
|
22
|
+
3. Read `list_events.md`. If this is the first definition update 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.
|
|
23
|
+
4. Read `list_properties.md`. If this is the first definition update 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.
|
|
24
24
|
5. Build the new `definition` based on the schema + metadata, then run `+update_tag`.
|
|
25
25
|
|
|
26
26
|
## Commands
|
|
27
27
|
```bash
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
ae-cli analysis_audience +update_tag --project_id <project_id> --tag_name demo --display_name "Demo v2"
|
|
29
|
+
ae-cli analysis_audience +update_tag --project_id <project_id> --tag_name demo --type condition --definition '{}' --zone_offset 8
|
|
30
|
+
ae-cli analysis_audience +update_tag --dry-run
|
|
31
31
|
```
|
|
32
32
|
|
|
33
33
|
## Parameters
|
|
@@ -38,13 +38,14 @@ te-cli te_audience +update_tag --dry-run
|
|
|
38
38
|
| `--display_name` | No | New tag display name. Length: 1-80 |
|
|
39
39
|
| `--remark` | No | New tag remark |
|
|
40
40
|
| `--type` | No | New tag type. Supported values: condition, metric, first_last, sql |
|
|
41
|
-
| `--definition` | No | New tag definition JSON. If provided, MUST call `+get_tag_definition_schema` first, then fill valid event/property names from `
|
|
41
|
+
| `--definition` | No | New tag definition JSON. If provided, MUST call `+get_tag_definition_schema` first, then fill valid event/property names from metadata verified in the same `project_id` (first definition update queries `analysis_meta` metadata commands; later updates 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). |
|
|
43
43
|
|
|
44
44
|
## Decision Rules
|
|
45
45
|
- If you are not updating `definition` (only updating `display_name`/`remark`), you can skip the schema and metadata prerequisite chain.
|
|
46
46
|
- When updating `definition`, it cannot be written from experience alone; it must satisfy both the schema structure and the project's real metadata.
|
|
47
|
-
-
|
|
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 updates when the intent is clear.
|
|
48
|
+
- Before calling `list_events` / `list_properties`, you must first read the corresponding reference docs. Query metadata on the first definition update 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`) 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 +update_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 ->
|
|
60
|
+
- +get_tag_definition_schema -> (first definition update or refresh) analysis_meta +list_events -> analysis_meta +list_properties -> +update_tag
|
|
60
61
|
- +list_tags -> +get_tags_by_name -> +update_tag
|
|
@@ -0,0 +1,305 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ae-community
|
|
3
|
+
version: 2.0.0
|
|
4
|
+
description: "AE community analysis: post search, comment sentiment, topic trends, risky content, livestream data. Includes AE CLI authentication, global parameters, and safety rules (self-contained)."
|
|
5
|
+
metadata:
|
|
6
|
+
requires:
|
|
7
|
+
bins: ["ae-cli"]
|
|
8
|
+
cliHelp: "ae-cli community --help"
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# ae-community
|
|
12
|
+
|
|
13
|
+
> **CRITICAL - This skill is self-contained.** Use the Global AE CLI Rules below; do not require a separate shared skill for community-side tasks.
|
|
14
|
+
|
|
15
|
+
The AE Community domain provides social data analysis: post/video search, comment analytics, sentiment and topics, risk monitoring, and livestream metrics. Commands run as **`ae-cli community +<subcommand>`** — every community subcommand uses the **`+` prefix**.
|
|
16
|
+
|
|
17
|
+
| Route (MCP) | CLI service | Responsibility |
|
|
18
|
+
|-------------|-------------|----------------|
|
|
19
|
+
| `community_content` | `community` | Posts, comments, corpus tags, search, livestream content, risk content |
|
|
20
|
+
| `community_analysis` | `community` | Channel list, overview metrics, sentiment, tag trends |
|
|
21
|
+
| `community_hot` | `community` | Daily summary, hot topics, topic drill-down |
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## Global AE CLI Rules
|
|
26
|
+
|
|
27
|
+
AE CLI (`ae-cli`) is the command-line tool for the ThinkingEngine data analysis platform, used by AI Agents and human users. For community-side requests, prefer `ae-cli` and this skill’s reference docs over model memory.
|
|
28
|
+
|
|
29
|
+
### Authentication
|
|
30
|
+
|
|
31
|
+
You must authenticate before use. Authentication priority:
|
|
32
|
+
|
|
33
|
+
1. Environment variable `TE_TOKEN` (highest priority, suitable for CI/scripts)
|
|
34
|
+
2. Cached token (`~/.ae-cli/tokens.json`, valid for 20 hours)
|
|
35
|
+
3. macOS automatically extracts it from Chrome (macOS only)
|
|
36
|
+
|
|
37
|
+
**Authentication commands**
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
# Automatic macOS authentication (extract token from Chrome)
|
|
41
|
+
ae-cli auth login
|
|
42
|
+
|
|
43
|
+
# Manually set token
|
|
44
|
+
ae-cli auth set-token <token>
|
|
45
|
+
|
|
46
|
+
# View authentication status
|
|
47
|
+
ae-cli auth status
|
|
48
|
+
|
|
49
|
+
# Log out
|
|
50
|
+
ae-cli auth logout
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
**Multi-environment support**
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
# Specify host
|
|
57
|
+
ae-cli auth login --host ta-staging.example.com
|
|
58
|
+
ae-cli auth set-token <token> --host ta-staging.example.com
|
|
59
|
+
|
|
60
|
+
# Configure default host
|
|
61
|
+
ae-cli config set defaultHost ta-staging.example.com
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
### Global parameters
|
|
65
|
+
|
|
66
|
+
All commands support the following global parameters:
|
|
67
|
+
|
|
68
|
+
| Parameter | Description | Default |
|
|
69
|
+
|------|------|--------|
|
|
70
|
+
| `--host <host>` | AE instance address | defaultHost from config or ta.thinkingdata.cn |
|
|
71
|
+
| `--format <json\|table>` | Output format | json |
|
|
72
|
+
| `--jq <expr>` | jq filter expression | - |
|
|
73
|
+
| `--dry-run` | Show the request only, do not execute it | false |
|
|
74
|
+
| `--yes` | Skip confirmation for write operations | false |
|
|
75
|
+
|
|
76
|
+
### Output format
|
|
77
|
+
|
|
78
|
+
**JSON (default)**
|
|
79
|
+
|
|
80
|
+
```json
|
|
81
|
+
{
|
|
82
|
+
"ok": true,
|
|
83
|
+
"data": { ... }
|
|
84
|
+
}
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
**Table**
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
ae-cli analysis_meta +list_events --project_id <YOUR_PROJECT_ID> --format table
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
**jq filtering**
|
|
94
|
+
|
|
95
|
+
```bash
|
|
96
|
+
ae-cli analysis_meta +list_events --project_id <YOUR_PROJECT_ID> --jq '.'
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
### Error handling
|
|
100
|
+
|
|
101
|
+
Error output goes to stderr, in the following format:
|
|
102
|
+
|
|
103
|
+
```json
|
|
104
|
+
{
|
|
105
|
+
"ok": false,
|
|
106
|
+
"error": {
|
|
107
|
+
"type": "auth | api | validation | config",
|
|
108
|
+
"message": "...",
|
|
109
|
+
"hint": "..."
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
Exit code: success `0`, error `1`.
|
|
115
|
+
|
|
116
|
+
### Security constraints
|
|
117
|
+
|
|
118
|
+
- Commands with `risk: read` execute directly
|
|
119
|
+
- Commands with `risk: write` require confirmation unless `--yes` is passed
|
|
120
|
+
- Use `--dry-run` to preview the request that will be sent
|
|
121
|
+
|
|
122
|
+
### Command structure
|
|
123
|
+
|
|
124
|
+
```bash
|
|
125
|
+
ae-cli <domain> +<command> [flags]
|
|
126
|
+
ae-cli api <METHOD> <PATH> [--params] [--data]
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
**Community** commands use the domain `community` (this skill). Other AE domains include: `analysis` (analysis), `analysis_audience` (audience), `analysis_meta` (metadata), `analysis_common` (common), `operation` (operations).
|
|
130
|
+
|
|
131
|
+
---
|
|
132
|
+
|
|
133
|
+
## Overview
|
|
134
|
+
|
|
135
|
+
Typical use cases:
|
|
136
|
+
|
|
137
|
+
- Search and inspect posts or videos, then drill into detail and comment analytics
|
|
138
|
+
- Track sentiment, keywords/tags, and macro overview metrics by time range
|
|
139
|
+
- Monitor risky or moderated content
|
|
140
|
+
- Analyze livestream rooms, sessions, and AI-generated session reports
|
|
141
|
+
- Produce daily/weekly/activity-style reports via composite references under `references/community-*.md`
|
|
142
|
+
|
|
143
|
+
For per-command flags and copy-paste examples, use the files in [`references/`](references/).
|
|
144
|
+
|
|
145
|
+
---
|
|
146
|
+
|
|
147
|
+
## Parameter conventions
|
|
148
|
+
|
|
149
|
+
| Item | Description |
|
|
150
|
+
|------|-------------|
|
|
151
|
+
| `--space-id` | Community space ID (number) |
|
|
152
|
+
| `--game-id` | Game / space identifier (number) |
|
|
153
|
+
| `--channel-id` / `--channel-id-list` | Often required after you know channel IDs (see **Channel ID prerequisite** below) |
|
|
154
|
+
| Globals | Same as other domains: `--host`, `--mcp-url`, `--format`, `--jq`, `--dry-run`, `--yes` |
|
|
155
|
+
|
|
156
|
+
- **Lists (comma-separated):** e.g. `--channel-id-list 1,2,3`, `--keywords a,b`, `--sentiment-types 0,1`
|
|
157
|
+
- **Dates:** `yyyy-MM-dd` for range endpoints (e.g. `--start-time`, `--end-time`, `--date`)
|
|
158
|
+
|
|
159
|
+
---
|
|
160
|
+
|
|
161
|
+
## Core concepts
|
|
162
|
+
|
|
163
|
+
### Channel ID prerequisite (`+get_channel_info`)
|
|
164
|
+
|
|
165
|
+
Many commands need **`--channel-id`** or **`--channel-id-list`** (post detail, comment summaries, live lists, channel-scoped search). If you only have `--space-id` / `--game-id`, run:
|
|
166
|
+
|
|
167
|
+
```bash
|
|
168
|
+
ae-cli community +get_channel_info --space-id <id> --game-id <id>
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
Then use returned channel IDs in follow-up commands. Details: [`references/get_channel_info.md`](references/get_channel_info.md).
|
|
172
|
+
|
|
173
|
+
---
|
|
174
|
+
|
|
175
|
+
## Scenario routing
|
|
176
|
+
|
|
177
|
+
Route users to composite workflows when intent matches:
|
|
178
|
+
|
|
179
|
+
| User intent | Start here |
|
|
180
|
+
|-------------|------------|
|
|
181
|
+
| Single-day ops brief, T-1 vs T-2 | [`community-daily-report.md`](references/community-daily-report.md) |
|
|
182
|
+
| Weekly roll-up | [`community-weekly-report.md`](references/community-weekly-report.md) |
|
|
183
|
+
| Activity / campaign insight | [`community-activity-analysis.md`](references/community-activity-analysis.md) |
|
|
184
|
+
| One character / IP deep dive | [`community-character-analysis.md`](references/community-character-analysis.md) |
|
|
185
|
+
| Single topic timeline + actions | [`community-hottopic-insight.md`](references/community-hottopic-insight.md) |
|
|
186
|
+
| Official post taxonomy | [`community-analyzing-official-content.md`](references/community-analyzing-official-content.md) |
|
|
187
|
+
| Comment thread deep dive | [`community-analyzing-theme-comment.md`](references/community-analyzing-theme-comment.md) |
|
|
188
|
+
|
|
189
|
+
---
|
|
190
|
+
|
|
191
|
+
## Common scenarios
|
|
192
|
+
|
|
193
|
+
### 1. Search and content drill-down
|
|
194
|
+
|
|
195
|
+
```bash
|
|
196
|
+
ae-cli community +search_posts --space-id 1 --game-id 1 \
|
|
197
|
+
--start-time 2026-04-01 --end-time 2026-04-07
|
|
198
|
+
|
|
199
|
+
ae-cli community +get_post_detail --space-id 1 --game-id 1 \
|
|
200
|
+
--channel-id 1 --uuid <uuid> --resource-type 0
|
|
201
|
+
|
|
202
|
+
ae-cli community +get_comments_summary --space-id 1 --game-id 1 \
|
|
203
|
+
--channel-id 1 --uuid <uuid>
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
### 2. Analysis and sentiment
|
|
207
|
+
|
|
208
|
+
```bash
|
|
209
|
+
ae-cli community +get_channel_info --space-id 1 --game-id 1
|
|
210
|
+
|
|
211
|
+
ae-cli community +get_overview_metrics --space-id 1 --game-id 1 \
|
|
212
|
+
--start-time 2026-04-01 --end-time 2026-04-07
|
|
213
|
+
|
|
214
|
+
ae-cli community +get_sentiment_overview --space-id 1 --game-id 1 \
|
|
215
|
+
--start-time 2026-04-01 --end-time 2026-04-07
|
|
216
|
+
```
|
|
217
|
+
|
|
218
|
+
### 3. Hot topics and daily snapshot
|
|
219
|
+
|
|
220
|
+
```bash
|
|
221
|
+
ae-cli community +get_hot_topics --space-id 1 --game-id 1
|
|
222
|
+
|
|
223
|
+
ae-cli community +get_daily_summary --space-id 1 --game-id 1 --date 2026-04-01
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
### 4. Livestream
|
|
227
|
+
|
|
228
|
+
```bash
|
|
229
|
+
ae-cli community +get_livestream_list --space-id 1 --game-id 1
|
|
230
|
+
|
|
231
|
+
ae-cli community +get_livestream_detail --space-id 1 --game-id 1 --stream-id <id>
|
|
232
|
+
|
|
233
|
+
ae-cli community +get_livestream_analysis --space-id 1 --game-id 1 --stream-id <id>
|
|
234
|
+
```
|
|
235
|
+
|
|
236
|
+
---
|
|
237
|
+
|
|
238
|
+
## Dry-run debugging
|
|
239
|
+
|
|
240
|
+
```bash
|
|
241
|
+
ae-cli --dry-run community +get_channel_info --space-id 1 --game-id 1
|
|
242
|
+
ae-cli --dry-run community +search_posts --space-id 1 --game-id 1 \
|
|
243
|
+
--start-time 2026-04-01 --end-time 2026-04-07
|
|
244
|
+
```
|
|
245
|
+
|
|
246
|
+
---
|
|
247
|
+
|
|
248
|
+
## References (per-command)
|
|
249
|
+
|
|
250
|
+
| Topic | Document |
|
|
251
|
+
|-------|----------|
|
|
252
|
+
| Channel list (prerequisite) | [`get_channel_info.md`](references/get_channel_info.md) |
|
|
253
|
+
| Search posts/videos | [`search_posts.md`](references/search_posts.md) |
|
|
254
|
+
| Post/video detail | [`get_post_detail.md`](references/get_post_detail.md) |
|
|
255
|
+
| Corpus tags / `tagCode` | [`get_corpus_tags.md`](references/get_corpus_tags.md) |
|
|
256
|
+
| Comment summary | [`get_comments_summary.md`](references/get_comments_summary.md) |
|
|
257
|
+
| Comment tag analysis | [`get_comment_tag_analysis.md`](references/get_comment_tag_analysis.md) |
|
|
258
|
+
| Sentiment overview | [`get_sentiment_overview.md`](references/get_sentiment_overview.md) |
|
|
259
|
+
| Overview metrics | [`get_overview_metrics.md`](references/get_overview_metrics.md) |
|
|
260
|
+
| Hot topics | [`get_hot_topics.md`](references/get_hot_topics.md) |
|
|
261
|
+
| Topic detail | [`get_topic_detail.md`](references/get_topic_detail.md) |
|
|
262
|
+
| Tag trends | [`get_tag_trends.md`](references/get_tag_trends.md) |
|
|
263
|
+
| Daily summary | [`get_daily_summary.md`](references/get_daily_summary.md) |
|
|
264
|
+
| Risk content | [`get_risk_content.md`](references/get_risk_content.md) |
|
|
265
|
+
| Live rooms / list / detail / analysis / overview / room metrics | [`get_livestream_rooms.md`](references/get_livestream_rooms.md), [`get_livestream_list.md`](references/get_livestream_list.md), [`get_livestream_detail.md`](references/get_livestream_detail.md), [`get_livestream_analysis.md`](references/get_livestream_analysis.md), [`get_livestream_overview.md`](references/get_livestream_overview.md), [`get_livestream_room_metrics.md`](references/get_livestream_room_metrics.md) |
|
|
266
|
+
|
|
267
|
+
---
|
|
268
|
+
|
|
269
|
+
## Command groups
|
|
270
|
+
|
|
271
|
+
Commands below are shown **without** the `ae-cli community` prefix; all use the `+` prefix on the CLI.
|
|
272
|
+
|
|
273
|
+
### Content (`community_content`)
|
|
274
|
+
|
|
275
|
+
`+get_livestream_list`, `+get_livestream_detail`, `+get_livestream_analysis`, `+get_post_detail`, `+get_comments_summary`, `+get_comment_tag_analysis`, `+get_corpus_tags`, `+get_risk_content`, `+search_posts`, `+get_livestream_overview`, `+get_livestream_rooms`, `+get_livestream_room_metrics`
|
|
276
|
+
|
|
277
|
+
### Analysis (`community_analysis`)
|
|
278
|
+
|
|
279
|
+
`+get_channel_info`, `+get_overview_metrics`, `+get_sentiment_overview`, `+get_tag_trends`
|
|
280
|
+
|
|
281
|
+
### Hot (`community_hot`)
|
|
282
|
+
|
|
283
|
+
`+get_daily_summary`, `+get_hot_topics`, `+get_topic_detail`
|
|
284
|
+
|
|
285
|
+
---
|
|
286
|
+
|
|
287
|
+
## Composite scenario skills
|
|
288
|
+
|
|
289
|
+
Structured multi-step reports (MCP tool chains) — open the linked reference for full workflows.
|
|
290
|
+
|
|
291
|
+
| Skill | Purpose |
|
|
292
|
+
|-------|---------|
|
|
293
|
+
| [`community-activity-analysis.md`](references/community-activity-analysis.md) | Activity / marketing event insight |
|
|
294
|
+
| [`community-daily-report.md`](references/community-daily-report.md) | Daily express (T-1 vs T-2) |
|
|
295
|
+
| [`community-character-analysis.md`](references/community-character-analysis.md) | Character / IP deep analysis |
|
|
296
|
+
| [`community-hottopic-insight.md`](references/community-hottopic-insight.md) | Single-topic evolution and actions |
|
|
297
|
+
| [`community-weekly-report.md`](references/community-weekly-report.md) | Weekly operations summary |
|
|
298
|
+
| [`community-analyzing-official-content.md`](references/community-analyzing-official-content.md) | Official content taxonomy |
|
|
299
|
+
| [`community-analyzing-theme-comment.md`](references/community-analyzing-theme-comment.md) | Themed comment-area analysis |
|
|
300
|
+
|
|
301
|
+
---
|
|
302
|
+
|
|
303
|
+
## Write operations
|
|
304
|
+
|
|
305
|
+
Most community commands are **read-only**. If new write-capable commands are added later, confirm user intent and use `--yes` where the CLI marks **`risk: write`**.
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
# ae-community community-activity-analysis
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
Event-specific operation insight analysis: In-depth evaluation of the exposure effect, community reputation, second-generation ecology and long-tail impact of in-game activities or marketing events, and output a standard "Event-Specific Operation Insight Report".
|
|
5
|
+
|
|
6
|
+
Trigger scenario: When the user asks to "analyze a certain activity", "generate activity review", "see feedback from XX activity" or "evaluate marketing effectiveness".
|
|
7
|
+
|
|
8
|
+
## Analysis process
|
|
9
|
+
|
|
10
|
+
1. **Basic market and trend analysis**: Call `+get_overview_metrics` and `+get_daily_summary` to obtain the overall volume and sentiment before and after the event
|
|
11
|
+
2. **Drill down on topics and hot searches**: Call `+get_hot_topics` and `+get_topic_detail` to deeply analyze the sentiment distribution of a specific topic
|
|
12
|
+
3. **Word-of-mouth and pain points deep-dive analysis of**: Call `+get_sentiment_overview` to analyze positive and negative high-frequency keywords
|
|
13
|
+
4. **Fixed-point blasting evidence collection**: Call `+search_posts` -> `+get_post_detail` -> `+get_comments_summary` to obtain real player cases
|
|
14
|
+
5. **Risk Control and Red Line Checking**: Call `+get_risk_content` to check compliance risk content
|
|
15
|
+
|
|
16
|
+
## Core Constraints
|
|
17
|
+
|
|
18
|
+
- **Reject false claims**: You must write down the specific reasons and attach supporting posts or comments.
|
|
19
|
+
- **Strictly distinguish between early warning and risk control**:
|
|
20
|
+
- Early Warning: Event experience issues (mechanism, bugs, rewards, liveliness)
|
|
21
|
+
- Risk control: Risks of violations (black/gray-market activity, leaks, wars, advertising, etc.)
|
|
22
|
+
|
|
23
|
+
## Output structure
|
|
24
|
+
|
|
25
|
+
### 1. Activity overview and core data
|
|
26
|
+
- Set the tone for the event
|
|
27
|
+
- Core sound volume and exposure indicators (including tables)
|
|
28
|
+
|
|
29
|
+
### 2. Insights into community feedback and sentiment highlights
|
|
30
|
+
- **Activity Highlights and Highlights** (with typical acoustic support)
|
|
31
|
+
- **Core slots and experience pain points** (including typical original sound support)
|
|
32
|
+
|
|
33
|
+
### 3. Content dissemination and secondary innovation ecological mining
|
|
34
|
+
- Core out-of-circle topics/meme culture
|
|
35
|
+
- Inventory of secondary innovation output potential
|
|
36
|
+
|
|
37
|
+
### 4. Impact on community ecology
|
|
38
|
+
-Activity pulling effect
|
|
39
|
+
- Player structure/genre evolution
|
|
40
|
+
|
|
41
|
+
### 5. Inspiration and optimization suggestions for operational strategies
|
|
42
|
+
- Design pitfalls in follow-up activities
|
|
43
|
+
- Long-tail marketing strategies
|
|
44
|
+
- Livestream/publicity side review
|
|
45
|
+
|
|
46
|
+
### 6. Activity warning and compliance risk control
|
|
47
|
+
|
|
48
|
+
**⚠️ Event sentiment and experience warning**
|
|
49
|
+
|
|
50
|
+
| Warning level | Warning trigger items | Community spread | Core performance | Suggested follow-up actions |
|
|
51
|
+
|---------|-----------|-----------|---------|-------------|
|
|
52
|
+
| High/medium/low | Specific problems | Scope of impact | Specific performance | Handling suggestions |
|
|
53
|
+
|
|
54
|
+
**⛔ Community compliance and risk control interception**
|
|
55
|
+
|
|
56
|
+
| Risk control level | Violation type | Discovery channels | Violation facts | Disposal suggestions |
|
|
57
|
+
|---------|---------|---------|-------------|---------|
|
|
58
|
+
| Serious/General | Violation type | Channel name | Specific facts | Handling suggestions |
|
|
59
|
+
|
|
60
|
+
## Example
|
|
61
|
+
|
|
62
|
+
```bash
|
|
63
|
+
# User input example
|
|
64
|
+
"Help me analyze the feedback on such and such activities"
|
|
65
|
+
"Generate an activity review report for the half-anniversary celebration"
|
|
66
|
+
"Evaluate the effectiveness of this marketing campaign"
|
|
67
|
+
```
|