@thinkingai/ae-cli 1.0.3 → 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 +24 -53
- package/README.zh.md +203 -0
- package/dist/{auth-BQC5DBE7.js → auth-4GAHTBVH.js} +1 -1
- package/dist/{auth-DXKYLMO7.js → auth-U2GHFMFY.js} +5 -5
- package/dist/{chunk-ZYXIGPG7.js → chunk-OQ4XEG77.js} +2 -2
- package/dist/{chunk-53FNNCZW.js → chunk-TJIMDNAU.js} +1 -1
- package/dist/{chunk-3CDLNXTD.js → chunk-UK6HO5O5.js} +2 -2
- package/dist/{client-T4VODLA6.js → client-HU63573O.js} +2 -2
- package/dist/{config-V7AXKDMB.js → config-OLF7RBPM.js} +4 -4
- package/dist/index.js +14 -14
- package/dist/{raw-G3GKHAPZ.js → raw-GDO4IWNW.js} +3 -3
- package/dist/{te-analysis-CHFTDN55.js → te-analysis-ZDJXMWZY.js} +61 -23
- package/dist/{te-audience-M6LQY6M7.js → te-audience-T5B52EEB.js} +60 -20
- package/dist/{te-common-BLQ7DVGC.js → te-common-BPTXXTHQ.js} +5 -32
- package/dist/{community-FVDAWGS4.js → te-community-FPB5LH56.js} +58 -58
- package/dist/{te-dataops-V4OTKY35.js → te-dataops-2NUJVG47.js} +2 -27
- package/dist/{te-engage-DXE4R5EW.js → te-engage-K3EANZ5P.js} +3 -21
- package/dist/{te-meta-FMM7KCVI.js → te-meta-JJMV75KB.js} +85 -17
- package/package.json +3 -3
- package/skills/ae-analysis/SKILL.md +229 -0
- package/skills/{te-meta/references/batch-create-metadata.md → ae-analysis/references/batch_create_metadata.md} +3 -3
- package/skills/{te-meta/references/batch-edit-metadata.md → ae-analysis/references/batch_edit_metadata.md} +2 -2
- package/skills/{te-analysis/references/build-entity-details-sql.md → ae-analysis/references/build_entity_details_sql.md} +9 -9
- package/skills/{te-analysis/references/build-event-details-sql.md → ae-analysis/references/build_event_details_sql.md} +9 -9
- package/skills/{te-analysis/references/create-alert.md → ae-analysis/references/create_alert.md} +4 -4
- package/skills/{te-audience/references/create-cluster.md → ae-analysis/references/create_cluster.md} +23 -19
- package/skills/{te-analysis/references/create-dashboard.md → ae-analysis/references/create_dashboard.md} +4 -4
- package/skills/{te-meta/references/create-metric.md → ae-analysis/references/create_metric.md} +10 -10
- package/skills/{te-analysis/references/create-or-update-dashboard-note.md → ae-analysis/references/create_or_update_dashboard_note.md} +3 -3
- package/skills/{te-meta/references/create-project-mark-time.md → ae-analysis/references/create_project_mark_time.md} +3 -3
- package/skills/{te-analysis/references/create-public-access-link.md → ae-analysis/references/create_public_access_link.md} +3 -3
- package/skills/{te-analysis/references/create-report.md → ae-analysis/references/create_report.md} +9 -9
- package/skills/{te-analysis/references/create-result-cluster.md → ae-analysis/references/create_result_cluster.md} +6 -6
- package/skills/{te-audience/references/create-tag.md → ae-analysis/references/create_tag.md} +16 -15
- package/skills/{te-meta/references/create-virtual-event.md → ae-analysis/references/create_virtual_event.md} +9 -9
- package/skills/{te-meta/references/create-virtual-property.md → ae-analysis/references/create_virtual_property.md} +7 -7
- package/skills/{te-meta/references/delete-project-mark-times.md → ae-analysis/references/delete_project_mark_times.md} +2 -2
- package/skills/{te-meta/references/delete-track-items.md → ae-analysis/references/delete_track_items.md} +2 -2
- package/skills/{te-analysis/references/drilldown-user-events.md → ae-analysis/references/drilldown_user_events.md} +8 -8
- package/skills/{te-analysis/references/drilldown-users.md → ae-analysis/references/drilldown_users.md} +10 -7
- 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} +2 -2
- package/skills/{te-analysis/references/get-alert-definition-schema.md → ae-analysis/references/get_alert_definition_schema.md} +1 -1
- 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} +1 -1
- package/skills/{te-analysis/references/get-groupby-schema.md → ae-analysis/references/get_groupby_schema.md} +1 -1
- package/skills/{te-meta/references/get-metric.md → ae-analysis/references/get_metric.md} +2 -2
- package/skills/{te-meta/references/get-project-config.md → ae-analysis/references/get_project_config.md} +2 -2
- package/skills/{te-analysis/references/get-report-definition.md → ae-analysis/references/get_report_definition.md} +2 -2
- package/skills/{te-common/references/get-resource-url.md → ae-analysis/references/get_resource_url.md} +4 -4
- package/skills/{te-analysis/references/get-table-columns.md → ae-analysis/references/get_table_columns.md} +2 -2
- 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} +2 -2
- package/skills/{te-analysis/references/list-alerts.md → ae-analysis/references/list_alerts.md} +6 -3
- package/skills/{te-audience/references/list-cluster-members.md → ae-analysis/references/list_cluster_members.md} +11 -4
- package/skills/{te-audience/references/list-clusters.md → ae-analysis/references/list_clusters.md} +10 -4
- package/skills/{te-analysis/references/list-dashboards.md → ae-analysis/references/list_dashboards.md} +8 -4
- package/skills/{te-meta/references/list-entities.md → ae-analysis/references/list_entities.md} +10 -3
- package/skills/{te-meta/references/list-events.md → ae-analysis/references/list_events.md} +8 -5
- 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} +2 -2
- package/skills/{te-common/references/list-projects.md → ae-analysis/references/list_projects.md} +6 -4
- package/skills/{te-meta/references/list-properties.md → ae-analysis/references/list_properties.md} +9 -4
- 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} +8 -4
- package/skills/{te-audience/references/list-tag-members.md → ae-analysis/references/list_tag_members.md} +11 -4
- package/skills/{te-audience/references/list-tags.md → ae-analysis/references/list_tags.md} +10 -4
- package/skills/{te-analysis/references/load-filters.md → ae-analysis/references/load_filters.md} +3 -3
- package/skills/{te-analysis/references/query-adhoc.md → ae-analysis/references/query_adhoc.md} +14 -9
- package/skills/{te-analysis/references/query-dashboard-detail.md → ae-analysis/references/query_dashboard_detail.md} +2 -2
- package/skills/{te-analysis/references/query-dashboard-report-data.md → ae-analysis/references/query_dashboard_report_data.md} +9 -9
- package/skills/{te-analysis/references/query-entity-details.md → ae-analysis/references/query_entity_details.md} +10 -10
- package/skills/{te-analysis/references/query-event-details.md → ae-analysis/references/query_event_details.md} +12 -12
- package/skills/{te-analysis/references/query-report-data.md → ae-analysis/references/query_report_data.md} +11 -11
- package/skills/{te-audience/references/refresh-cluster.md → ae-analysis/references/refresh_cluster.md} +2 -2
- package/skills/{te-audience/references/refresh-tag.md → ae-analysis/references/refresh_tag.md} +2 -2
- package/skills/{te-meta/references/save-track-items.md → ae-analysis/references/save_track_items.md} +2 -2
- package/skills/{te-analysis/references/update-alert.md → ae-analysis/references/update_alert.md} +4 -4
- package/skills/{te-audience/references/update-cluster.md → ae-analysis/references/update_cluster.md} +15 -13
- package/skills/{te-analysis/references/update-dashboard.md → ae-analysis/references/update_dashboard.md} +3 -3
- package/skills/{te-meta/references/update-metric.md → ae-analysis/references/update_metric.md} +9 -9
- package/skills/{te-meta/references/update-project-mark-time.md → ae-analysis/references/update_project_mark_time.md} +3 -3
- package/skills/{te-analysis/references/update-public-access-link.md → ae-analysis/references/update_public_access_link.md} +3 -3
- package/skills/{te-audience/references/update-tag.md → ae-analysis/references/update_tag.md} +15 -14
- package/skills/ae-community/SKILL.md +305 -0
- package/skills/{te-community → ae-community}/references/community-activity-analysis.md +6 -7
- package/skills/{te-community → ae-community}/references/community-analyzing-official-content.md +3 -4
- package/skills/{te-community → ae-community}/references/community-analyzing-theme-comment.md +5 -6
- package/skills/{te-community → ae-community}/references/community-character-analysis.md +5 -6
- package/skills/{te-community → ae-community}/references/community-daily-report.md +7 -8
- package/skills/{te-community → ae-community}/references/community-hottopic-insight.md +4 -5
- package/skills/{te-community → ae-community}/references/community-weekly-report.md +7 -8
- package/skills/{te-community → ae-community}/references/get_channel_info.md +4 -5
- package/skills/{te-community → ae-community}/references/get_comment_tag_analysis.md +3 -4
- package/skills/{te-community → ae-community}/references/get_comments_summary.md +4 -5
- package/skills/{te-community → ae-community}/references/get_corpus_tags.md +3 -4
- package/skills/{te-community → ae-community}/references/get_daily_summary.md +3 -4
- package/skills/{te-community → ae-community}/references/get_hot_topics.md +3 -4
- package/skills/{te-community → ae-community}/references/get_livestream_analysis.md +3 -4
- package/skills/{te-community → ae-community}/references/get_livestream_detail.md +4 -5
- package/skills/{te-community → ae-community}/references/get_livestream_list.md +3 -4
- package/skills/{te-community → ae-community}/references/get_livestream_overview.md +3 -4
- package/skills/{te-community → ae-community}/references/get_livestream_room_metrics.md +3 -4
- package/skills/{te-community → ae-community}/references/get_livestream_rooms.md +3 -4
- package/skills/{te-community → ae-community}/references/get_overview_metrics.md +3 -4
- package/skills/{te-community → ae-community}/references/get_post_detail.md +4 -5
- package/skills/{te-community → ae-community}/references/get_risk_content.md +5 -6
- package/skills/{te-community → ae-community}/references/get_sentiment_overview.md +4 -5
- package/skills/{te-community → ae-community}/references/get_tag_trends.md +3 -4
- package/skills/{te-community → ae-community}/references/get_topic_detail.md +3 -4
- package/skills/{te-community → ae-community}/references/search_posts.md +5 -6
- package/skills/{te-dataops → ae-dataops}/SKILL.md +73 -10
- package/skills/{te-dataops → ae-dataops}/references/dataops-flow-create.md +1 -1
- package/skills/{te-dataops → ae-dataops}/references/dataops-flow-monitor.md +1 -1
- package/skills/{te-dataops → ae-dataops}/references/dataops-integration.md +1 -1
- package/skills/{te-dataops → ae-dataops}/references/dataops-query.md +1 -1
- package/skills/{te-dataops → ae-dataops}/references/dataops-table.md +1 -1
- package/skills/{te-engage → ae-engage}/SKILL.md +106 -6
- package/skills/{te-engage → ae-engage}/references/add-approver.md +2 -2
- package/skills/{te-engage → ae-engage}/references/add-channel.md +2 -2
- package/skills/{te-engage → ae-engage}/references/approver-list.md +2 -2
- package/skills/{te-engage → ae-engage}/references/cancel-query-by-request-id.md +2 -2
- package/skills/{te-engage → ae-engage}/references/channel-detail.md +2 -2
- package/skills/{te-engage → ae-engage}/references/channel-list.md +2 -2
- package/skills/{te-engage → ae-engage}/references/config-channel-detail.md +2 -2
- package/skills/{te-engage → ae-engage}/references/config-channel-list.md +2 -2
- package/skills/{te-engage → ae-engage}/references/config-item-analysis-report.md +2 -2
- package/skills/{te-engage → ae-engage}/references/config-item-detail.md +2 -2
- package/skills/{te-engage → ae-engage}/references/config-item-list.md +2 -2
- package/skills/{te-engage → ae-engage}/references/config-item-strategy-comparison.md +2 -2
- package/skills/{te-engage → ae-engage}/references/config-item-trigger-report.md +2 -2
- package/skills/{te-engage → ae-engage}/references/copy-config-template.md +2 -2
- package/skills/{te-engage → ae-engage}/references/delete-channel.md +2 -2
- package/skills/{te-engage → ae-engage}/references/delete-config-channel.md +2 -2
- package/skills/{te-engage → ae-engage}/references/delete-config-item.md +2 -2
- package/skills/{te-engage → ae-engage}/references/delete-flow.md +2 -2
- package/skills/{te-engage → ae-engage}/references/flow-ab-split-node-report.md +2 -2
- package/skills/{te-engage → ae-engage}/references/flow-detail.md +2 -2
- package/skills/{te-engage → ae-engage}/references/flow-list.md +2 -2
- package/skills/{te-engage → ae-engage}/references/flow-node-config-schema.md +2 -2
- package/skills/{te-engage → ae-engage}/references/flow-node-detail-report.md +2 -2
- package/skills/{te-engage → ae-engage}/references/flow-node-overview-report.md +2 -2
- package/skills/{te-engage → ae-engage}/references/flow-process-report.md +2 -2
- package/skills/{te-engage → ae-engage}/references/manage-flow.md +2 -2
- package/skills/{te-engage → ae-engage}/references/manage-strategy.md +2 -2
- package/skills/{te-engage → ae-engage}/references/manage-task.md +2 -2
- package/skills/{te-engage → ae-engage}/references/modify-flow-base-info.md +2 -2
- package/skills/{te-engage → ae-engage}/references/save-flow.md +3 -3
- package/skills/{te-engage → ae-engage}/references/strategy-detail.md +2 -2
- package/skills/{te-engage → ae-engage}/references/strategy-list.md +2 -2
- package/skills/{te-engage → ae-engage}/references/task-data-detail.md +3 -10
- package/skills/{te-engage → ae-engage}/references/task-data-overview.md +3 -9
- package/skills/{te-engage → ae-engage}/references/task-detail.md +2 -2
- package/skills/{te-engage → ae-engage}/references/task-experiment-report.md +3 -9
- package/skills/{te-engage → ae-engage}/references/task-list.md +2 -2
- package/skills/{te-engage → ae-engage}/references/task-metric-detail.md +3 -9
- package/skills/{te-engage → ae-engage}/references/task-stats.md +2 -2
- package/skills/{te-engage → ae-engage}/references/update-channel-status.md +2 -2
- package/skills/{te-engage → ae-engage}/references/update-config-channel-status.md +2 -2
- package/skills/{te-engage → ae-engage}/references/validate-flow-node-config.md +2 -2
- package/skills/{te-engage → ae-engage}/references/whitelist-list.md +2 -2
- package/dist/auth-JXELJNDS.js +0 -19
- package/dist/auth-L3G3A74I.js +0 -67
- package/dist/chunk-3GM5LJZR.js +0 -145
- package/dist/chunk-JD5DXMKL.js +0 -172
- package/dist/chunk-OVQOK35G.js +0 -108
- package/dist/chunk-RJNLN3KQ.js +0 -217
- package/dist/client-5QSQBBDB.js +0 -16
- package/dist/community-GMALVSRF.js +0 -684
- package/dist/config-Q7J3Z7Z2.js +0 -242
- package/dist/raw-ZNVURYMR.js +0 -59
- package/dist/te-analysis-7NN3SY3I.js +0 -871
- package/dist/te-audience-P43BWMHM.js +0 -350
- package/dist/te-common-H3IPTI2I.js +0 -144
- package/dist/te-dataops-WCGDBJLF.js +0 -1853
- package/dist/te-engage-UTRVNTGU.js +0 -1470
- package/dist/te-meta-HGYNXVGF.js +0 -479
- 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 -125
- 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
|
@@ -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,7 +9,7 @@ Domain: **Metadata Lookup**
|
|
|
9
9
|
|
|
10
10
|
## Commands
|
|
11
11
|
```bash
|
|
12
|
-
ae-cli analysis +get_alert --project_id
|
|
12
|
+
ae-cli analysis +get_alert --project_id <project_id> --alert_id 1
|
|
13
13
|
ae-cli analysis +get_alert --dry-run
|
|
14
14
|
```
|
|
15
15
|
|
|
@@ -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
|
|
|
@@ -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_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,7 +10,7 @@ Domain: **Metadata Query**
|
|
|
10
10
|
|
|
11
11
|
## Commands
|
|
12
12
|
```bash
|
|
13
|
-
ae-cli analysis_meta +get_metric --project_id
|
|
13
|
+
ae-cli analysis_meta +get_metric --project_id <project_id> --metric_id 1
|
|
14
14
|
ae-cli analysis_meta +get_metric --dry-run
|
|
15
15
|
```
|
|
16
16
|
|
|
@@ -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,7 +10,7 @@ Domain: **Project Configuration**
|
|
|
10
10
|
|
|
11
11
|
## Command
|
|
12
12
|
```bash
|
|
13
|
-
ae-cli analysis_meta +get_project_config --project_id
|
|
13
|
+
ae-cli analysis_meta +get_project_config --project_id <project_id>
|
|
14
14
|
ae-cli analysis_meta +get_project_config --dry-run
|
|
15
15
|
```
|
|
16
16
|
|
|
@@ -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,7 +11,7 @@ Domain: **Report Management**
|
|
|
11
11
|
|
|
12
12
|
## Commands
|
|
13
13
|
```bash
|
|
14
|
-
ae-cli analysis +get_report_definition --project_id
|
|
14
|
+
ae-cli analysis +get_report_definition --project_id <project_id> --report_id 1
|
|
15
15
|
ae-cli analysis +get_report_definition --dry-run
|
|
16
16
|
```
|
|
17
17
|
|
|
@@ -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,7 +16,7 @@ Domain: **cross-module post-write constraint**
|
|
|
16
16
|
|
|
17
17
|
## Command
|
|
18
18
|
```bash
|
|
19
|
-
ae-cli analysis_common +get_resource_url --project_id
|
|
19
|
+
ae-cli analysis_common +get_resource_url --project_id <project_id> --resource_type dashboard --resource_id 1
|
|
20
20
|
ae-cli analysis_common +get_resource_url --dry-run
|
|
21
21
|
```
|
|
22
22
|
|
|
@@ -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,7 +14,7 @@ Domain: **Model analysis**
|
|
|
14
14
|
|
|
15
15
|
## Command
|
|
16
16
|
```bash
|
|
17
|
-
ae-cli analysis +get_table_columns --project_id
|
|
17
|
+
ae-cli analysis +get_table_columns --project_id <project_id> --catalog demo --schema demo --table demo
|
|
18
18
|
ae-cli analysis +get_table_columns --dry-run
|
|
19
19
|
```
|
|
20
20
|
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# analysis_audience +get_tag_definition_schema (Get Tag 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 call specific business tools.
|
|
10
|
+
- Typical downstream tools: `+create_tag`, `+update_tag`
|
|
11
|
+
- Get the tag definition schema. Supports tag type + response mode + condition subtype.
|
|
12
|
+
|
|
13
|
+
## Commands
|
|
14
|
+
```bash
|
|
15
|
+
ae-cli analysis_audience +get_tag_definition_schema --type condition
|
|
16
|
+
ae-cli analysis_audience +get_tag_definition_schema --type metric
|
|
17
|
+
ae-cli analysis_audience +get_tag_definition_schema --type condition --response_mode examples --condition_subtype behavior_seq
|
|
18
|
+
ae-cli analysis_audience +get_tag_definition_schema --dry-run
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Parameters
|
|
22
|
+
| Parameter | Required | Description |
|
|
23
|
+
|---|---|---|
|
|
24
|
+
| `--type` | Yes | Tag type. Supported values: `condition`, `metric`, `first_last`, `sql`. |
|
|
25
|
+
| `--response_mode` | No | Schema response mode. Supported values: `base`, `examples`, `full`. Default: `base`. |
|
|
26
|
+
| `--condition_subtype` | No | Only effective when `--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`, `metric`, and `sql` tags.
|
|
31
|
+
- Request `--response_mode examples` only when the base schema is not enough to build or validate the target `definition`.
|
|
32
|
+
- `first_last` tags have a more specialized structure; use base first when the requested shape is simple, and escalate to `examples` when the field mapping or event/property role is unclear.
|
|
33
|
+
- Request `--response_mode full` only for complex, ambiguous, or repeatedly failing definition construction. Do not use `full` by default.
|
|
34
|
+
- For normal condition tags, use the default `--condition_subtype core`.
|
|
35
|
+
- Use `--condition_subtype behavior_seq` only when the user specifically needs behavior sequence conditions.
|
|
36
|
+
- 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.
|
|
37
|
+
|
|
38
|
+
## Decision Rules
|
|
39
|
+
- `--type` is required and must match the target tag type.
|
|
40
|
+
- It is recommended to run `--dry-run` first to inspect the request mapping before making the actual call.
|
|
41
|
+
- Prefer `--response_mode base` first; request `examples` only when needed; request `full` only as a last resort.
|
|
42
|
+
|
|
43
|
+
## Next Step on Failure
|
|
44
|
+
- If reading fails, first verify whether the object ID exists and belongs to the current project.
|
|
45
|
+
- If the schema does not match expectations, confirm whether the correct schema interface was used (filter/groupby/query/tag/cluster).
|
|
46
|
+
|
|
47
|
+
## Recommended Chain
|
|
48
|
+
- +get_tag_definition_schema -> (first build/update in session or refresh) analysis_meta +list_events -> analysis_meta +list_properties -> +create_tag
|
|
49
|
+
- +get_tag_definition_schema -> (first build/update in session or refresh) analysis_meta +list_events -> analysis_meta +list_properties -> +update_tag
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
# analysis_audience +get_tags_by_name (Locate Tags by Name)
|
|
2
|
+
|
|
3
|
+
> **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
|
|
4
|
+
|
|
5
|
+
Domain: **Tag Management**
|
|
6
|
+
|
|
7
|
+
## Use Cases
|
|
8
|
+
- Get tag definition details in batch by tag name. Returns complete tag information for matched tags, including IDs, names, display names, types, status, user counts, and tag definitions.
|
|
9
|
+
|
|
10
|
+
## Commands
|
|
11
|
+
```bash
|
|
12
|
+
ae-cli analysis_audience +get_tags_by_name --project_id <project_id> --names '["demo"]'
|
|
13
|
+
ae-cli analysis_audience +get_tags_by_name --dry-run
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Parameters
|
|
17
|
+
| Parameter | Required | Description |
|
|
18
|
+
|---|---|---|
|
|
19
|
+
| `--project_id` / `-p` | Yes | Project ID |
|
|
20
|
+
| `--names` | Yes | List of tag names (JSON array). Exact-name matching is used; unmatched tags are ignored automatically. |
|
|
21
|
+
|
|
22
|
+
## Decision Rules
|
|
23
|
+
- For the first execution, it is recommended to pass only the required parameters (`--project_id`, `--names`) and add optional parameters after confirming the path works.
|
|
24
|
+
- `--names` must be passed as a JSON array (e.g. `--names '["tag_a","tag_b"]'`).
|
|
25
|
+
- When troubleshooting across projects, first confirm whether `--project_id` matches the current permissions and target environment.
|
|
26
|
+
|
|
27
|
+
## Enum Codebook (Asset Definition Interpretation Only)
|
|
28
|
+
|
|
29
|
+
When interpreting tag `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_tags -> +get_tags_by_name -> +update_tag
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# analysis_meta +get_track_program (Read Tracking Plan Baseline)
|
|
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,7 +10,7 @@ Domain: **Project Configuration**
|
|
|
10
10
|
|
|
11
11
|
## Commands
|
|
12
12
|
```bash
|
|
13
|
-
ae-cli analysis_meta +get_track_program --project_id
|
|
13
|
+
ae-cli analysis_meta +get_track_program --project_id <project_id>
|
|
14
14
|
ae-cli analysis_meta +get_track_program --dry-run
|
|
15
15
|
```
|
|
16
16
|
|
package/skills/{te-analysis/references/list-alerts.md → ae-analysis/references/list_alerts.md}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# analysis +list_alerts (alert strategy search)
|
|
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
|
|
|
@@ -10,8 +10,9 @@ Domain: **Metadata Lookup**
|
|
|
10
10
|
|
|
11
11
|
## Commands
|
|
12
12
|
```bash
|
|
13
|
-
ae-cli analysis +list_alerts --project_id
|
|
14
|
-
ae-cli analysis +list_alerts --project_id
|
|
13
|
+
ae-cli analysis +list_alerts --project_id <project_id>
|
|
14
|
+
ae-cli analysis +list_alerts --project_id <project_id> --query demo
|
|
15
|
+
ae-cli analysis +list_alerts --project_id <project_id> --limit 20 --offset 0
|
|
15
16
|
ae-cli analysis +list_alerts --dry-run
|
|
16
17
|
```
|
|
17
18
|
|
|
@@ -20,6 +21,8 @@ ae-cli analysis +list_alerts --dry-run
|
|
|
20
21
|
|---|---|---|
|
|
21
22
|
| `--project_id` / `-p` | Yes | Project ID |
|
|
22
23
|
| `--query` / `-q` | No | Optional keyword filter. Performs fuzzy matching against alert names; if omitted, all alerts are returned. |
|
|
24
|
+
| `--limit` / `-l` | No | Optional page size. Default: 20, maximum: 50. |
|
|
25
|
+
| `--offset` / `-o` | No | Optional page offset. Default: 0. |
|
|
23
26
|
|
|
24
27
|
## Decision Rules
|
|
25
28
|
- For the first run, it is recommended to pass only the required parameters (`--project_id`) and add optional parameters after confirming the chain works.
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
# analysis_audience +list_cluster_members (View Cluster Members)
|
|
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
|
-
- List members in the specified cluster.
|
|
8
|
+
- List members in the specified cluster.
|
|
9
|
+
- Supports payload governance parameters: `query`, `fields`, `limit`, `offset`.
|
|
10
|
+
- Returns a paginated envelope (items + total + limit + offset + hasMore).
|
|
9
11
|
|
|
10
12
|
## Commands
|
|
11
13
|
```bash
|
|
12
|
-
ae-cli analysis_audience +list_cluster_members --project_id
|
|
13
|
-
ae-cli analysis_audience +list_cluster_members --project_id
|
|
14
|
+
ae-cli analysis_audience +list_cluster_members --project_id <project_id> --cluster_name demo
|
|
15
|
+
ae-cli analysis_audience +list_cluster_members --project_id <project_id> --cluster_name demo --property_names '["#user_id","name"]' --use_cache false
|
|
16
|
+
ae-cli analysis_audience +list_cluster_members --project_id <project_id> --cluster_name demo --query user_001 --fields '["#user_id","name"]' --limit 20 --offset 0
|
|
14
17
|
ae-cli analysis_audience +list_cluster_members --dry-run
|
|
15
18
|
```
|
|
16
19
|
|
|
@@ -21,6 +24,10 @@ ae-cli analysis_audience +list_cluster_members --dry-run
|
|
|
21
24
|
| `--cluster_name` | Yes | Cluster name |
|
|
22
25
|
| `--property_names` | No | Optional list of user property names (JSON array) |
|
|
23
26
|
| `--use_cache` | No | Whether to use cache. Default: true |
|
|
27
|
+
| `--query` | No | Optional keyword filter on `#user_id` and selected properties. |
|
|
28
|
+
| `--fields` | No | Optional return field list (JSON array). Invalid fields will fail with `INVALID_FIELDS`. |
|
|
29
|
+
| `--limit` | No | Optional page size. Default: 20, max: 50. |
|
|
30
|
+
| `--offset` | No | Optional page offset. Default: 0. |
|
|
24
31
|
|
|
25
32
|
## Decision Rules
|
|
26
33
|
- 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.
|