@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
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
#
|
|
1
|
+
# analysis_meta +delete_track_items (Delete Track Program Items)
|
|
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,8 +10,8 @@ Domain: **Project Configuration**
|
|
|
10
10
|
|
|
11
11
|
## Command
|
|
12
12
|
```bash
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
ae-cli analysis_meta +delete_track_items --project_id <project_id> --delete_data '{}'
|
|
14
|
+
ae-cli analysis_meta +delete_track_items --dry-run
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
## Parameters
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
#
|
|
1
|
+
# analysis +drilldown_user_events (Single-User Event Sequence Drilldown)
|
|
2
2
|
|
|
3
|
-
> **Prerequisite:**
|
|
3
|
+
> **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
|
|
4
4
|
|
|
5
5
|
Domain: **Model analysis**
|
|
6
6
|
|
|
@@ -16,23 +16,23 @@ Domain: **Model analysis**
|
|
|
16
16
|
|
|
17
17
|
## Mandatory prerequisites (MUST)
|
|
18
18
|
- Before constructing `--user_id` / `--event_names` / `--target_dates`, you must first read and follow these reference documents:
|
|
19
|
-
- [`./
|
|
20
|
-
- [
|
|
21
|
-
- [
|
|
19
|
+
- [`./drilldown_users.md`](./drilldown_users.md)
|
|
20
|
+
- [`./list_events.md`](./list_events.md)
|
|
21
|
+
- [`./list_properties.md`](./list_properties.md) (only when passing `--properties`)
|
|
22
22
|
- `user_id` must come from the `+drilldown_users` result; `event_names` / `target_dates` must come from the previous drilldown context or the actual result and must not be guessed.
|
|
23
23
|
- Do not execute single-user event sequence drilldown until the upstream drilldown and result readback are complete.
|
|
24
24
|
|
|
25
25
|
## Prerequisite call chain (required for executing single-user event drilldown)
|
|
26
26
|
1. First execute `+drilldown_users` and obtain the target user and drilldown context.
|
|
27
27
|
2. Confirm the `user_id`, candidate events, and target discrete time points from the previous step result.
|
|
28
|
-
3. If additional property display is needed, first call `
|
|
28
|
+
3. If additional property display is needed, first call `analysis_meta +list_properties --project_id <project_id>` to verify property names.
|
|
29
29
|
4. Call `+drilldown_user_events` to query the event sequence.
|
|
30
30
|
|
|
31
31
|
## Command
|
|
32
32
|
```bash
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
ae-cli analysis +drilldown_user_events --project_id <project_id> --user_id u_123 --event_names '["login"]' --target_dates '["2026-04-08 00:00:00"]'
|
|
34
|
+
ae-cli analysis +drilldown_user_events --project_id <project_id> --user_id u_123 --event_names '["login"]' --target_dates '["2026-04-08 00:00:00"]' --zone_offset 8 --use_cache true --page_num 1 --page_size 20
|
|
35
|
+
ae-cli analysis +drilldown_user_events --dry-run
|
|
36
36
|
```
|
|
37
37
|
|
|
38
38
|
## Parameters
|
|
@@ -40,7 +40,7 @@ te-cli te_analysis +drilldown_user_events --dry-run
|
|
|
40
40
|
|---|---|---|
|
|
41
41
|
| `--project_id` / `-p` | Yes | Project ID |
|
|
42
42
|
| `--user_id` | Yes | User ID from drilldown_users. It must come from drilldown_users and must not be guessed. |
|
|
43
|
-
| `--event_names` | Yes | JSON array of event names. Values should come from upstream drilldown context or `
|
|
43
|
+
| `--event_names` | Yes | JSON array of event names. Values should come from upstream drilldown context or `analysis_meta +list_events` in the same `project_id`. |
|
|
44
44
|
| `--target_dates` | Yes | JSON array of discrete target dates from upstream drilldown context. Not a start/end range. |
|
|
45
45
|
| `--zone_offset` | No | Time zone offset. For example, UTC+8 is 8 |
|
|
46
46
|
| `--properties` | No | Optional event properties JSON array |
|
|
@@ -55,7 +55,7 @@ te-cli te_analysis +drilldown_user_events --dry-run
|
|
|
55
55
|
| `--entity_value` | No | Optional entity value for multi-entity scenarios |
|
|
56
56
|
| `--use_cache` | No | Whether to use cache. Default: true |
|
|
57
57
|
| `--page_num` | No | Start page number, default 1 |
|
|
58
|
-
| `--page_size` | No | Page size, default
|
|
58
|
+
| `--page_size` | No | Page size, default 20, max 50 |
|
|
59
59
|
| `--timeout_minutes` | No | Query timeout in minutes |
|
|
60
60
|
|
|
61
61
|
## Decision Rules
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
#
|
|
1
|
+
# analysis +drilldown_users (drill down analysis results to users)
|
|
2
2
|
|
|
3
|
-
> **Prerequisite:**
|
|
3
|
+
> **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
|
|
4
4
|
|
|
5
5
|
Domain: **Model Analysis**
|
|
6
6
|
|
|
@@ -15,9 +15,9 @@ Domain: **Model Analysis**
|
|
|
15
15
|
|
|
16
16
|
## Mandatory Prerequisites (MUST)
|
|
17
17
|
- Before building `--qp` and the drilldown positioning parameters, you must first read and follow the following reference docs:
|
|
18
|
-
- [`./
|
|
19
|
-
- [`./
|
|
20
|
-
- [`./
|
|
18
|
+
- [`./query_adhoc.md`](./query_adhoc.md)
|
|
19
|
+
- [`./query_report_data.md`](./query_report_data.md)
|
|
20
|
+
- [`./query_dashboard_report_data.md`](./query_dashboard_report_data.md)
|
|
21
21
|
- `qp`, `drilldown_date`, `drilldown_groups`, `event_index`, `retention_days`, `funnel_step`, and other parameters must come from real analysis results and must not be guessed.
|
|
22
22
|
- Do not execute user drilldown until the upstream query and result reread have been completed.
|
|
23
23
|
|
|
@@ -29,9 +29,9 @@ Domain: **Model Analysis**
|
|
|
29
29
|
|
|
30
30
|
## Commands
|
|
31
31
|
```bash
|
|
32
|
-
ae-cli
|
|
33
|
-
ae-cli
|
|
34
|
-
ae-cli
|
|
32
|
+
ae-cli analysis +drilldown_users --project_id <project_id> --model_type event --qp '{}'
|
|
33
|
+
ae-cli analysis +drilldown_users --project_id <project_id> --model_type retention --qp '{}' --drilldown_date 2026-04-08 --drilldown_groups '[]' --event_index 8 --is_lost true --retention_days 8 --is_churned_user true --funnel_step 8 --interval demo --distribution_bucket 8 --compare_index 8 --include_total true --relation_val demo --limit 10 --offset 0
|
|
34
|
+
ae-cli analysis +drilldown_users --dry-run
|
|
35
35
|
```
|
|
36
36
|
|
|
37
37
|
## Parameters
|
|
@@ -49,17 +49,20 @@ ae-cli te_analysis +drilldown_users --dry-run
|
|
|
49
49
|
| `--retention_days` | No | Retention interval in days from the analysis result, for example 7 for day-7 retention. If model_type is 'retention', the retention_days must not be null. |
|
|
50
50
|
| `--is_churned_user` | No | For funnel analysis, true queries churned users for the step and false queries converted users. Default: false |
|
|
51
51
|
| `--funnel_step` | No | Funnel step number from the analysis result starting from 1. If model_type is 'funnel', the funnel_step must not be null. |
|
|
52
|
-
| `--interval` | No | Interval |
|
|
52
|
+
| `--interval` | No | Interval used for interval analysis |
|
|
53
53
|
| `--distribution_bucket` | No | Distribution bucket index from the analysis result |
|
|
54
54
|
| `--compare_index` | No | Comparison index used in comparison analysis scenarios |
|
|
55
55
|
| `--include_total` | No | Whether to query users from the total row. Default: false |
|
|
56
56
|
| `--relation_val` | No | Relation value used in relation analysis scenarios |
|
|
57
57
|
| `--use_cache` | No | Whether to use cache. Default: true |
|
|
58
|
+
| `--limit` | No | Optional limit. Default: 20, maximum: 50. |
|
|
59
|
+
| `--offset` | No | Optional offset. Default: 0. |
|
|
58
60
|
| `--timeout_minutes` | No | Query timeout in minutes. If the query exceeds this time, it will be cancelled automatically. |
|
|
59
61
|
|
|
60
62
|
## Decision Rules
|
|
61
63
|
- Drilldown positioning parameters must come from upstream analysis results and must not be fabricated.
|
|
62
64
|
- `qp` must not be rewritten or "simplified"; it should remain consistent with the source analysis.
|
|
65
|
+
- For pagination, use `--limit` and `--offset` together. Default limit is 20.
|
|
63
66
|
- For the first run, it is recommended to pass only the required parameters (`--project_id`, `--model_type`, `--qp`) and add optional parameters after confirming the chain works.
|
|
64
67
|
- Wrap JSON parameters in single quotes (for example `--qp '{}'`, `--drilldown_groups '{}'`) to avoid shell escaping issues.
|
|
65
68
|
- When dates/time ranges are involved, validate with a short range first and then expand gradually.
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# analysis_meta +generate_track_program (Generate Tracking Plan)
|
|
2
|
+
|
|
3
|
+
> **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
|
|
4
|
+
|
|
5
|
+
Domain: **Project Configuration**
|
|
6
|
+
|
|
7
|
+
## Use Cases
|
|
8
|
+
- Generate a tracking plan from structured business context. This AI generation flow is different from save_track_items: save_track_items persists explicitly provided plan items, while this tool requests AI generation and saves the generated result asynchronously.
|
|
9
|
+
- Users should check the in-site message center for final results.
|
|
10
|
+
|
|
11
|
+
## CRITICAL: Pre-execution Check
|
|
12
|
+
**Before calling this command, you MUST:**
|
|
13
|
+
1. Call `+get_track_program` first to check if a tracking plan already exists.
|
|
14
|
+
2. If the tracking plan is empty/missing, proceed directly with `+generate_track_program`.
|
|
15
|
+
3. If the tracking plan already exists, STOP and warn the user: "A tracking plan already exists. Generating a new one will trigger a merge operation. Do you want to continue?" Wait for user confirmation before proceeding.
|
|
16
|
+
|
|
17
|
+
## Commands
|
|
18
|
+
```bash
|
|
19
|
+
ae-cli analysis_meta +generate_track_program --project_id <project_id> --form_data '{}'
|
|
20
|
+
ae-cli analysis_meta +generate_track_program --dry-run
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Parameters
|
|
24
|
+
| Parameter | Required | Description |
|
|
25
|
+
|-----------------------|----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
26
|
+
| `--project_id` / `-p` | Yes | Project ID |
|
|
27
|
+
| `--form_data` | Yes | Structured business context JSON object. Optional fields: account_system, revenue_model, core_gameplay, currency_system, main_entries, language, predefinedEvent (array of event names like install, start, close), developmentCarrier (array of platforms like Android, iOS, Unity, Cocos, Douyin Mini Game, WeChat Mini Game). All fields can be customized based on business needs. |
|
|
28
|
+
|
|
29
|
+
## Decision Rules
|
|
30
|
+
- **CRITICAL: Always call `+get_track_program` first to check existing tracking plan before generating.**
|
|
31
|
+
- First run should only pass the required parameters (`--project_id`, `--form_data`).
|
|
32
|
+
- Wrap JSON arguments in single quotes (for example `--form_data '{}'`) to avoid shell escaping issues.
|
|
33
|
+
- This is an asynchronous operation; check in-site message center for generation results.
|
|
34
|
+
- For cross-project troubleshooting, first confirm whether `--project_id` matches the current permissions and target environment.
|
|
35
|
+
|
|
36
|
+
## Next Steps After Failure
|
|
37
|
+
- If required parameters are missing, fall back to the smallest runnable command and fill them in (focus on `--project_id` and `--form_data`).
|
|
38
|
+
- If `FORM_DATA_REQUIRED_FIELDS_MISSING` occurs, ensure all required fields are provided: account_system, revenue_model, core_gameplay, currency_system, main_entries, language.
|
|
39
|
+
- If `Invalid JSON` occurs, validate with the smallest JSON structure first.
|
|
40
|
+
|
|
41
|
+
## Agent Response Flow
|
|
42
|
+
**After successful command execution, the agent MUST inform the user in English:**
|
|
43
|
+
1. The command has been submitted successfully
|
|
44
|
+
2. It's running asynchronously in the background
|
|
45
|
+
3. Check the TE page inbox/notifications for the generation results
|
|
46
|
+
|
|
47
|
+
Example response: "Command submitted successfully. The tracking plan generation is running asynchronously. Please check your TE inbox for the results once it completes."
|
|
48
|
+
|
|
49
|
+
## Recommended Chaining
|
|
50
|
+
- **+get_track_program (check existing) -> +generate_track_program (if empty or user confirms) -> (check message center) -> +get_track_program (verify result)**
|
|
51
|
+
- +get_project_config -> +get_track_program -> +generate_track_program
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# analysis_meta +generate_track_sdk_sample (Generate SDK Sample Files)
|
|
2
|
+
|
|
3
|
+
> **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
|
|
4
|
+
|
|
5
|
+
Domain: **Project Configuration**
|
|
6
|
+
|
|
7
|
+
## Use Cases
|
|
8
|
+
- Generate SDK sample files based on the current tracking plan and requested SDK types. This flow is asynchronous and users should check in-site messages for final downloadable results.
|
|
9
|
+
- Useful for developers who need SDK integration code samples based on the tracking plan.
|
|
10
|
+
|
|
11
|
+
## Commands
|
|
12
|
+
```bash
|
|
13
|
+
ae-cli analysis_meta +generate_track_sdk_sample --project_id <project_id> --sdk_type '["android-java","ios-swift"]'
|
|
14
|
+
ae-cli analysis_meta +generate_track_sdk_sample --dry-run
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Parameters
|
|
18
|
+
| Parameter | Required | Description |
|
|
19
|
+
|---|---|---|
|
|
20
|
+
| `--project_id` / `-p` | Yes | Project ID |
|
|
21
|
+
| `--sdk_type` | Yes | SDK types as JSON array. Allowed values: android-java, server-php, ios-swift, server-python, web-js, server-java, server-nodejs, wechat-miniapp, harmonyos-arkts, android-kotlin, unity-csharp, cocos-creator-ts, server-go, server-cpp, ios-objc. |
|
|
22
|
+
|
|
23
|
+
## Decision Rules
|
|
24
|
+
- First run should only pass the required parameters (`--project_id`, `--sdk_type`).
|
|
25
|
+
- Wrap JSON arguments in single quotes (for example `--sdk_type '["android-java"]'`) to avoid shell escaping issues.
|
|
26
|
+
- This is an asynchronous operation; check in-site message center for downloadable SDK sample results.
|
|
27
|
+
- For cross-project troubleshooting, first confirm whether `--project_id` matches the current permissions and target environment.
|
|
28
|
+
|
|
29
|
+
## Next Steps After Failure
|
|
30
|
+
- If required parameters are missing, fall back to the smallest runnable command and fill them in (focus on `--project_id` and `--sdk_type`).
|
|
31
|
+
- If `SDK_TYPE_INVALID` occurs, verify that all SDK types are from the allowed values list: android-java, server-php, ios-swift, server-python, web-js, server-java, server-nodejs, wechat-miniapp, harmonyos-arkts, android-kotlin, unity-csharp, cocos-creator-ts, server-go, server-cpp, ios-objc.
|
|
32
|
+
- If `Invalid JSON` occurs, validate with the smallest JSON array first (for example `["android-java"]`).
|
|
33
|
+
|
|
34
|
+
## Agent Response Flow
|
|
35
|
+
**After successful command execution, the agent MUST inform the user in English:**
|
|
36
|
+
1. The command has been submitted successfully
|
|
37
|
+
2. It's running asynchronously in the background
|
|
38
|
+
3. Check the TE page inbox/notifications for the final downloadable results
|
|
39
|
+
|
|
40
|
+
Example response: "Command submitted successfully. The SDK sample generation is running asynchronously. Please check your TE inbox for the download link once it completes."
|
|
41
|
+
|
|
42
|
+
## Recommended Chaining
|
|
43
|
+
- +get_track_program -> +generate_track_sdk_sample -> (check message center for download)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
#
|
|
1
|
+
# analysis +get_alert (view alert definition)
|
|
2
2
|
|
|
3
|
-
> **Prerequisite:**
|
|
3
|
+
> **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
|
|
4
4
|
|
|
5
5
|
Domain: **Metadata Lookup**
|
|
6
6
|
|
|
@@ -9,8 +9,8 @@ Domain: **Metadata Lookup**
|
|
|
9
9
|
|
|
10
10
|
## Commands
|
|
11
11
|
```bash
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
ae-cli analysis +get_alert --project_id <project_id> --alert_id 1
|
|
13
|
+
ae-cli analysis +get_alert --dry-run
|
|
14
14
|
```
|
|
15
15
|
|
|
16
16
|
## Parameters
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
#
|
|
1
|
+
# analysis +get_alert_definition_schema (Get Alert Definition Schema)
|
|
2
2
|
|
|
3
|
-
> **Prerequisite:**
|
|
3
|
+
> **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
|
|
4
4
|
|
|
5
5
|
Domain: **Metadata queries**
|
|
6
6
|
|
|
@@ -13,8 +13,8 @@ Domain: **Metadata queries**
|
|
|
13
13
|
|
|
14
14
|
## Command
|
|
15
15
|
```bash
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
ae-cli analysis +get_alert_definition_schema
|
|
17
|
+
ae-cli analysis +get_alert_definition_schema --dry-run
|
|
18
18
|
```
|
|
19
19
|
|
|
20
20
|
## Parameters
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# analysis +get_analysis_query_schema (Get Analysis Query Schema)
|
|
2
|
+
|
|
3
|
+
> **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
|
|
4
|
+
|
|
5
|
+
Domain: **Model schema queries**
|
|
6
|
+
|
|
7
|
+
> **CRITICAL - Step-by-Step Execution (BLOCKING)**
|
|
8
|
+
>
|
|
9
|
+
> **You MUST execute these steps in order. Do NOT skip any step.**
|
|
10
|
+
>
|
|
11
|
+
> | Step | Command | When to proceed |
|
|
12
|
+
> |------|---------|-----------------|
|
|
13
|
+
> | **Step 1 (MANDATORY)** | `--model_type <type>` **without `--segments`** | Always execute first. Review result. |
|
|
14
|
+
> | **Step 2 (OPTIONAL)** | Add `--segments 'filter_group'` | Only if Step 1 result lacks filter/groupBy structures AND you need them |
|
|
15
|
+
> | **Step 3 (OPTIONAL)** | Add `--segments 'examples'` | Only if Step 1+2 insufficient for multi-metric, time comparison, formulas |
|
|
16
|
+
>
|
|
17
|
+
> **WRONG:** `ae-cli analysis +get_analysis_query_schema --model_type distribution --segments 'examples'` ← **Never start here!**
|
|
18
|
+
> **RIGHT:** `ae-cli analysis +get_analysis_query_schema --model_type distribution` → review → add segments if needed
|
|
19
|
+
|
|
20
|
+
## Pre-call Checklist (Execute in Order)
|
|
21
|
+
|
|
22
|
+
1. ✓ **Step 1 completed?** → Review core schema
|
|
23
|
+
2. ✓ **Gap identified?** → Justify need (e.g., "need filter_group structure")
|
|
24
|
+
3. ✓ **Justified?** → Call again with specific segment
|
|
25
|
+
|
|
26
|
+
**Rule**: Uncertain → execute Step 1 first.
|
|
27
|
+
|
|
28
|
+
## Command (Execute in Order)
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
# Step 1: ALWAYS START HERE (no segments)
|
|
32
|
+
ae-cli analysis +get_analysis_query_schema --model_type event
|
|
33
|
+
|
|
34
|
+
# Step 2: Only after Step 1, if filter/groupBy needed
|
|
35
|
+
ae-cli analysis +get_analysis_query_schema --model_type event --segments 'filter_group' --include_core false
|
|
36
|
+
|
|
37
|
+
# Step 3: Only after Step 1/2, for complex scenarios
|
|
38
|
+
ae-cli analysis +get_analysis_query_schema --model_type event --segments 'examples' --include_core false
|
|
39
|
+
|
|
40
|
+
# Follow-up request (already have core from earlier step in same session)
|
|
41
|
+
ae-cli analysis +get_analysis_query_schema --model_type event --segments 'examples' --include_core false
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## Parameters
|
|
45
|
+
|
|
46
|
+
| Parameter | Required | Description |
|
|
47
|
+
|---|---|---|
|
|
48
|
+
| `--model_type` | Yes | Model type: event, retention, funnel, distribution, sql, interval, path, attribution, prop_analysis, rank_list, heat_map |
|
|
49
|
+
| `--segments` | No | `core` (default), `filter_group`, `calctype`, `aggregatetype`, `examples`, `full`. Empty → core only. |
|
|
50
|
+
| `--include_core` | No | Default: true. Set false for follow-up requests when core already retrieved. |
|
|
51
|
+
|
|
52
|
+
## 场景分级
|
|
53
|
+
|
|
54
|
+
| 场景 | 参数 | 执行顺序 |
|
|
55
|
+
|---|---|---|
|
|
56
|
+
| 简单 | 不传 `--segments` | **Step 1** - 单事件、单指标、无过滤、无分组 |
|
|
57
|
+
| 中等 | `--segments 'filter_group'` | **Step 2** - 有过滤或分组,需先完成 Step 1 |
|
|
58
|
+
| 复杂 | `--segments 'examples'` | **Step 3** - 多指标、时间对比、自定义公式,需先完成 Step 1 |
|
|
59
|
+
|
|
60
|
+
## Next Steps on Failure
|
|
61
|
+
- Verify model type and segment compatibility (e.g., aggregatetype not for funnel/path/interval/sql)
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# analysis_audience +get_cluster_definition_schema (Get Cluster Definition Schema)
|
|
2
|
+
|
|
3
|
+
> **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../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 verify metadata in the same session and `project_id` (first build/update calls `analysis_meta +list_events` / `analysis_meta +list_properties`; later calls should reuse session-verified results first), and finally create or update clusters.
|
|
10
|
+
- Get the cluster definition schema. Supports cluster type + response mode + condition subtype.
|
|
11
|
+
|
|
12
|
+
## Commands
|
|
13
|
+
```bash
|
|
14
|
+
ae-cli analysis_audience +get_cluster_definition_schema --cluster_type condition
|
|
15
|
+
ae-cli analysis_audience +get_cluster_definition_schema --cluster_type sql
|
|
16
|
+
ae-cli analysis_audience +get_cluster_definition_schema --cluster_type condition --response_mode base
|
|
17
|
+
ae-cli analysis_audience +get_cluster_definition_schema --cluster_type condition --response_mode examples --condition_subtype behavior_seq
|
|
18
|
+
ae-cli analysis_audience +get_cluster_definition_schema --dry-run
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Parameters
|
|
22
|
+
| Parameter | Required | Description |
|
|
23
|
+
|---|---|---|
|
|
24
|
+
| `--cluster_type` | Yes | Cluster type. Supported values: condition and sql |
|
|
25
|
+
| `--response_mode` | No | Schema response mode. Supported values: `base`, `examples`, `full`. Default: `base`. |
|
|
26
|
+
| `--condition_subtype` | No | Only effective when `--cluster_type condition`. Supported values: `core`, `behavior_seq`, `all`. Default: `core`. |
|
|
27
|
+
|
|
28
|
+
## Progressive Loading Strategy
|
|
29
|
+
- Use the smallest response that can solve the current task. Large schemas consume context and can make the follow-up definition construction less reliable.
|
|
30
|
+
- Start with `--response_mode base` or omit `--response_mode` for simple condition clusters and SQL clusters.
|
|
31
|
+
- Request `--response_mode examples` only when the base schema is not enough to build or validate the target `definition`.
|
|
32
|
+
- Request `--response_mode full` only for complex, ambiguous, or repeatedly failing definition construction. Do not use `full` by default.
|
|
33
|
+
- For normal condition clusters, use the default `--condition_subtype core`.
|
|
34
|
+
- Use `--condition_subtype behavior_seq` only when the user specifically needs behavior sequence conditions.
|
|
35
|
+
- Use `--condition_subtype all` only when comparing condition subtypes or when the exact subtype cannot be determined after reading the user request. Avoid `all` for simple creation/update tasks.
|
|
36
|
+
- For clear SQL cluster requests, call `--cluster_type sql` with base mode first.
|
|
37
|
+
|
|
38
|
+
## Decision Rules
|
|
39
|
+
- `--cluster_type` must be explicitly set to `condition` or `sql`.
|
|
40
|
+
- Prefer `--response_mode base` first; request `examples` only when needed; request `full` only as a last resort.
|
|
41
|
+
- `--condition_subtype` should only be passed for `condition` schemas.
|
|
42
|
+
- It is recommended to run `--dry-run` first to inspect the request mapping before making the actual call.
|
|
43
|
+
- 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 `analysis_meta` metadata interfaces.
|
|
44
|
+
- Before calling `analysis_meta +list_events` / `analysis_meta +list_properties`, first read their reference docs to confirm the parameter and return-field meanings. Query metadata on the first build/update in this session for the same `project_id`; after that, prefer reusing session-verified metadata.
|
|
45
|
+
|
|
46
|
+
## Next Step on Failure
|
|
47
|
+
- If reading fails, first verify whether the object ID exists and belongs to the current project.
|
|
48
|
+
- If the schema does not match expectations, confirm whether the correct schema interface was used (filter/groupby/query/tag/cluster).
|
|
49
|
+
|
|
50
|
+
## Recommended Chain
|
|
51
|
+
- First read: [`./get_cluster_definition_schema.md`](./get_cluster_definition_schema.md) -> [`./list_events.md`](./list_events.md) -> [`./list_properties.md`](./list_properties.md)
|
|
52
|
+
- +get_cluster_definition_schema -> (first build/update in session or refresh) analysis_meta +list_events -> analysis_meta +list_properties -> +create_cluster
|
|
53
|
+
- +get_cluster_definition_schema -> (first build/update in session or refresh) analysis_meta +list_events -> analysis_meta +list_properties -> +update_cluster
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
# analysis_audience +get_clusters_by_name (Locate Clusters by Name)
|
|
2
|
+
|
|
3
|
+
> **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../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
|
+
ae-cli analysis_audience +get_clusters_by_name --project_id <project_id> --names '["demo"]'
|
|
13
|
+
ae-cli analysis_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
|
+
## Enum Codebook (Asset Definition Interpretation Only)
|
|
28
|
+
|
|
29
|
+
When interpreting cluster `definition` for users, if operator enum codes appear, use the following complete `calcuSymbol` mapping instead of outputting raw codes only.
|
|
30
|
+
|
|
31
|
+
| Code | Meaning | Applicable Types |
|
|
32
|
+
|---|---|---|
|
|
33
|
+
| `C00` | equals | all |
|
|
34
|
+
| `C000` | equals empty string | string |
|
|
35
|
+
| `C01` | not equals | all |
|
|
36
|
+
| `C010` | not equals empty string | string |
|
|
37
|
+
| `C02` | less than | number |
|
|
38
|
+
| `C020` | less than or equal | number |
|
|
39
|
+
| `C03` | greater than | number |
|
|
40
|
+
| `C030` | greater than or equal | number |
|
|
41
|
+
| `C04` | has value | all |
|
|
42
|
+
| `C05` | no value | all |
|
|
43
|
+
| `C06` | range | number/date |
|
|
44
|
+
| `C060` | date range | date |
|
|
45
|
+
| `C07` | contains | string |
|
|
46
|
+
| `C08` | does not contain | string |
|
|
47
|
+
| `C09` | true | bool |
|
|
48
|
+
| `C10` | false | bool |
|
|
49
|
+
| `C11` | regex match | string |
|
|
50
|
+
| `C12` | regex does not match | string |
|
|
51
|
+
| `C13` | relative to current time | date/datetime |
|
|
52
|
+
| `C14` | relative to event time | date/datetime |
|
|
53
|
+
| `C15` | element exists | array |
|
|
54
|
+
| `C16` | element does not exist | array |
|
|
55
|
+
| `C17` | element position | array |
|
|
56
|
+
| `C18` | no value | array |
|
|
57
|
+
| `C19` | has value | array |
|
|
58
|
+
| `C20` | belongs to cluster | cluster/tag (`tableType="2"`) |
|
|
59
|
+
| `C21` | does not belong to cluster | cluster/tag (`tableType="2"`) |
|
|
60
|
+
| `C22` | object exists that satisfies condition | array |
|
|
61
|
+
| `C23` | no object satisfies condition | array |
|
|
62
|
+
| `C24` | all objects satisfy condition | array |
|
|
63
|
+
|
|
64
|
+
## Next Step on Failure
|
|
65
|
+
- If required parameters are missing, fall back to the smallest runnable command and fill the gap (focus on `--project_id`, `--names`).
|
|
66
|
+
- If reading fails, first verify whether the object ID exists and belongs to the current project.
|
|
67
|
+
|
|
68
|
+
## Recommended Chain
|
|
69
|
+
- +list_clusters -> +get_clusters_by_name -> +update_cluster
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
#
|
|
1
|
+
# analysis +get_filter_schema (get filter schema)
|
|
2
2
|
|
|
3
|
-
> **Prerequisite:**
|
|
3
|
+
> **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
|
|
4
4
|
|
|
5
5
|
Domain: **Schema Queries**
|
|
6
6
|
|
|
@@ -13,8 +13,8 @@ Domain: **Schema Queries**
|
|
|
13
13
|
|
|
14
14
|
## Commands
|
|
15
15
|
```bash
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
ae-cli analysis +get_filter_schema
|
|
17
|
+
ae-cli analysis +get_filter_schema --dry-run
|
|
18
18
|
```
|
|
19
19
|
|
|
20
20
|
## Parameters
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
#
|
|
1
|
+
# analysis +get_groupby_schema (Get Group-By Schema)
|
|
2
2
|
|
|
3
|
-
> **Prerequisite:**
|
|
3
|
+
> **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
|
|
4
4
|
|
|
5
5
|
Domain: **Schema queries**
|
|
6
6
|
|
|
@@ -13,8 +13,8 @@ Domain: **Schema queries**
|
|
|
13
13
|
|
|
14
14
|
## Command
|
|
15
15
|
```bash
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
ae-cli analysis +get_groupby_schema
|
|
17
|
+
ae-cli analysis +get_groupby_schema --dry-run
|
|
18
18
|
```
|
|
19
19
|
|
|
20
20
|
## Parameters
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
#
|
|
1
|
+
# analysis_meta +get_metric (View Metric Details)
|
|
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
|
|
|
@@ -10,8 +10,8 @@ Domain: **Metadata Query**
|
|
|
10
10
|
|
|
11
11
|
## Commands
|
|
12
12
|
```bash
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
ae-cli analysis_meta +get_metric --project_id <project_id> --metric_id 1
|
|
14
|
+
ae-cli analysis_meta +get_metric --dry-run
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
## Parameters
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
#
|
|
1
|
+
# analysis_meta +get_project_config (Read Project Analysis Configuration)
|
|
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,8 +10,8 @@ Domain: **Project Configuration**
|
|
|
10
10
|
|
|
11
11
|
## Command
|
|
12
12
|
```bash
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
ae-cli analysis_meta +get_project_config --project_id <project_id>
|
|
14
|
+
ae-cli analysis_meta +get_project_config --dry-run
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
## Parameters
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
#
|
|
1
|
+
# analysis +get_report_definition (read report definition)
|
|
2
2
|
|
|
3
|
-
> **Prerequisite:**
|
|
3
|
+
> **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
|
|
4
4
|
|
|
5
5
|
Domain: **Report Management**
|
|
6
6
|
|
|
@@ -11,8 +11,8 @@ Domain: **Report Management**
|
|
|
11
11
|
|
|
12
12
|
## Commands
|
|
13
13
|
```bash
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
ae-cli analysis +get_report_definition --project_id <project_id> --report_id 1
|
|
15
|
+
ae-cli analysis +get_report_definition --dry-run
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
## Parameters
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Resource link completion (call analysis_common +get_resource_url)
|
|
2
2
|
|
|
3
|
-
> **Prerequisite:**
|
|
3
|
+
> **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
|
|
4
4
|
|
|
5
5
|
Domain: **cross-module post-write constraint**
|
|
6
6
|
|
|
7
7
|
## Use Cases
|
|
8
|
-
- After a `create_*` or `update_*` write operation succeeds in
|
|
8
|
+
- After a `create_*` or `update_*` write operation succeeds in this unified skill, complete the clickable asset link.
|
|
9
9
|
- Supported resource types (resourceType): `dashboard`, `report`, `metric`, `alert`, `tag`, `cluster`, `data_table`, `super_event`, `super_prop_user`, `super_prop_event`, `virtual_event`, `user_virtual_prop`, `event_virtual_prop`.
|
|
10
10
|
- Key return fields: `markdown_link`, `raw_url`.
|
|
11
11
|
|
|
@@ -16,8 +16,8 @@ Domain: **cross-module post-write constraint**
|
|
|
16
16
|
|
|
17
17
|
## Command
|
|
18
18
|
```bash
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
ae-cli analysis_common +get_resource_url --project_id <project_id> --resource_type dashboard --resource_id 1
|
|
20
|
+
ae-cli analysis_common +get_resource_url --dry-run
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
## Parameters
|
|
@@ -28,5 +28,5 @@ te-cli te_common +get_resource_url --dry-run
|
|
|
28
28
|
| `--resource_id` | Yes | Numeric resource ID |
|
|
29
29
|
|
|
30
30
|
## Recommended Chaining
|
|
31
|
-
- `+create_*` -> `
|
|
32
|
-
- `+update_*` -> `
|
|
31
|
+
- `+create_*` -> `analysis_common +get_resource_url`
|
|
32
|
+
- `+update_*` -> `analysis_common +get_resource_url`
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
#
|
|
1
|
+
# analysis +get_table_columns (Read Underlying Table Columns)
|
|
2
2
|
|
|
3
|
-
> **Prerequisite:**
|
|
3
|
+
> **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
|
|
4
4
|
|
|
5
5
|
Domain: **Model analysis**
|
|
6
6
|
|
|
@@ -14,8 +14,8 @@ Domain: **Model analysis**
|
|
|
14
14
|
|
|
15
15
|
## Command
|
|
16
16
|
```bash
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
ae-cli analysis +get_table_columns --project_id <project_id> --catalog demo --schema demo --table demo
|
|
18
|
+
ae-cli analysis +get_table_columns --dry-run
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
## Parameters
|