@thinkingai/ae-cli 6.0.22 → 6.0.27
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/dist/{auth-RDN6D5HU.js → auth-7TQRGLBC.js} +13 -15
- package/dist/auth-MEJ642P4.js +13 -0
- package/dist/chunk-2NDGFQHW.js +190 -0
- package/dist/{chunk-5FBLRSMU.js → chunk-7QQ4233A.js} +3 -3
- package/dist/{chunk-U6QPKCN3.js → chunk-AJTH7LT3.js} +10 -116
- package/dist/chunk-BXMXMUD7.js +254 -0
- package/dist/chunk-C4DH76LX.js +59 -0
- package/dist/chunk-GWZ5MYWE.js +209 -0
- package/dist/{chunk-E34XH4GW.js → chunk-KCA6BA5D.js} +8 -8
- package/dist/{chunk-XE2PI5DS.js → chunk-KGJQCYVC.js} +1 -1
- package/dist/chunk-LG5YT7P7.js +59 -0
- package/dist/{chunk-2W7HULUD.js → chunk-MDJGDI6K.js} +2 -2
- package/dist/{chunk-H52CSLJW.js → chunk-R77JT7XD.js} +53 -6
- package/dist/{chunk-WPXHCP4A.js → chunk-YCLVYFK7.js} +52 -9
- package/dist/{chunk-4EUZRJPO.js → chunk-YNQFYBDB.js} +102 -14
- package/dist/{chunk-YACCPUNQ.js → chunk-ZAOL36CG.js} +1 -1
- package/dist/cli-token-TVQRSE46.js +18 -0
- package/dist/{client-VTJMUZ4O.js → client-2643Z5AG.js} +3 -3
- package/dist/{config-2SDTLGOC.js → config-ZVPARN4R.js} +4 -9
- package/dist/index.js +27 -24
- package/dist/{metadata-JZ2OTWBK.js → metadata-IPSPQBX3.js} +56 -65
- package/dist/metadata-N5REJ7R7.js +411 -0
- package/dist/{model-ZYMRN4VS.js → model-T3KZJWLW.js} +2 -2
- package/dist/{raw-NGYHAL3F.js → raw-OHSUK42D.js} +4 -4
- package/dist/{sync-JVLX6TGW.js → sync-ULT5SECP.js} +3 -3
- package/dist/{te-agent-QPZTLHPH.js → te-agent-QLIVKRUN.js} +1146 -61
- package/dist/{te-analysis-WWX3Z6RP.js → te-analysis-2U5EPXQC.js} +1213 -341
- package/dist/te-analysis-QMZ2UH7F.js +2419 -0
- package/dist/{te-audience-UXGHUVBB.js → te-audience-PVMKQAFH.js} +5 -5
- package/dist/te-audience-XMRMVD2V.js +599 -0
- package/dist/{te-common-7XXH73MF.js → te-common-CFGQXTFV.js} +5 -5
- package/dist/te-common-SDB3O2QG.js +130 -0
- package/dist/{te-community-QKE67HR2.js → te-community-6A7LKYUH.js} +5 -5
- package/dist/te-community-GMWFGILT.js +687 -0
- package/dist/te-dataops-6LIPYNGH.js +1864 -0
- package/dist/{te-dataops-6W7NNYST.js → te-dataops-Z53CTG2U.js} +90 -68
- package/dist/{te-engage-NCFAQFX3.js → te-engage-AGREUOW7.js} +30 -15
- package/dist/te-engage-MIIUKY6M.js +1525 -0
- package/dist/{te-kb-K5BQYUCM.js → te-kb-KQJ53M3A.js} +4 -4
- package/dist/{te-meta-LJZBOSMO.js → te-meta-QLANJ4B4.js} +5 -5
- package/dist/te-meta-TOA6FWDE.js +595 -0
- package/dist/{te-team-DHK5R7MV.js → te-team-TQGMNHQQ.js} +5 -5
- package/package.json +3 -1
- package/skills/ae-agent/SKILL.md +158 -189
- package/skills/ae-agent/references/accept-skill-share.md +39 -0
- package/skills/ae-agent/references/add-attachment.md +57 -0
- package/skills/ae-agent/references/add-mcp.md +75 -0
- package/skills/ae-agent/references/add-model.md +70 -0
- package/skills/ae-agent/references/add-skill.md +71 -0
- package/skills/ae-agent/references/approve-skill.md +41 -0
- package/skills/ae-agent/references/attachment-stats.md +50 -0
- package/skills/ae-agent/references/auto-provision-mcp-credentials.md +57 -0
- package/skills/ae-agent/references/cancel-skill-submission.md +39 -0
- package/skills/ae-agent/references/copy-skill.md +53 -0
- package/skills/ae-agent/references/create-agent.md +71 -0
- package/skills/ae-agent/references/create-automation.md +99 -0
- package/skills/ae-agent/references/del-agent.md +38 -0
- package/skills/ae-agent/references/del-attachment.md +35 -0
- package/skills/ae-agent/references/del-mcp.md +35 -0
- package/skills/ae-agent/references/del-model.md +37 -0
- package/skills/ae-agent/references/del-skill-asset.md +41 -0
- package/skills/ae-agent/references/del-skill-reference.md +41 -0
- package/skills/ae-agent/references/del-skill-script.md +41 -0
- package/skills/ae-agent/references/del-skill.md +36 -0
- package/skills/ae-agent/references/edit-skill.md +64 -0
- package/skills/ae-agent/references/get-agent.md +37 -0
- package/skills/ae-agent/references/get-skill-content.md +36 -0
- package/skills/ae-agent/references/list-agents.md +40 -0
- package/skills/ae-agent/references/list-attachments.md +42 -0
- package/skills/ae-agent/references/list-automations.md +41 -0
- package/skills/ae-agent/references/list-mcp-credentials.md +65 -0
- package/skills/ae-agent/references/list-mcp-market.md +58 -0
- package/skills/ae-agent/references/list-mcps.md +37 -0
- package/skills/ae-agent/references/list-models.md +38 -0
- package/skills/ae-agent/references/list-skill-assets.md +35 -0
- package/skills/ae-agent/references/list-skill-market.md +59 -0
- package/skills/ae-agent/references/list-skill-references.md +36 -0
- package/skills/ae-agent/references/list-skill-scripts.md +35 -0
- package/skills/ae-agent/references/list-skill-shares.md +49 -0
- package/skills/ae-agent/references/list-skill-submissions.md +45 -0
- package/skills/ae-agent/references/list-skills.md +37 -0
- package/skills/ae-agent/references/mcp-auth-disconnect.md +50 -0
- package/skills/ae-agent/references/mcp-auth-start.md +61 -0
- package/skills/ae-agent/references/mcp-auth-status.md +56 -0
- package/skills/ae-agent/references/mcp-stats.md +68 -0
- package/skills/ae-agent/references/mcp-token.md +63 -0
- package/skills/ae-agent/references/mcp-tools.md +55 -0
- package/skills/ae-agent/references/read-skill-asset.md +51 -0
- package/skills/ae-agent/references/read-skill-reference.md +50 -0
- package/skills/ae-agent/references/read-skill-script.md +51 -0
- package/skills/ae-agent/references/reject-skill-share.md +37 -0
- package/skills/ae-agent/references/reject-skill.md +42 -0
- package/skills/ae-agent/references/rescan-skills.md +44 -0
- package/skills/ae-agent/references/set-mcp-credential.md +67 -0
- package/skills/ae-agent/references/set-mcp-meta.md +52 -0
- package/skills/ae-agent/references/set-skill-meta.md +51 -0
- package/skills/ae-agent/references/share-skill.md +50 -0
- package/skills/ae-agent/references/submit-skill.md +51 -0
- package/skills/ae-agent/references/test-model.md +61 -0
- package/skills/ae-agent/references/toggle-mcp.md +39 -0
- package/skills/ae-agent/references/toggle-model.md +37 -0
- package/skills/ae-agent/references/toggle-skill.md +37 -0
- package/skills/ae-agent/references/update-agent.md +71 -0
- package/skills/ae-agent/references/update-automation.md +83 -0
- package/skills/ae-agent/references/update-mcp.md +79 -0
- package/skills/ae-agent/references/update-model.md +77 -0
- package/skills/ae-agent/references/upload-skill-asset.md +49 -0
- package/skills/ae-agent/references/upload-skill-reference.md +51 -0
- package/skills/ae-agent/references/upload-skill-script.md +49 -0
- package/skills/ae-agent/references/upload-skill.md +89 -0
- package/skills/ae-analysis/SKILL.md +53 -25
- package/skills/ae-analysis/references/analysis_gateway_assets.md +129 -0
- package/skills/ae-analysis/references/artifact_download.md +17 -0
- package/skills/ae-analysis/references/bi_panel_copy.md +15 -0
- package/skills/ae-analysis/references/bi_panel_create.md +15 -0
- package/skills/ae-analysis/references/bi_panel_delete.md +15 -0
- package/skills/ae-analysis/references/bi_panel_get.md +18 -0
- package/skills/ae-analysis/references/bi_panel_list.md +15 -0
- package/skills/ae-analysis/references/bi_panel_page_data_export.md +25 -0
- package/skills/ae-analysis/references/bi_panel_page_data_run.md +15 -0
- package/skills/ae-analysis/references/bi_panel_share.md +15 -0
- package/skills/ae-analysis/references/bi_panel_update.md +15 -0
- package/skills/ae-analysis/references/dashboard_abnormal_get.md +15 -0
- package/skills/ae-analysis/references/dashboard_copy.md +17 -0
- package/skills/ae-analysis/references/dashboard_create.md +15 -0
- package/skills/ae-analysis/references/dashboard_daily_report_send.md +17 -0
- package/skills/ae-analysis/references/dashboard_daily_report_update.md +17 -0
- package/skills/ae-analysis/references/dashboard_definition_export.md +33 -0
- package/skills/ae-analysis/references/dashboard_definition_import.md +15 -0
- package/skills/ae-analysis/references/dashboard_delete.md +15 -0
- package/skills/ae-analysis/references/dashboard_freeze.md +15 -0
- package/skills/ae-analysis/references/dashboard_get.md +15 -0
- package/skills/ae-analysis/references/dashboard_handover.md +15 -0
- package/skills/ae-analysis/references/dashboard_list.md +15 -0
- package/skills/ae-analysis/references/dashboard_report_data_export.md +25 -0
- package/skills/ae-analysis/references/dashboard_report_data_run.md +15 -0
- package/skills/ae-analysis/references/dashboard_share.md +15 -0
- package/skills/ae-analysis/references/dashboard_share_info.md +15 -0
- package/skills/ae-analysis/references/dashboard_task_status.md +15 -0
- package/skills/ae-analysis/references/dashboard_update.md +16 -0
- package/skills/ae-analysis/references/favorite_add.md +15 -0
- package/skills/ae-analysis/references/favorite_remove.md +15 -0
- package/skills/ae-analysis/references/folder_create.md +15 -0
- package/skills/ae-analysis/references/folder_delete.md +15 -0
- package/skills/ae-analysis/references/folder_members.md +15 -0
- package/skills/ae-analysis/references/folder_share.md +15 -0
- package/skills/ae-analysis/references/project_space_create.md +15 -0
- package/skills/ae-analysis/references/project_space_delete.md +15 -0
- package/skills/ae-analysis/references/project_space_get.md +18 -0
- package/skills/ae-analysis/references/project_space_list.md +15 -0
- package/skills/ae-analysis/references/project_space_members.md +15 -0
- package/skills/ae-analysis/references/project_space_share.md +15 -0
- package/skills/ae-analysis/references/public_link_create.md +15 -0
- package/skills/ae-analysis/references/public_link_delete.md +15 -0
- package/skills/ae-analysis/references/public_link_list.md +15 -0
- package/skills/ae-analysis/references/public_link_offline.md +15 -0
- package/skills/ae-analysis/references/public_link_update.md +15 -0
- package/skills/ae-analysis/references/query_cancel.md +15 -0
- package/skills/ae-analysis/references/run_inspect.md +22 -0
- package/skills/ae-dataops/references/dataops-flow-create.md +2 -2
- package/skills/ae-dataops/references/dataops-flow-monitor.md +3 -3
- package/skills/ae-dataops/references/dataops-integration.md +1 -0
- package/skills/ae-engage/references/flow-node-config-schema.md +32 -8
- package/skills/ae-engage/references/save-flow.md +65 -29
- package/skills/ae-engage/references/validate-flow-node-config.md +28 -10
- package/skills/ae-generate-tracking-plan/SKILL.md +9 -7
- package/skills/ae-metadata/references/metadata_data_table_csv_write.md +5 -3
- package/skills/ae-metadata/references/metadata_data_table_sql_write.md +5 -4
- package/skills/ae-metadata/references/metadata_property_dimension_table_create_and_bind_csv.md +5 -3
- package/dist/auth-I2G7OAU2.js +0 -19
- package/dist/chunk-FPE5LGVU.js +0 -105
- package/dist/cli-token-6AGEDJF4.js +0 -14
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# agent +del-model (Delete Model)
|
|
2
|
+
|
|
3
|
+
> **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
|
|
4
|
+
|
|
5
|
+
Domain: **Models / write**
|
|
6
|
+
|
|
7
|
+
## Use Cases
|
|
8
|
+
- Delete a custom model (personal or company scope).
|
|
9
|
+
- `--scope personal` (default) deletes a personal model; `--scope company` deletes a company model (requires root/agent_admin). System models cannot be deleted.
|
|
10
|
+
|
|
11
|
+
## Mandatory Rules (MUST)
|
|
12
|
+
- `--id` is required. Obtain the real model record ID (CUID) via `+list-models` — do not guess.
|
|
13
|
+
- `--scope` controls target scope: `personal` (default) or `company`. Company scope requires root/agent_admin.
|
|
14
|
+
- Prefer `--dry-run` before executing a destructive delete.
|
|
15
|
+
- Write operation: keep the confirmation prompt unless `--yes` is explicitly requested.
|
|
16
|
+
|
|
17
|
+
## Command
|
|
18
|
+
```bash
|
|
19
|
+
ae-cli agent +del-model --id <model-cuid> --yes
|
|
20
|
+
ae-cli agent +del-model --dry-run --id <model-cuid>
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Parameters
|
|
24
|
+
| Parameter | Required | Description |
|
|
25
|
+
|---|---|---|
|
|
26
|
+
| `--id` | Yes | Model record ID (CUID) |
|
|
27
|
+
| `--scope` | No | Target scope: `personal` (default) or `company` (requires root/agent_admin) |
|
|
28
|
+
|
|
29
|
+
## Decision Rules
|
|
30
|
+
- Confirm the model ID with `+list-models` before deleting.
|
|
31
|
+
- Company-scope models can be deleted with `--scope company` by root/agent_admin; system models cannot be deleted via CLI.
|
|
32
|
+
|
|
33
|
+
## Next Steps on Failure
|
|
34
|
+
- `404` / not found: re-run `+list-models` to verify the model ID and scope.
|
|
35
|
+
|
|
36
|
+
## Recommended Chaining
|
|
37
|
+
- `+list-models` → confirm `id` → `+del-model`
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# agent +del-skill-asset (Delete Skill Asset)
|
|
2
|
+
|
|
3
|
+
> **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
|
|
4
|
+
|
|
5
|
+
Domain: **Skills / write**
|
|
6
|
+
|
|
7
|
+
## Use Cases
|
|
8
|
+
- Delete a file from a Skill's `assets` directory.
|
|
9
|
+
- Endpoint: `DELETE /api/sandbox/agent/skills/[id]/assets/[...path]`.
|
|
10
|
+
- Physical delete — cannot be undone.
|
|
11
|
+
|
|
12
|
+
## Mandatory Rules (MUST)
|
|
13
|
+
- `--id` is required. Obtain the real Skill record ID (CUID) via `+list-skills` — do not guess.
|
|
14
|
+
- `--path` is required and specifies the relative file path within the assets directory.
|
|
15
|
+
- This is a **physical delete** — prefer `--dry-run` before executing.
|
|
16
|
+
- Write operation: keep the confirmation prompt unless `--yes` is explicitly requested.
|
|
17
|
+
|
|
18
|
+
## Command
|
|
19
|
+
```bash
|
|
20
|
+
ae-cli agent +del-skill-asset --id <skill-cuid> --path icon.png --yes
|
|
21
|
+
ae-cli agent +del-skill-asset --id <skill-cuid> --path "sub/data.csv" --yes
|
|
22
|
+
ae-cli agent +del-skill-asset --dry-run --id <skill-cuid> --path icon.png
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Parameters
|
|
26
|
+
| Parameter | Required | Description |
|
|
27
|
+
|---|---|---|
|
|
28
|
+
| `--id` | Yes | Skill record ID (CUID) |
|
|
29
|
+
| `--path` | Yes | Relative file path within assets to delete |
|
|
30
|
+
|
|
31
|
+
## Decision Rules
|
|
32
|
+
- Use `+list-skill-assets` to confirm the file path before deleting.
|
|
33
|
+
- This is a physical delete, not a soft delete — proceed only when the user clearly intends to remove it.
|
|
34
|
+
- Use `--dry-run` first to verify the request shape before executing.
|
|
35
|
+
|
|
36
|
+
## Next Steps on Failure
|
|
37
|
+
- `404` / not found: re-run `+list-skill-assets` to verify the file path.
|
|
38
|
+
- `文件不存在`: the file path does not exist in the assets directory.
|
|
39
|
+
|
|
40
|
+
## Recommended Chaining
|
|
41
|
+
- `+list-skill-assets` → confirm `path` → `+del-skill-asset` → `+list-skill-assets` (verify)
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# agent +del-skill-reference (Delete Skill Reference)
|
|
2
|
+
|
|
3
|
+
> **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
|
|
4
|
+
|
|
5
|
+
Domain: **Skills / write**
|
|
6
|
+
|
|
7
|
+
## Use Cases
|
|
8
|
+
- Delete a file from a Skill's `references` directory.
|
|
9
|
+
- Endpoint: `DELETE /api/sandbox/agent/skills/[id]/references/[...path]`.
|
|
10
|
+
- Physical delete — cannot be undone.
|
|
11
|
+
|
|
12
|
+
## Mandatory Rules (MUST)
|
|
13
|
+
- `--id` is required. Obtain the real Skill record ID (CUID) via `+list-skills` — do not guess.
|
|
14
|
+
- `--path` is required and specifies the relative file path within the references directory.
|
|
15
|
+
- This is a **physical delete** — prefer `--dry-run` before executing.
|
|
16
|
+
- Write operation: keep the confirmation prompt unless `--yes` is explicitly requested.
|
|
17
|
+
|
|
18
|
+
## Command
|
|
19
|
+
```bash
|
|
20
|
+
ae-cli agent +del-skill-reference --id <skill-cuid> --path guide.md --yes
|
|
21
|
+
ae-cli agent +del-skill-reference --id <skill-cuid> --path "advanced/tips.md" --yes
|
|
22
|
+
ae-cli agent +del-skill-reference --dry-run --id <skill-cuid> --path guide.md
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Parameters
|
|
26
|
+
| Parameter | Required | Description |
|
|
27
|
+
|---|---|---|
|
|
28
|
+
| `--id` | Yes | Skill record ID (CUID) |
|
|
29
|
+
| `--path` | Yes | Relative file path within references to delete |
|
|
30
|
+
|
|
31
|
+
## Decision Rules
|
|
32
|
+
- Use `+list-skill-references` to confirm the file path before deleting.
|
|
33
|
+
- This is a physical delete, not a soft delete — proceed only when the user clearly intends to remove it.
|
|
34
|
+
- Use `--dry-run` first to verify the request shape before executing.
|
|
35
|
+
|
|
36
|
+
## Next Steps on Failure
|
|
37
|
+
- `404` / not found: re-run `+list-skill-references` to verify the file path.
|
|
38
|
+
- `文件不存在`: the file path does not exist in the references directory.
|
|
39
|
+
|
|
40
|
+
## Recommended Chaining
|
|
41
|
+
- `+list-skill-references` → confirm `path` → `+del-skill-reference` → `+list-skill-references` (verify)
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# agent +del-skill-script (Delete Skill Script)
|
|
2
|
+
|
|
3
|
+
> **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
|
|
4
|
+
|
|
5
|
+
Domain: **Skills / write**
|
|
6
|
+
|
|
7
|
+
## Use Cases
|
|
8
|
+
- Delete a file from a Skill's `scripts` directory.
|
|
9
|
+
- Endpoint: `DELETE /api/sandbox/agent/skills/[id]/scripts/[...path]`.
|
|
10
|
+
- Physical delete — cannot be undone.
|
|
11
|
+
|
|
12
|
+
## Mandatory Rules (MUST)
|
|
13
|
+
- `--id` is required. Obtain the real Skill record ID (CUID) via `+list-skills` — do not guess.
|
|
14
|
+
- `--path` is required and specifies the relative file path within the scripts directory.
|
|
15
|
+
- This is a **physical delete** — prefer `--dry-run` before executing.
|
|
16
|
+
- Write operation: keep the confirmation prompt unless `--yes` is explicitly requested.
|
|
17
|
+
|
|
18
|
+
## Command
|
|
19
|
+
```bash
|
|
20
|
+
ae-cli agent +del-skill-script --id <skill-cuid> --path helper.sh --yes
|
|
21
|
+
ae-cli agent +del-skill-script --id <skill-cuid> --path "tools/run.py" --yes
|
|
22
|
+
ae-cli agent +del-skill-script --dry-run --id <skill-cuid> --path helper.sh
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Parameters
|
|
26
|
+
| Parameter | Required | Description |
|
|
27
|
+
|---|---|---|
|
|
28
|
+
| `--id` | Yes | Skill record ID (CUID) |
|
|
29
|
+
| `--path` | Yes | Relative file path within scripts to delete |
|
|
30
|
+
|
|
31
|
+
## Decision Rules
|
|
32
|
+
- Use `+list-skill-scripts` to confirm the file path before deleting.
|
|
33
|
+
- This is a physical delete, not a soft delete — proceed only when the user clearly intends to remove it.
|
|
34
|
+
- Use `--dry-run` first to verify the request shape before executing.
|
|
35
|
+
|
|
36
|
+
## Next Steps on Failure
|
|
37
|
+
- `404` / not found: re-run `+list-skill-scripts` to verify the file path.
|
|
38
|
+
- `文件不存在`: the file path does not exist in the scripts directory.
|
|
39
|
+
|
|
40
|
+
## Recommended Chaining
|
|
41
|
+
- `+list-skill-scripts` → confirm `path` → `+del-skill-script` → `+list-skill-scripts` (verify)
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# agent +del-skill (Delete Personal Skill)
|
|
2
|
+
|
|
3
|
+
> **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
|
|
4
|
+
|
|
5
|
+
Domain: **Skills / write**
|
|
6
|
+
|
|
7
|
+
## Use Cases
|
|
8
|
+
- Delete a personal-scope Skill (physical delete).
|
|
9
|
+
- Only `personal` scope Skills can be deleted via CLI; company/system Skills are read-only.
|
|
10
|
+
|
|
11
|
+
## Mandatory Rules (MUST)
|
|
12
|
+
- `--id` is required. Obtain the real Skill record ID (CUID) via `+list-skills` — do not guess.
|
|
13
|
+
- This is a **physical delete** — prefer `--dry-run` before executing.
|
|
14
|
+
- Write operation: keep the confirmation prompt unless `--yes` is explicitly requested.
|
|
15
|
+
|
|
16
|
+
## Command
|
|
17
|
+
```bash
|
|
18
|
+
ae-cli agent +del-skill --id <skill-cuid> --yes
|
|
19
|
+
ae-cli agent +del-skill --dry-run --id <skill-cuid>
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## Parameters
|
|
23
|
+
| Parameter | Required | Description |
|
|
24
|
+
|---|---|---|
|
|
25
|
+
| `--id` | Yes | Skill record ID (CUID) |
|
|
26
|
+
|
|
27
|
+
## Decision Rules
|
|
28
|
+
- Confirm the Skill ID with `+list-skills` before deleting.
|
|
29
|
+
- This is a physical delete, not a soft delete — proceed only when the user clearly intends to remove it.
|
|
30
|
+
- If the Skill is company/system scope, deletion is not available via CLI (use `+toggle-skill` to disable it per-user instead).
|
|
31
|
+
|
|
32
|
+
## Next Steps on Failure
|
|
33
|
+
- `404` / not found: re-run `+list-skills` to verify the Skill ID and scope.
|
|
34
|
+
|
|
35
|
+
## Recommended Chaining
|
|
36
|
+
- `+list-skills` → confirm `id` → `+del-skill`
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# agent +edit-skill (Edit Skill Content)
|
|
2
|
+
|
|
3
|
+
> **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
|
|
4
|
+
|
|
5
|
+
Domain: **Skills / write**
|
|
6
|
+
|
|
7
|
+
## Use Cases
|
|
8
|
+
- Edit a personal Skill's content (name, description, instructions, display name, category, icon).
|
|
9
|
+
- Endpoint: `PUT /api/sandbox/agent/skills/[id]`.
|
|
10
|
+
- Only `personal` scope Skills can be edited via CLI.
|
|
11
|
+
|
|
12
|
+
## Mandatory Rules (MUST)
|
|
13
|
+
- `--id` is required. Obtain the real Skill record ID (CUID) via `+list-skills` — do not guess.
|
|
14
|
+
- At least one editable field must be provided (`--name` / `--description` / `--instructions` / `--display-name` / `--category` / `--icon-emoji` / `--icon-color`).
|
|
15
|
+
- `--name` must be 1–80 chars when provided.
|
|
16
|
+
- `--instructions` supports `@-` to read from stdin (useful for piping long instruction text).
|
|
17
|
+
- `--category` must be one of the market category keys when provided.
|
|
18
|
+
- Write operation: keep the confirmation prompt unless `--yes` is explicitly requested.
|
|
19
|
+
|
|
20
|
+
## Market Category Keys
|
|
21
|
+
`ae_preset | dev_tool | search_tool | data_query | content_gen | enterprise | life | automation | other`
|
|
22
|
+
|
|
23
|
+
## Command
|
|
24
|
+
```bash
|
|
25
|
+
# Edit instructions only
|
|
26
|
+
ae-cli agent +edit-skill --id <skill-cuid> --instructions "Updated instructions..." --yes
|
|
27
|
+
|
|
28
|
+
# Edit name and description
|
|
29
|
+
ae-cli agent +edit-skill --id <skill-cuid> --name new-name --description "New description" --yes
|
|
30
|
+
|
|
31
|
+
# Instructions from stdin
|
|
32
|
+
echo "You are a helpful assistant..." | \
|
|
33
|
+
ae-cli agent +edit-skill --id <skill-cuid> --instructions @- --yes
|
|
34
|
+
|
|
35
|
+
# Dry-run to inspect the request before executing
|
|
36
|
+
ae-cli agent +edit-skill --dry-run --id <skill-cuid> --name new-name
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## Parameters
|
|
40
|
+
| Parameter | Required | Description |
|
|
41
|
+
|---|---|---|
|
|
42
|
+
| `--id` | Yes | Skill record ID (CUID) |
|
|
43
|
+
| `--name` | No* | New Skill name (1–80 chars) |
|
|
44
|
+
| `--description` | No* | New Skill description |
|
|
45
|
+
| `--instructions` | No* | New instructions (use `@-` to read from stdin) |
|
|
46
|
+
| `--display-name` | No* | New display name (max 100) |
|
|
47
|
+
| `--category` | No* | Market category key (see above) |
|
|
48
|
+
| `--icon-emoji` | No* | Market icon emoji (e.g. `robot`) |
|
|
49
|
+
| `--icon-color` | No* | Market icon color (e.g. `#1E76F0`) |
|
|
50
|
+
|
|
51
|
+
\* At least one of these must be provided.
|
|
52
|
+
|
|
53
|
+
## Decision Rules
|
|
54
|
+
- Use `+list-skills` to confirm the Skill ID before editing.
|
|
55
|
+
- If the user provides long instruction text, pipe it via stdin with `--instructions @-`.
|
|
56
|
+
- Use `--dry-run` first to verify the request shape before executing.
|
|
57
|
+
- Editing a Skill does not change its scope; company/system Skills are read-only via CLI.
|
|
58
|
+
|
|
59
|
+
## Next Steps on Failure
|
|
60
|
+
- `404` / not found: re-run `+list-skills` to verify the Skill ID and scope.
|
|
61
|
+
- `409` / name conflict: use `--name` with a different name, or consider `+upload-skill` with `--auto-rename`.
|
|
62
|
+
|
|
63
|
+
## Recommended Chaining
|
|
64
|
+
- `+list-skills` → confirm `id` → `+edit-skill` → `+get-skill-content` (verify)
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# agent +get-agent (Get Agent Details)
|
|
2
|
+
|
|
3
|
+
> **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
|
|
4
|
+
|
|
5
|
+
Domain: **Agents / read**
|
|
6
|
+
|
|
7
|
+
## Use Cases
|
|
8
|
+
- Fetch full details of a single Agent by ID (system visible to all; company to same company; personal to owner).
|
|
9
|
+
- Use this to confirm an Agent's current model, MCP, Skill, and enabled state before updating or deleting.
|
|
10
|
+
|
|
11
|
+
## Mandatory Rules (MUST)
|
|
12
|
+
- `--id` is required. Obtain the real Agent record ID (CUID) via `+list-agents` — do not guess.
|
|
13
|
+
- Read operation — no confirmation prompt.
|
|
14
|
+
|
|
15
|
+
## Command
|
|
16
|
+
```bash
|
|
17
|
+
ae-cli agent +get-agent --id <agent-cuid>
|
|
18
|
+
ae-cli agent +get-agent --id <agent-cuid> --format table
|
|
19
|
+
ae-cli agent +get-agent --dry-run --id <agent-cuid>
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## Parameters
|
|
23
|
+
| Parameter | Required | Description |
|
|
24
|
+
|---|---|---|
|
|
25
|
+
| `--id` | Yes | Agent record ID (CUID) |
|
|
26
|
+
|
|
27
|
+
## Decision Rules
|
|
28
|
+
- When the user references an Agent by name, resolve it to an ID with `+list-agents` first, then call `+get-agent` for full details.
|
|
29
|
+
- Use `--format table` for a scannable single-record view.
|
|
30
|
+
- The returned `item` includes the resolved model, MCP/Skill ID lists, and the current user's enabled preference (for system/company Agents).
|
|
31
|
+
|
|
32
|
+
## Next Steps on Failure
|
|
33
|
+
- `404` / `Agent 不存在`: the Agent does not exist, is deleted, or is not visible to you (personal Agent owned by another user). Re-run `+list-agents` to discover visible IDs.
|
|
34
|
+
- Auth error: run `ae-cli auth login`.
|
|
35
|
+
|
|
36
|
+
## Recommended Chaining
|
|
37
|
+
- `+list-agents` → confirm `id` → `+get-agent` (inspect) → `+update-agent` / `+del-agent` / `+create-automation --agent-id <id>`
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# agent +get-skill-content (Read Skill Content)
|
|
2
|
+
|
|
3
|
+
> **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
|
|
4
|
+
|
|
5
|
+
Domain: **Skills / read**
|
|
6
|
+
|
|
7
|
+
## Use Cases
|
|
8
|
+
- Read a Skill's SKILL.md text content.
|
|
9
|
+
- Endpoint: `GET /api/sandbox/agent/skills/[id]/content`.
|
|
10
|
+
- Returns the raw SKILL.md file content as JSON `{ item: { ... } }`.
|
|
11
|
+
|
|
12
|
+
## Mandatory Rules (MUST)
|
|
13
|
+
- `--id` is required. Obtain the real Skill record ID (CUID) via `+list-skills` — do not guess.
|
|
14
|
+
|
|
15
|
+
## Command
|
|
16
|
+
```bash
|
|
17
|
+
ae-cli agent +get-skill-content --id <skill-cuid>
|
|
18
|
+
ae-cli agent +get-skill-content --dry-run --id <skill-cuid>
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Parameters
|
|
22
|
+
| Parameter | Required | Description |
|
|
23
|
+
|---|---|---|
|
|
24
|
+
| `--id` | Yes | Skill record ID (CUID) |
|
|
25
|
+
|
|
26
|
+
## Decision Rules
|
|
27
|
+
- Use `+list-skills` to confirm the Skill ID before reading.
|
|
28
|
+
- The returned content is the SKILL.md text — useful for inspecting or backing up a Skill's instructions.
|
|
29
|
+
- Read operation: no confirmation prompt needed.
|
|
30
|
+
|
|
31
|
+
## Next Steps on Failure
|
|
32
|
+
- `404` / not found: re-run `+list-skills` to verify the Skill ID.
|
|
33
|
+
- `file_not_found`: the Skill record exists but the SKILL.md file is missing on disk — use `+rescan-skills` (root) to sync.
|
|
34
|
+
|
|
35
|
+
## Recommended Chaining
|
|
36
|
+
- `+list-skills` → confirm `id` → `+get-skill-content` → `+edit-skill` (if changes needed)
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# agent +list-agents (List Agents)
|
|
2
|
+
|
|
3
|
+
> **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
|
|
4
|
+
|
|
5
|
+
Domain: **Agents / read**
|
|
6
|
+
|
|
7
|
+
## Use Cases
|
|
8
|
+
- List Agents visible to the current user (personal / company / system scopes).
|
|
9
|
+
- Returns an array of Agent summaries; key fields include `id`, `name`, `description`, `scope`.
|
|
10
|
+
- Use this to discover a real Agent ID before creating an automation with `--agent-id` or `--agent-name`.
|
|
11
|
+
|
|
12
|
+
## Mandatory Rules (MUST)
|
|
13
|
+
- Do not guess Agent IDs. Always call `+list-agents` first when an Agent reference is needed.
|
|
14
|
+
- If the user references an Agent by name, match the name against the returned list before proceeding.
|
|
15
|
+
|
|
16
|
+
## Command
|
|
17
|
+
```bash
|
|
18
|
+
ae-cli agent +list-agents
|
|
19
|
+
ae-cli agent +list-agents --scope personal
|
|
20
|
+
ae-cli agent +list-agents --scope company --q "daily" --format table
|
|
21
|
+
ae-cli agent +list-agents --dry-run
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Parameters
|
|
25
|
+
| Parameter | Required | Description |
|
|
26
|
+
|---|---|---|
|
|
27
|
+
| `--scope` | No | Filter by scope: `personal` \| `company` \| `system` |
|
|
28
|
+
| `--q` | No | Search by Agent name or description |
|
|
29
|
+
|
|
30
|
+
## Decision Rules
|
|
31
|
+
- When the user needs an Agent ID for `+create-automation` (`--agent-id` / `--agent-name`), call this first.
|
|
32
|
+
- If many Agents are returned, summarize by `id`, `name`, and `scope` to help the user pick the right one.
|
|
33
|
+
- `--scope personal` shows only the user's own Agents; `company` / `system` show shared resources.
|
|
34
|
+
|
|
35
|
+
## Next Steps on Failure
|
|
36
|
+
- Empty result: confirm account permissions and the active AE host.
|
|
37
|
+
- Auth error: run `ae-cli auth login`.
|
|
38
|
+
|
|
39
|
+
## Recommended Chaining
|
|
40
|
+
- `+list-agents` → confirm `agent-id` → `+create-automation`
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# agent +list-attachments (List Attachments)
|
|
2
|
+
|
|
3
|
+
> **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
|
|
4
|
+
|
|
5
|
+
Domain: **Attachments / read**
|
|
6
|
+
|
|
7
|
+
## Use Cases
|
|
8
|
+
- List the current user's attachments (paginated).
|
|
9
|
+
- Endpoint: `GET /api/sandbox/agent/attachments`.
|
|
10
|
+
- Returns an array of attachment summaries; key fields include `id`, `name`, `type`, `size`.
|
|
11
|
+
|
|
12
|
+
## Mandatory Rules (MUST)
|
|
13
|
+
- `--type` must be `image` or `document` when provided.
|
|
14
|
+
|
|
15
|
+
## Command
|
|
16
|
+
```bash
|
|
17
|
+
ae-cli agent +list-attachments
|
|
18
|
+
ae-cli agent +list-attachments --type image --format table
|
|
19
|
+
ae-cli agent +list-attachments --q "report" --page 1 --page-size 20
|
|
20
|
+
ae-cli agent +list-attachments --dry-run --type document
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Parameters
|
|
24
|
+
| Parameter | Required | Description |
|
|
25
|
+
|---|---|---|
|
|
26
|
+
| `--q` | No | Search keyword |
|
|
27
|
+
| `--type` | No | Filter by type: `image` \| `document` |
|
|
28
|
+
| `--page` | No | Page number (default 1) |
|
|
29
|
+
| `--page-size` | No | Page size (default 20, max 10000) |
|
|
30
|
+
|
|
31
|
+
## Decision Rules
|
|
32
|
+
- When the user needs an attachment ID for `+del-attachment`, call this first.
|
|
33
|
+
- `--type image` filters to image attachments; `--type document` filters to documents.
|
|
34
|
+
- Use `--format table` for a scannable overview.
|
|
35
|
+
|
|
36
|
+
## Next Steps on Failure
|
|
37
|
+
- `--type must be image or document`: use one of the two values.
|
|
38
|
+
- Empty result: no attachments match the filter.
|
|
39
|
+
|
|
40
|
+
## Recommended Chaining
|
|
41
|
+
- `+list-attachments` → confirm `id` → `+del-attachment`
|
|
42
|
+
- `+add-attachment` (upload) → `+list-attachments` (verify)
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# agent +list-automations (List Automations)
|
|
2
|
+
|
|
3
|
+
> **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
|
|
4
|
+
|
|
5
|
+
Domain: **Automations / read**
|
|
6
|
+
|
|
7
|
+
## Use Cases
|
|
8
|
+
- List the current user's Agent automation tasks.
|
|
9
|
+
- Returns an array of automation summaries; key fields include `id`, `name`, `status`, `schedule`/`cronExpression`.
|
|
10
|
+
- Use this to discover a real automation ID before `+update-automation`.
|
|
11
|
+
|
|
12
|
+
## Mandatory Rules (MUST)
|
|
13
|
+
- Do not guess automation IDs. Always call `+list-automations` first when an automation ID is needed.
|
|
14
|
+
- Do not surface raw automation IDs, raw JSON, or concrete detail paths in user-facing replies — use the ID only internally for subsequent commands.
|
|
15
|
+
|
|
16
|
+
## Command
|
|
17
|
+
```bash
|
|
18
|
+
ae-cli agent +list-automations
|
|
19
|
+
ae-cli agent +list-automations --status active
|
|
20
|
+
ae-cli agent +list-automations --q "daily" --limit 20 --format table
|
|
21
|
+
ae-cli agent +list-automations --dry-run
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Parameters
|
|
25
|
+
| Parameter | Required | Description |
|
|
26
|
+
|---|---|---|
|
|
27
|
+
| `--q` | No | Keyword for automation name or instruction |
|
|
28
|
+
| `--status` | No | `active` \| `paused` |
|
|
29
|
+
| `--limit` | No | Maximum number of automations to return, 1–10000 |
|
|
30
|
+
|
|
31
|
+
## Decision Rules
|
|
32
|
+
- When the user wants to pause, resume, rename, or edit an automation, call this first to find the target ID.
|
|
33
|
+
- `--status active` lists only enabled automations; `--status paused` lists paused ones.
|
|
34
|
+
- If many automations are returned, summarize by `name` and `status` to help the user pick the right one.
|
|
35
|
+
|
|
36
|
+
## Next Steps on Failure
|
|
37
|
+
- Empty result: confirm the user has created automations on the active AE host.
|
|
38
|
+
- Auth error: run `ae-cli auth login`.
|
|
39
|
+
|
|
40
|
+
## Recommended Chaining
|
|
41
|
+
- `+list-automations` → confirm `id` → `+update-automation`
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# agent +list-mcp-credentials (List MCP Credentials)
|
|
2
|
+
|
|
3
|
+
> **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
|
|
4
|
+
|
|
5
|
+
Domain: **MCP Credentials / read**
|
|
6
|
+
|
|
7
|
+
## Use Cases
|
|
8
|
+
- List the current user's per-user credentials for system-scope MCP servers.
|
|
9
|
+
- Endpoint: `GET /api/sandbox/agent/mcp-credentials`.
|
|
10
|
+
- Returns one entry per system MCP server, with the user's credential (or `null` if none exists).
|
|
11
|
+
|
|
12
|
+
## Mandatory Rules (MUST)
|
|
13
|
+
- No flags required — lists all system MCP servers and the current user's credential status.
|
|
14
|
+
- Only system-scope MCP servers are included; personal/company credentials are managed via the MCP server config and OAuth flow.
|
|
15
|
+
|
|
16
|
+
## Command
|
|
17
|
+
```bash
|
|
18
|
+
# List all system MCP credentials
|
|
19
|
+
ae-cli agent +list-mcp-credentials
|
|
20
|
+
|
|
21
|
+
# Dry-run to inspect the request
|
|
22
|
+
ae-cli agent +list-mcp-credentials --dry-run
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Parameters
|
|
26
|
+
| Parameter | Required | Description |
|
|
27
|
+
|---|---|---|
|
|
28
|
+
| (none) | — | — |
|
|
29
|
+
|
|
30
|
+
## Decision Rules
|
|
31
|
+
- If the user wants to check which system MCP servers have credentials configured, use this command.
|
|
32
|
+
- Each item shows `mcpServerId`, `mcpServerName`, and a `credential` object (or `null`).
|
|
33
|
+
- The `credential` object includes `authType`, `enabled`, `expiresAt`, and whether a token is stored — but the token itself is not returned in plaintext here (use `+mcp-token` for that).
|
|
34
|
+
|
|
35
|
+
## Response Shape
|
|
36
|
+
```json
|
|
37
|
+
{
|
|
38
|
+
"items": [
|
|
39
|
+
{
|
|
40
|
+
"mcpServerId": "clxxx",
|
|
41
|
+
"mcpServerName": "te-mcp",
|
|
42
|
+
"credential": {
|
|
43
|
+
"mcpServerId": "clxxx",
|
|
44
|
+
"userId": "uyyy",
|
|
45
|
+
"authType": "oauth",
|
|
46
|
+
"enabled": true,
|
|
47
|
+
"expiresAt": "2026-07-06T13:00:00.000Z",
|
|
48
|
+
"hasToken": true
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"mcpServerId": "clzzz",
|
|
53
|
+
"mcpServerName": "other-mcp",
|
|
54
|
+
"credential": null
|
|
55
|
+
}
|
|
56
|
+
]
|
|
57
|
+
}
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
## Next Steps on Failure
|
|
61
|
+
- `401` / auth expired: run `ae-cli auth login`.
|
|
62
|
+
|
|
63
|
+
## Recommended Chaining
|
|
64
|
+
- `+list-mcp-credentials` (check) → `+set-mcp-credential` (set) or `+auto-provision-mcp-credentials` (bulk)
|
|
65
|
+
- `+list-mcp-credentials` → `+mcp-token` (get plaintext token for useMcpToken servers)
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# agent +list-mcp-market (List MCP Market)
|
|
2
|
+
|
|
3
|
+
> **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
|
|
4
|
+
|
|
5
|
+
Domain: **Market (browse) / read**
|
|
6
|
+
|
|
7
|
+
## Use Cases
|
|
8
|
+
- List MCP servers from the market (system / company / personal scopes).
|
|
9
|
+
- Endpoint: `GET /api/sandbox/agent/mcp-servers/market`.
|
|
10
|
+
- Supports filtering by scope, category, search, and sort, with pagination.
|
|
11
|
+
- Use this to discover MCP servers before adding one with `+add-mcp`.
|
|
12
|
+
|
|
13
|
+
## Mandatory Rules (MUST)
|
|
14
|
+
- `--scope` must be one of the market scopes when provided (see below).
|
|
15
|
+
- `--category` must be one of the market category keys when provided (see below).
|
|
16
|
+
- `--sort` must be one of the sort options when provided (see below).
|
|
17
|
+
|
|
18
|
+
## Market Scope
|
|
19
|
+
`all | system | company | custom` (`custom` = personal; `all` = system + company + personal)
|
|
20
|
+
|
|
21
|
+
## Market Category Keys
|
|
22
|
+
`ae_preset | dev_tool | search_tool | data_query | content_gen | enterprise | life | automation | other`
|
|
23
|
+
|
|
24
|
+
## Sort Options
|
|
25
|
+
`newest | calls | likes` (`calls` sorts MCP by call count)
|
|
26
|
+
|
|
27
|
+
## Command
|
|
28
|
+
```bash
|
|
29
|
+
ae-cli agent +list-mcp-market
|
|
30
|
+
ae-cli agent +list-mcp-market --scope company --category dev_tool --sort calls --format table
|
|
31
|
+
ae-cli agent +list-mcp-market --search "weather" --sort newest
|
|
32
|
+
ae-cli agent +list-mcp-market --limit 20 --offset 0
|
|
33
|
+
ae-cli agent +list-mcp-market --dry-run --scope system
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## Parameters
|
|
37
|
+
| Parameter | Required | Description |
|
|
38
|
+
|---|---|---|
|
|
39
|
+
| `--scope` | No | Market scope (see above; default `all`) |
|
|
40
|
+
| `--category` | No | Category key (see above) |
|
|
41
|
+
| `--search` | No | Fuzzy search on name/displayName/description/url |
|
|
42
|
+
| `--sort` | No | Sort option (see above; default `newest`) |
|
|
43
|
+
| `--limit` | No | Page size (1–100, default 50) |
|
|
44
|
+
| `--offset` | No | Page offset (>=0, default 0) |
|
|
45
|
+
|
|
46
|
+
## Decision Rules
|
|
47
|
+
- When the user wants to browse available MCP servers, call this first.
|
|
48
|
+
- `--scope company` shows same-company MCP servers; `--scope system` shows built-in ones; `--scope custom` shows personal ones.
|
|
49
|
+
- Use `--sort calls` to find the most-used MCP servers.
|
|
50
|
+
- Use `--format table` for a scannable overview.
|
|
51
|
+
|
|
52
|
+
## Next Steps on Failure
|
|
53
|
+
- `--scope must be one of...`: use one of the market scope values.
|
|
54
|
+
- `--category must be one of...`: use one of the category keys.
|
|
55
|
+
- Empty result: widen filters (remove `--category` / `--scope`).
|
|
56
|
+
|
|
57
|
+
## Recommended Chaining
|
|
58
|
+
- `+list-mcp-market` (browse) → `+add-mcp` (add to personal) → `+list-mcps` (verify)
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# agent +list-mcps (List MCP Servers)
|
|
2
|
+
|
|
3
|
+
> **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
|
|
4
|
+
|
|
5
|
+
Domain: **MCP Servers / read**
|
|
6
|
+
|
|
7
|
+
## Use Cases
|
|
8
|
+
- List MCP servers visible to the current user (personal / company / system scopes).
|
|
9
|
+
- Returns an array of MCP server summaries; key fields include `id`, `name`, `url`, `scope`, `enabled`.
|
|
10
|
+
|
|
11
|
+
## Mandatory Rules (MUST)
|
|
12
|
+
- Do not guess MCP server record IDs. Always call `+list-mcps` first when an ID is needed.
|
|
13
|
+
|
|
14
|
+
## Command
|
|
15
|
+
```bash
|
|
16
|
+
ae-cli agent +list-mcps
|
|
17
|
+
ae-cli agent +list-mcps --scope personal --format table
|
|
18
|
+
ae-cli agent +list-mcps --scope company
|
|
19
|
+
ae-cli agent +list-mcps --dry-run
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## Parameters
|
|
23
|
+
| Parameter | Required | Description |
|
|
24
|
+
|---|---|---|
|
|
25
|
+
| `--scope` | No | Filter by scope: `personal` \| `company` \| `system` |
|
|
26
|
+
|
|
27
|
+
## Decision Rules
|
|
28
|
+
- When the user needs an MCP server ID for `+del-mcp` / `+toggle-mcp` / `+set-mcp-meta`, call this first.
|
|
29
|
+
- Use `--format table` for a scannable overview of many servers.
|
|
30
|
+
|
|
31
|
+
## Next Steps on Failure
|
|
32
|
+
- Empty result: confirm account permissions and the active AE host.
|
|
33
|
+
- Auth error: run `ae-cli auth login`.
|
|
34
|
+
|
|
35
|
+
## Recommended Chaining
|
|
36
|
+
- `+list-mcps` → confirm `id` → `+toggle-mcp` / `+del-mcp` / `+set-mcp-meta`
|
|
37
|
+
- `+list-mcp-market` (browse) → `+add-mcp` (add) → `+list-mcps` (verify)
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# agent +list-models (List Models)
|
|
2
|
+
|
|
3
|
+
> **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
|
|
4
|
+
|
|
5
|
+
Domain: **Models / read**
|
|
6
|
+
|
|
7
|
+
## Use Cases
|
|
8
|
+
- List models visible to the current user (personal / company / system scopes).
|
|
9
|
+
- Returns an array of model summaries; key fields include `id`, `modelId`, `displayName`, `scope`, `enabled`.
|
|
10
|
+
- The current selected model (from the runtime env) is annotated when available.
|
|
11
|
+
|
|
12
|
+
## Mandatory Rules (MUST)
|
|
13
|
+
- Do not guess model record IDs. Always call `+list-models` first when a model ID is needed.
|
|
14
|
+
|
|
15
|
+
## Command
|
|
16
|
+
```bash
|
|
17
|
+
ae-cli agent +list-models
|
|
18
|
+
ae-cli agent +list-models --scope personal --format table
|
|
19
|
+
ae-cli agent +list-models --scope company
|
|
20
|
+
ae-cli agent +list-models --dry-run
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Parameters
|
|
24
|
+
| Parameter | Required | Description |
|
|
25
|
+
|---|---|---|
|
|
26
|
+
| `--scope` | No | Filter by scope: `personal` \| `company` \| `system` |
|
|
27
|
+
|
|
28
|
+
## Decision Rules
|
|
29
|
+
- When the user needs a model record ID for `+create-automation --model`, call this first.
|
|
30
|
+
- `--scope personal` shows only the user's own custom models; `company` / `system` show shared models.
|
|
31
|
+
- Use `--format table` for a scannable overview of many models.
|
|
32
|
+
|
|
33
|
+
## Next Steps on Failure
|
|
34
|
+
- Empty result: confirm account permissions and the active AE host.
|
|
35
|
+
- Auth error: run `ae-cli auth login`.
|
|
36
|
+
|
|
37
|
+
## Recommended Chaining
|
|
38
|
+
- `+list-models` → confirm model ID → `+create-automation --model <id>` or `+toggle-model` / `+del-model`
|