@thinkingai/ae-cli 6.0.24 → 6.0.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (185) hide show
  1. package/dist/{auth-A2XXG5K4.js → auth-7TQRGLBC.js} +10 -8
  2. package/dist/{auth-IDPKDFSY.js → auth-MEJ642P4.js} +2 -2
  3. package/dist/chunk-2NDGFQHW.js +190 -0
  4. package/dist/{chunk-NGJDCOYA.js → chunk-7QQ4233A.js} +3 -3
  5. package/dist/{chunk-PFJFZVCK.js → chunk-AJTH7LT3.js} +3 -2
  6. package/dist/{chunk-V5R5UIRM.js → chunk-BXMXMUD7.js} +65 -6
  7. package/dist/{chunk-AKORWVHJ.js → chunk-C4DH76LX.js} +1 -1
  8. package/dist/{chunk-NXJP4CES.js → chunk-GWZ5MYWE.js} +3 -3
  9. package/dist/{chunk-F3ZDMC2W.js → chunk-KCA6BA5D.js} +2 -2
  10. package/dist/{chunk-WXBCP6SD.js → chunk-KGJQCYVC.js} +1 -1
  11. package/dist/{chunk-FIT4CFIN.js → chunk-LG5YT7P7.js} +1 -1
  12. package/dist/{chunk-IDXW6MEJ.js → chunk-MDJGDI6K.js} +2 -2
  13. package/dist/{chunk-4FQ36OGO.js → chunk-R77JT7XD.js} +53 -6
  14. package/dist/{chunk-65DKFJZB.js → chunk-YCLVYFK7.js} +49 -6
  15. package/dist/{chunk-2OW2RENH.js → chunk-YNQFYBDB.js} +64 -6
  16. package/dist/{chunk-ONOA6DYB.js → chunk-ZAOL36CG.js} +1 -1
  17. package/dist/cli-token-TVQRSE46.js +18 -0
  18. package/dist/{client-7L735LVY.js → client-2643Z5AG.js} +3 -3
  19. package/dist/{config-SXD2JKSL.js → config-ZVPARN4R.js} +4 -9
  20. package/dist/index.js +24 -24
  21. package/dist/{metadata-QWUAX625.js → metadata-IPSPQBX3.js} +5 -5
  22. package/dist/{metadata-XWTEGEN2.js → metadata-N5REJ7R7.js} +5 -5
  23. package/dist/{model-3OVX42DA.js → model-T3KZJWLW.js} +2 -2
  24. package/dist/{raw-IANB4AV5.js → raw-OHSUK42D.js} +4 -4
  25. package/dist/{sync-4HQ3CXSK.js → sync-ULT5SECP.js} +3 -3
  26. package/dist/{te-agent-OYNNTJDU.js → te-agent-QLIVKRUN.js} +1146 -61
  27. package/dist/{te-analysis-JX3V76OI.js → te-analysis-5WZKVFHI.js} +1332 -338
  28. package/dist/{te-analysis-CRPFK3LX.js → te-analysis-KAEZXLNS.js} +1332 -338
  29. package/dist/{te-audience-RO2IZOUC.js → te-audience-PVMKQAFH.js} +5 -5
  30. package/dist/{te-audience-77FGNG5E.js → te-audience-XMRMVD2V.js} +5 -5
  31. package/dist/{te-common-4TRJPRC5.js → te-common-CFGQXTFV.js} +5 -5
  32. package/dist/{te-common-PUXBUPOL.js → te-common-SDB3O2QG.js} +5 -5
  33. package/dist/{te-community-XKE526DS.js → te-community-6A7LKYUH.js} +5 -5
  34. package/dist/{te-community-NPDZQKMY.js → te-community-GMWFGILT.js} +5 -5
  35. package/dist/{te-dataops-PW74WP76.js → te-dataops-6LIPYNGH.js} +90 -68
  36. package/dist/{te-dataops-6KWLFNV4.js → te-dataops-Z53CTG2U.js} +90 -68
  37. package/dist/{te-engage-HTLMUN7G.js → te-engage-AGREUOW7.js} +30 -15
  38. package/dist/{te-engage-YPQIVF5H.js → te-engage-MIIUKY6M.js} +30 -15
  39. package/dist/{te-kb-DOGDQIU4.js → te-kb-KQJ53M3A.js} +4 -4
  40. package/dist/{te-meta-5ESSQ5B3.js → te-meta-QLANJ4B4.js} +5 -5
  41. package/dist/{te-meta-Z47X4VT3.js → te-meta-TOA6FWDE.js} +5 -5
  42. package/dist/{te-team-SOVKZIDD.js → te-team-TQGMNHQQ.js} +5 -5
  43. package/package.json +3 -1
  44. package/skills/ae-agent/SKILL.md +158 -189
  45. package/skills/ae-agent/references/accept-skill-share.md +39 -0
  46. package/skills/ae-agent/references/add-attachment.md +57 -0
  47. package/skills/ae-agent/references/add-mcp.md +75 -0
  48. package/skills/ae-agent/references/add-model.md +70 -0
  49. package/skills/ae-agent/references/add-skill.md +71 -0
  50. package/skills/ae-agent/references/approve-skill.md +41 -0
  51. package/skills/ae-agent/references/attachment-stats.md +50 -0
  52. package/skills/ae-agent/references/auto-provision-mcp-credentials.md +57 -0
  53. package/skills/ae-agent/references/cancel-skill-submission.md +39 -0
  54. package/skills/ae-agent/references/copy-skill.md +53 -0
  55. package/skills/ae-agent/references/create-agent.md +71 -0
  56. package/skills/ae-agent/references/create-automation.md +99 -0
  57. package/skills/ae-agent/references/del-agent.md +38 -0
  58. package/skills/ae-agent/references/del-attachment.md +35 -0
  59. package/skills/ae-agent/references/del-mcp.md +35 -0
  60. package/skills/ae-agent/references/del-model.md +37 -0
  61. package/skills/ae-agent/references/del-skill-asset.md +41 -0
  62. package/skills/ae-agent/references/del-skill-reference.md +41 -0
  63. package/skills/ae-agent/references/del-skill-script.md +41 -0
  64. package/skills/ae-agent/references/del-skill.md +36 -0
  65. package/skills/ae-agent/references/edit-skill.md +64 -0
  66. package/skills/ae-agent/references/get-agent.md +37 -0
  67. package/skills/ae-agent/references/get-skill-content.md +36 -0
  68. package/skills/ae-agent/references/list-agents.md +40 -0
  69. package/skills/ae-agent/references/list-attachments.md +42 -0
  70. package/skills/ae-agent/references/list-automations.md +41 -0
  71. package/skills/ae-agent/references/list-mcp-credentials.md +65 -0
  72. package/skills/ae-agent/references/list-mcp-market.md +58 -0
  73. package/skills/ae-agent/references/list-mcps.md +37 -0
  74. package/skills/ae-agent/references/list-models.md +38 -0
  75. package/skills/ae-agent/references/list-skill-assets.md +35 -0
  76. package/skills/ae-agent/references/list-skill-market.md +59 -0
  77. package/skills/ae-agent/references/list-skill-references.md +36 -0
  78. package/skills/ae-agent/references/list-skill-scripts.md +35 -0
  79. package/skills/ae-agent/references/list-skill-shares.md +49 -0
  80. package/skills/ae-agent/references/list-skill-submissions.md +45 -0
  81. package/skills/ae-agent/references/list-skills.md +37 -0
  82. package/skills/ae-agent/references/mcp-auth-disconnect.md +50 -0
  83. package/skills/ae-agent/references/mcp-auth-start.md +61 -0
  84. package/skills/ae-agent/references/mcp-auth-status.md +56 -0
  85. package/skills/ae-agent/references/mcp-stats.md +68 -0
  86. package/skills/ae-agent/references/mcp-token.md +63 -0
  87. package/skills/ae-agent/references/mcp-tools.md +55 -0
  88. package/skills/ae-agent/references/read-skill-asset.md +51 -0
  89. package/skills/ae-agent/references/read-skill-reference.md +50 -0
  90. package/skills/ae-agent/references/read-skill-script.md +51 -0
  91. package/skills/ae-agent/references/reject-skill-share.md +37 -0
  92. package/skills/ae-agent/references/reject-skill.md +42 -0
  93. package/skills/ae-agent/references/rescan-skills.md +44 -0
  94. package/skills/ae-agent/references/set-mcp-credential.md +67 -0
  95. package/skills/ae-agent/references/set-mcp-meta.md +52 -0
  96. package/skills/ae-agent/references/set-skill-meta.md +51 -0
  97. package/skills/ae-agent/references/share-skill.md +50 -0
  98. package/skills/ae-agent/references/submit-skill.md +51 -0
  99. package/skills/ae-agent/references/test-model.md +61 -0
  100. package/skills/ae-agent/references/toggle-mcp.md +39 -0
  101. package/skills/ae-agent/references/toggle-model.md +37 -0
  102. package/skills/ae-agent/references/toggle-skill.md +37 -0
  103. package/skills/ae-agent/references/update-agent.md +71 -0
  104. package/skills/ae-agent/references/update-automation.md +83 -0
  105. package/skills/ae-agent/references/update-mcp.md +79 -0
  106. package/skills/ae-agent/references/update-model.md +77 -0
  107. package/skills/ae-agent/references/upload-skill-asset.md +49 -0
  108. package/skills/ae-agent/references/upload-skill-reference.md +51 -0
  109. package/skills/ae-agent/references/upload-skill-script.md +49 -0
  110. package/skills/ae-agent/references/upload-skill.md +89 -0
  111. package/skills/ae-analysis/SKILL.md +60 -6
  112. package/skills/ae-analysis/references/analysis_gateway_assets.md +27 -10
  113. package/skills/ae-analysis/references/artifact_download.md +17 -0
  114. package/skills/ae-analysis/references/asset_abnormal_get.md +27 -0
  115. package/skills/ae-analysis/references/asset_abnormal_list.md +24 -0
  116. package/skills/ae-analysis/references/asset_authentication_list.md +23 -0
  117. package/skills/ae-analysis/references/asset_authentication_update.md +24 -0
  118. package/skills/ae-analysis/references/asset_recent_list.md +24 -0
  119. package/skills/ae-analysis/references/asset_search.md +24 -0
  120. package/skills/ae-analysis/references/bi_panel_get.md +5 -0
  121. package/skills/ae-analysis/references/bi_panel_page_data_export.md +11 -1
  122. package/skills/ae-analysis/references/bi_panel_share.md +6 -0
  123. package/skills/ae-analysis/references/bi_panel_update.md +4 -1
  124. package/skills/ae-analysis/references/bi_panel_version_get.md +23 -0
  125. package/skills/ae-analysis/references/bi_panel_version_publish.md +20 -0
  126. package/skills/ae-analysis/references/dashboard_copy.md +3 -1
  127. package/skills/ae-analysis/references/dashboard_daily_report_send.md +9 -2
  128. package/skills/ae-analysis/references/dashboard_daily_report_update.md +3 -1
  129. package/skills/ae-analysis/references/dashboard_definition_export.md +21 -3
  130. package/skills/ae-analysis/references/dashboard_report_data_export.md +17 -1
  131. package/skills/ae-analysis/references/dashboard_report_data_run.md +6 -0
  132. package/skills/ae-analysis/references/datatable_columns_get.md +24 -0
  133. package/skills/ae-analysis/references/datatable_influence_list.md +24 -0
  134. package/skills/ae-analysis/references/datatable_version_get.md +24 -0
  135. package/skills/ae-analysis/references/datatable_version_list.md +24 -0
  136. package/skills/ae-analysis/references/event_changelog_list.md +24 -0
  137. package/skills/ae-analysis/references/event_create.md +24 -0
  138. package/skills/ae-analysis/references/event_delete.md +24 -0
  139. package/skills/ae-analysis/references/event_get.md +24 -0
  140. package/skills/ae-analysis/references/event_hide_update.md +25 -0
  141. package/skills/ae-analysis/references/event_influence_list.md +24 -0
  142. package/skills/ae-analysis/references/event_list.md +23 -0
  143. package/skills/ae-analysis/references/event_relation_update.md +24 -0
  144. package/skills/ae-analysis/references/event_update.md +26 -0
  145. package/skills/ae-analysis/references/exchange_config_update.md +24 -0
  146. package/skills/ae-analysis/references/exchange_rate_refresh.md +23 -0
  147. package/skills/ae-analysis/references/exchange_rule_list.md +23 -0
  148. package/skills/ae-analysis/references/exchange_rule_update.md +24 -0
  149. package/skills/ae-analysis/references/exchange_rule_validate.md +24 -0
  150. package/skills/ae-analysis/references/metric_create.md +24 -0
  151. package/skills/ae-analysis/references/metric_delete.md +24 -0
  152. package/skills/ae-analysis/references/metric_get.md +24 -0
  153. package/skills/ae-analysis/references/metric_list.md +24 -0
  154. package/skills/ae-analysis/references/metric_update.md +24 -0
  155. package/skills/ae-analysis/references/project_space_create.md +1 -1
  156. package/skills/ae-analysis/references/property_changelog_list.md +25 -0
  157. package/skills/ae-analysis/references/property_create.md +25 -0
  158. package/skills/ae-analysis/references/property_delete.md +25 -0
  159. package/skills/ae-analysis/references/property_get.md +25 -0
  160. package/skills/ae-analysis/references/property_hide_update.md +26 -0
  161. package/skills/ae-analysis/references/property_influence_list.md +25 -0
  162. package/skills/ae-analysis/references/property_list.md +24 -0
  163. package/skills/ae-analysis/references/property_related_events.md +24 -0
  164. package/skills/ae-analysis/references/property_relation_update.md +25 -0
  165. package/skills/ae-analysis/references/property_update.md +27 -0
  166. package/skills/ae-analysis/references/run_inspect.md +22 -0
  167. package/skills/ae-analysis/references/super_metadata_export.md +36 -0
  168. package/skills/ae-analysis/references/super_metadata_import.md +24 -0
  169. package/skills/ae-analysis/references/virtual_event_create.md +25 -0
  170. package/skills/ae-analysis/references/virtual_event_delete.md +24 -0
  171. package/skills/ae-analysis/references/virtual_event_get.md +24 -0
  172. package/skills/ae-analysis/references/virtual_property_create.md +24 -0
  173. package/skills/ae-analysis/references/virtual_property_sql_rule_delete.md +25 -0
  174. package/skills/ae-analysis/references/virtual_property_sql_rule_update.md +24 -0
  175. package/skills/ae-dataops/references/dataops-flow-create.md +2 -2
  176. package/skills/ae-dataops/references/dataops-flow-monitor.md +3 -3
  177. package/skills/ae-dataops/references/dataops-integration.md +1 -0
  178. package/skills/ae-engage/references/flow-node-config-schema.md +32 -8
  179. package/skills/ae-engage/references/save-flow.md +65 -29
  180. package/skills/ae-engage/references/validate-flow-node-config.md +28 -10
  181. package/skills/ae-generate-tracking-code/SKILL.md +16 -1
  182. package/skills/ae-generate-tracking-code/references/snippet-delivery.md +17 -1
  183. package/skills/ae-generate-tracking-plan/SKILL.md +36 -12
  184. package/dist/chunk-OCQPQYHZ.js +0 -105
  185. package/dist/cli-token-OZXHC3U2.js +0 -14
@@ -0,0 +1,70 @@
1
+ # agent +add-model (Add Custom 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
+ - Add a custom model to the personal or company scope.
9
+ - Returns the newly created model object including its `id`.
10
+ - `--scope personal` (default) creates a personal model; `--scope company` creates a company model (requires root/agent_admin).
11
+
12
+ ## Mandatory Rules (MUST)
13
+ - `--model-id`, `--name`, and `--base-url` are required.
14
+ - `--base-url` must be a valid URL.
15
+ - `--scope` controls target scope: `personal` (default) or `company`. Company scope requires root/agent_admin; system models are read-only.
16
+ - Write operation: keep the confirmation prompt unless `--yes` is explicitly requested.
17
+
18
+ ## Command
19
+ ```bash
20
+ ae-cli agent +add-model \
21
+ --model-id gpt-4o \
22
+ --name "GPT-4o" \
23
+ --base-url "https://api.openai.com/v1" \
24
+ --api-key "sk-xxx" \
25
+ --provider openai
26
+
27
+ ae-cli agent +add-model \
28
+ --model-id claude-sonnet \
29
+ --name "Claude Sonnet" \
30
+ --base-url "https://api.anthropic.com/v1" \
31
+ --provider anthropic \
32
+ --context-length 200000 \
33
+ --yes
34
+
35
+ # Dry-run to inspect the request before executing
36
+ ae-cli agent +add-model --dry-run --model-id gpt-4o --name "GPT-4o" --base-url "https://api.openai.com/v1"
37
+
38
+ # Company scope (requires root/agent_admin)
39
+ ae-cli agent +add-model \
40
+ --model-id gpt-4o-company \
41
+ --name "GPT-4o (company)" \
42
+ --base-url "https://api.openai.com/v1" \
43
+ --provider openai \
44
+ --scope company \
45
+ --yes
46
+ ```
47
+
48
+ ## Parameters
49
+ | Parameter | Required | Description |
50
+ |---|---|---|
51
+ | `--model-id` | Yes | Model identifier (e.g. `gpt-4o`) |
52
+ | `--name` | Yes | Display name |
53
+ | `--base-url` | Yes | API base URL (must be a valid URL) |
54
+ | `--api-key` | No | API key |
55
+ | `--provider` | No | Provider name |
56
+ | `--description` | No | Description |
57
+ | `--context-length` | No | Context window length |
58
+ | `--scope` | No | Target scope: `personal` (default) or `company` (requires root/agent_admin) |
59
+
60
+ ## Decision Rules
61
+ - If the user provides a model spec, map the model identifier to `--model-id` and the human name to `--name`.
62
+ - `--api-key` is optional at the CLI level but usually required by the upstream provider; pass it when the user supplies one.
63
+ - Use `--dry-run` first to verify the request shape before executing.
64
+
65
+ ## Next Steps on Failure
66
+ - `--base-url must be a valid URL`: check the URL formatting.
67
+ - After success, capture the returned `id` for `+toggle-model` / `+del-model` calls.
68
+
69
+ ## Recommended Chaining
70
+ - `+list-models` (verify) → `+add-model` → `+toggle-model` (enable) → `+create-automation --model <id>`
@@ -0,0 +1,71 @@
1
+ # agent +add-skill (Create Custom 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
+ - Create a custom Skill in the personal or company scope.
9
+ - Returns the newly created Skill object including its `id`.
10
+ - `--scope personal` (default) creates a personal Skill; `--scope company` creates a company Skill (requires root/agent_admin). Company scope bypasses the submit-approve flow — the Skill is directly created as a company asset (consistent with `+upload-skill --scope company`).
11
+ - Optional market meta (`--category` / `--icon-emoji` / `--icon-color`) is applied via a follow-up PATCH to `/api/sandbox/agent/skills/[id]/meta`.
12
+
13
+ ## Mandatory Rules (MUST)
14
+ - `--name`, `--description`, and `--instructions` are required.
15
+ - `--name` must be 1–80 chars.
16
+ - `--instructions` supports `@-` to read from stdin (useful for piping long instruction text).
17
+ - `--category` must be one of the market category keys (see below) when provided.
18
+ - `--scope` controls target scope: `personal` (default) or `company`. Company scope requires root/agent_admin and bypasses the submit-approve flow (directly creates a company Skill, consistent with `+upload-skill --scope company`).
19
+ - Write operation: keep the confirmation prompt unless `--yes` is explicitly requested.
20
+
21
+ ## Market Category Keys
22
+ `ae_preset | dev_tool | search_tool | data_query | content_gen | enterprise | life | automation | other`
23
+
24
+ ## Command
25
+ ```bash
26
+ # Inline instructions
27
+ ae-cli agent +add-skill \
28
+ --name code-reviewer \
29
+ --description "Reviews code for best practices" \
30
+ --instructions "You are a code reviewer. Analyze the code for..."
31
+
32
+ # Instructions from stdin (useful for long text)
33
+ echo "You are a helpful assistant that..." | \
34
+ ae-cli agent +add-skill --name helper --description "Helper skill" --instructions @-
35
+
36
+ # With market category and icon
37
+ ae-cli agent +add-skill \
38
+ --name code-reviewer \
39
+ --description "Reviews code for best practices" \
40
+ --instructions "You are a code reviewer..." \
41
+ --category dev_tool \
42
+ --icon-emoji robot \
43
+ --yes
44
+
45
+ # Dry-run to inspect the request before executing
46
+ ae-cli agent +add-skill --dry-run --name helper --description "Helper" --instructions "x"
47
+ ```
48
+
49
+ ## Parameters
50
+ | Parameter | Required | Description |
51
+ |---|---|---|
52
+ | `--name` | Yes | Skill name (1–80 chars) |
53
+ | `--description` | Yes | Skill description |
54
+ | `--instructions` | Yes | Skill instructions (use `@-` to read from stdin) |
55
+ | `--display-name` | No | Display name (max 100) |
56
+ | `--category` | No | Market category key (see above) |
57
+ | `--icon-emoji` | No | Market icon emoji (e.g. `robot`) |
58
+ | `--icon-color` | No | Market icon color (e.g. `#1E76F0`) |
59
+ | `--scope` | No | Target scope: `personal` (default) or `company` (requires root/agent_admin; bypasses submit-approve flow) |
60
+
61
+ ## Decision Rules
62
+ - If the user provides long instruction text, pipe it via stdin with `--instructions @-` instead of an oversized inline string.
63
+ - `--category` / `--icon-emoji` / `--icon-color` are optional market meta; they are applied via a follow-up PATCH after creation. If the meta update fails, the Skill is still created and a warning is printed to stderr.
64
+ - Use `--dry-run` first to verify the request shape before executing.
65
+
66
+ ## Next Steps on Failure
67
+ - `stdin is empty; cannot read instructions`: ensure stdin has content when using `@-`.
68
+ - Warning `Skill created but meta update failed`: the Skill exists; retry the meta with `+set-skill-meta`.
69
+
70
+ ## Recommended Chaining
71
+ - `+add-skill` → `+list-skills` (verify) → `+set-skill-meta` (adjust meta) → `+submit-skill` (publish) or `+share-skill` (peer share)
@@ -0,0 +1,41 @@
1
+ # agent +approve-skill (Approve Skill Submission)
2
+
3
+ > **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
4
+
5
+ Domain: **Skill Approval (company-scope publish) / write**
6
+
7
+ ## Use Cases
8
+ - Approve a pending Skill submission (root only).
9
+ - Endpoint: `POST /api/sandbox/agent/skills/submissions/[id]/approve`.
10
+ - Approving creates an independent company-scope copy of the Skill.
11
+ - Approval is Skill-only — MCP has no approval flow.
12
+
13
+ ## Mandatory Rules (MUST)
14
+ - `--id` is required and must reference a **submission** record (CUID), not a Skill ID. Obtain it via `+list-skill-submissions` — do not guess.
15
+ - **Root only** — non-root users cannot approve submissions.
16
+ - Write operation: keep the confirmation prompt unless `--yes` is explicitly requested.
17
+ - Only `pending` submissions can be approved.
18
+
19
+ ## Command
20
+ ```bash
21
+ ae-cli agent +approve-skill --id <submission-cuid> --yes
22
+ ae-cli agent +approve-skill --dry-run --id <submission-cuid>
23
+ ```
24
+
25
+ ## Parameters
26
+ | Parameter | Required | Description |
27
+ |---|---|---|
28
+ | `--id` | Yes | Submission record ID (CUID) |
29
+
30
+ ## Decision Rules
31
+ - `--id` here is a submission ID (not a Skill ID).
32
+ - Use this after reviewing a pending submission (`+list-skill-submissions --status pending`).
33
+ - Approving creates a company-scope copy; the original personal Skill remains.
34
+ - Cannot approve a submission that is already `approved` / `rejected` / `cancelled`.
35
+
36
+ ## Next Steps on Failure
37
+ - `404` / not found: re-run `+list-skill-submissions --status pending` to verify the submission ID.
38
+ - Permission error: the current user is not root.
39
+
40
+ ## Recommended Chaining
41
+ - `+list-skill-submissions --status pending` → confirm submission `id` → `+approve-skill` (or `+reject-skill`)
@@ -0,0 +1,50 @@
1
+ # agent +attachment-stats (Attachment Library Statistics)
2
+
3
+ > **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
4
+
5
+ Domain: **Attachments / read**
6
+
7
+ ## Use Cases
8
+ - Show the current user's attachment library statistics: total file count, total size, image count, document count.
9
+ - Endpoint: `GET /api/sandbox/agent/attachments/stats`.
10
+ - No parameters; returns a single statistics object for the authenticated user's own data.
11
+
12
+ ## Mandatory Rules (MUST)
13
+ - No flags. The command always returns the current user's own attachment statistics.
14
+
15
+ ## Command
16
+ ```bash
17
+ ae-cli agent +attachment-stats
18
+
19
+ # Dry-run to inspect the request
20
+ ae-cli agent +attachment-stats --dry-run
21
+ ```
22
+
23
+ ## Parameters
24
+ | Parameter | Required | Description |
25
+ |---|---|---|
26
+ | _(none)_ | — | This command takes no flags. |
27
+
28
+ ## Response Shape
29
+ ```json
30
+ {
31
+ "totalCount": 42,
32
+ "totalSize": 10485760,
33
+ "imageCount": 15,
34
+ "documentCount": 27
35
+ }
36
+ ```
37
+
38
+ | Field | Description |
39
+ |---|---|
40
+ | `totalCount` | Total number of ready attachments |
41
+ | `totalSize` | Total size in bytes (sum of all ready attachments) |
42
+ | `imageCount` | Number of image attachments (type=image) |
43
+ | `documentCount` | Number of document attachments (type=document) |
44
+
45
+ ## Next Steps on Failure
46
+ - `500` 获取附件统计失败: an internal aggregation error — retry, then contact the platform maintainer if it persists.
47
+
48
+ ## Recommended Chaining
49
+ - `+attachment-stats` (overview) → `+list-attachments` (drill into the list)
50
+ - `+add-attachment` (upload) → `+attachment-stats` (verify totals changed)
@@ -0,0 +1,57 @@
1
+ # agent +auto-provision-mcp-credentials (Auto-Provision MCP Credentials)
2
+
3
+ > **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
4
+
5
+ Domain: **MCP Credentials / write**
6
+
7
+ ## Use Cases
8
+ - Auto-provision per-user credentials for all system-scope MCP servers in one call.
9
+ - Endpoint: `POST /api/sandbox/agent/mcp-credentials/auto-provision`.
10
+ - Uses the current user's access token to mint MCP tokens via the central token-generation endpoint.
11
+ - For `useMcpToken=true` system servers, a shared MCP token is generated and stored; for OAuth system servers, the access token is stored as the credential.
12
+
13
+ ## Mandatory Rules (MUST)
14
+ - `--access-token` is optional; when omitted, the current session token is used automatically (via `ctx.token()`).
15
+ - The access token must be valid — an invalid/expired token causes the MCP token generation to fail (reported via `mcpTokenFailed: true` in the response).
16
+ - Write operation: keep the confirmation prompt unless `--yes` is explicitly requested.
17
+ - This is a bulk operation — it upserts credentials for ALL system MCP servers visible to the current user.
18
+
19
+ ## Command
20
+ ```bash
21
+ # Auto-provision using the current session token (recommended)
22
+ ae-cli agent +auto-provision-mcp-credentials --yes
23
+
24
+ # Explicitly pass an access token
25
+ ae-cli agent +auto-provision-mcp-credentials --access-token "eyJhbGci..." --yes
26
+
27
+ # Dry-run to inspect the request
28
+ ae-cli agent +auto-provision-mcp-credentials --dry-run
29
+ ```
30
+
31
+ ## Parameters
32
+ | Parameter | Required | Description |
33
+ |---|---|---|
34
+ | `--access-token` | No | Access token (defaults to the current session token) |
35
+
36
+ ## Decision Rules
37
+ - If the user wants to set up all system MCP credentials in one step, use this command.
38
+ - Prefer running without `--access-token` — the CLI automatically sources the current session token.
39
+ - The response reports `count` (total system servers processed), `mcpTokenCount` (servers that got a shared MCP token), and `mcpTokenFailed` (whether the MCP token generation failed).
40
+ - If `mcpTokenFailed` is `true`, the MCP token endpoint may be down or the access token invalid — check the access token and retry.
41
+ - For individual credential control, use `+set-mcp-credential` instead.
42
+
43
+ ## Response Shape
44
+ ```json
45
+ {
46
+ "count": 3,
47
+ "mcpTokenCount": 1,
48
+ "mcpTokenFailed": false
49
+ }
50
+ ```
51
+
52
+ ## Next Steps on Failure
53
+ - `401` / auth expired: run `ae-cli auth login`, then retry.
54
+ - `mcpTokenFailed: true`: the MCP token generation failed — verify the access token is valid and the MCP token endpoint is configured.
55
+
56
+ ## Recommended Chaining
57
+ - `ae-cli auth login` → `+auto-provision-mcp-credentials` → `+list-mcp-credentials` (verify) → `+mcp-token` (get shared token)
@@ -0,0 +1,39 @@
1
+ # agent +cancel-skill-submission (Cancel Skill Submission)
2
+
3
+ > **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
4
+
5
+ Domain: **Skill Approval (company-scope publish) / write**
6
+
7
+ ## Use Cases
8
+ - Cancel a pending Skill submission.
9
+ - Endpoint: `POST /api/sandbox/agent/skills/submissions/[id]/cancel`.
10
+ - Only pending submissions can be cancelled; the submitter or root can cancel.
11
+ - Approval is Skill-only — MCP has no approval flow.
12
+
13
+ ## Mandatory Rules (MUST)
14
+ - `--id` is required and must reference a **submission** record (CUID), not a Skill ID. Obtain it via `+list-skill-submissions` — do not guess.
15
+ - Only the submitter or root can cancel a submission.
16
+ - Write operation: keep the confirmation prompt unless `--yes` is explicitly requested.
17
+
18
+ ## Command
19
+ ```bash
20
+ ae-cli agent +cancel-skill-submission --id <submission-cuid> --yes
21
+ ae-cli agent +cancel-skill-submission --dry-run --id <submission-cuid>
22
+ ```
23
+
24
+ ## Parameters
25
+ | Parameter | Required | Description |
26
+ |---|---|---|
27
+ | `--id` | Yes | Submission record ID (CUID) |
28
+
29
+ ## Decision Rules
30
+ - `--id` here is a submission ID (not a Skill ID) — `+submit-skill` / `+share-skill` / `+copy-skill` take a Skill ID instead.
31
+ - Use this when the submitter wants to withdraw a pending submission before review.
32
+ - Cannot cancel a submission that is already `approved` / `rejected` / `cancelled`.
33
+
34
+ ## Next Steps on Failure
35
+ - `404` / not found: re-run `+list-skill-submissions --status pending` to verify the submission ID.
36
+ - Permission error: only the submitter or root can cancel.
37
+
38
+ ## Recommended Chaining
39
+ - `+list-skill-submissions --status pending` → confirm submission `id` → `+cancel-skill-submission`
@@ -0,0 +1,53 @@
1
+ # agent +copy-skill (Copy Skill to Personal)
2
+
3
+ > **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
4
+
5
+ Domain: **Copy to personal / write**
6
+
7
+ ## Use Cases
8
+ - Copy a system/company Skill to an independent personal copy.
9
+ - Endpoint: `POST /api/sandbox/agent/skills/[id]/copy`.
10
+ - The copy is an independent duplicate — changes to the source do not affect the copy and vice versa.
11
+ - Optional `--category` / `--icon-emoji` / `--icon-color` override the copy's market meta; omit them to inherit the source's.
12
+
13
+ ## Mandatory Rules (MUST)
14
+ - `--id` is required. Obtain the real source Skill record ID (CUID, system or company scope) via `+list-skill-market` or `+list-skills` — do not guess.
15
+ - `--category` must be one of the market category keys (see below) when provided.
16
+ - Write operation: keep the confirmation prompt unless `--yes` is explicitly requested.
17
+ - MCP has no copy flow (use `+toggle-mcp` to enable a system/company MCP per-user).
18
+
19
+ ## Market Category Keys
20
+ `ae_preset | dev_tool | search_tool | data_query | content_gen | enterprise | life | automation | other`
21
+
22
+ ## Command
23
+ ```bash
24
+ # Copy with inherited meta
25
+ ae-cli agent +copy-skill --id <skill-cuid> --yes
26
+
27
+ # Copy with overridden category and icon
28
+ ae-cli agent +copy-skill --id <skill-cuid> --category dev_tool --icon-emoji robot --yes
29
+
30
+ # Dry-run to inspect the request before executing
31
+ ae-cli agent +copy-skill --dry-run --id <skill-cuid>
32
+ ```
33
+
34
+ ## Parameters
35
+ | Parameter | Required | Description |
36
+ |---|---|---|
37
+ | `--id` | Yes | Source Skill record ID (CUID, system or company scope) |
38
+ | `--category` | No | Market category key for the copy (see above) |
39
+ | `--icon-emoji` | No | Override market icon emoji (e.g. `robot`) |
40
+ | `--icon-color` | No | Override market icon color (e.g. `#1E76F0`) |
41
+
42
+ ## Decision Rules
43
+ - If the user wants a personal version of a system/company Skill, use `+copy-skill` (not `+add-skill`).
44
+ - Omit `--category` / `--icon-emoji` / `--icon-color` to inherit the source's meta; provide them to override.
45
+ - MCP has no copy — to use a system/company MCP, toggle it on per-user with `+toggle-mcp`.
46
+ - Use `--dry-run` first to verify the request shape before executing.
47
+
48
+ ## Next Steps on Failure
49
+ - `--category must be one of...`: use one of the category keys.
50
+ - `404` / not found: re-run `+list-skill-market` / `+list-skills` to verify the source Skill ID and scope.
51
+
52
+ ## Recommended Chaining
53
+ - `+list-skill-market` (browse) → `+copy-skill` (copy to personal) → `+list-skills` (verify) → `+set-skill-meta` (adjust)
@@ -0,0 +1,71 @@
1
+ # agent +create-agent (Create Agent)
2
+
3
+ > **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
4
+
5
+ Domain: **Agents / write**
6
+
7
+ ## Use Cases
8
+ - Create a new Agent in the personal scope (default) or company scope (requires root/agent_admin).
9
+ - Returns the newly created Agent object including its `id`.
10
+ - Wire up an existing model, MCP servers, and Skills in one call.
11
+
12
+ ## Mandatory Rules (MUST)
13
+ - `--name` is required (1–100 chars).
14
+ - `--scope` defaults to `personal`; `company` requires root/agent_admin privileges.
15
+ - `--instructions` maps to the Agent's system prompt; supports `@-` to read from stdin.
16
+ - `--mcp-ids` / `--skill-ids` must be JSON array strings when provided.
17
+ - Write operation: keep the confirmation prompt unless `--yes` is explicitly requested.
18
+ - Do not guess model / MCP / Skill IDs. Discover them with `+list-*` commands first.
19
+
20
+ ## Command
21
+ ```bash
22
+ # Minimal create
23
+ ae-cli agent +create-agent --name "daily-report" --description "Daily report agent"
24
+
25
+ # With model, MCP servers, and Skills
26
+ ae-cli agent +create-agent \
27
+ --name "daily-report" \
28
+ --description "Daily report agent" \
29
+ --model-id "cm1uuid" \
30
+ --mcp-ids '["mcp-cuid-1","mcp-cuid-2"]' \
31
+ --skill-ids '["skill-cuid-1"]' \
32
+ --yes
33
+
34
+ # Instructions from stdin (useful for long prompts)
35
+ echo "You are a helpful assistant that..." | \
36
+ ae-cli agent +create-agent --name helper --instructions @-
37
+
38
+ # Auto-rename on name conflict (appends -1, -2, ...)
39
+ ae-cli agent +create-agent --name "daily-report" --auto-rename --yes
40
+
41
+ # Dry-run to inspect the request before executing
42
+ ae-cli agent +create-agent --dry-run --name "daily-report" --description "x"
43
+ ```
44
+
45
+ ## Parameters
46
+ | Parameter | Required | Description |
47
+ |---|---|---|
48
+ | `--name` | Yes | Agent name (1–100 chars) |
49
+ | `--description` | No | Agent description (max 2000 chars) |
50
+ | `--instructions` | No | Agent system prompt (use `@-` to read from stdin) |
51
+ | `--scope` | No | `personal` \| `company` (default `personal`; `company` requires root/agent_admin) |
52
+ | `--model-id` | No | Model identifier (`Model.id` uuid or legacy `modelId`); omit to use the global default |
53
+ | `--mcp-ids` | No | MCP server record IDs as JSON array string (e.g. `["id1","id2"]`) |
54
+ | `--skill-ids` | No | Skill record IDs as JSON array string |
55
+ | `--auto-rename` | No | Auto-rename on name conflict (append `-N` suffix) |
56
+
57
+ ## Decision Rules
58
+ - If the user provides long instruction text, pipe it via stdin with `--instructions @-` instead of an oversized inline string.
59
+ - `--model-id` accepts both the model record UUID and the legacy model identifier; the server resolves and stores the UUID. Omit it to use the global default model.
60
+ - `--mcp-ids` / `--skill-ids` replace the full list on create; pass `[]` or omit to leave the list empty.
61
+ - Use `--dry-run` first to verify the request shape before executing.
62
+ - On name conflict, the server returns `409 NAME_EXISTS`; pass `--auto-rename` to auto-resolve.
63
+
64
+ ## Next Steps on Failure
65
+ - `Agent 名称已存在` (409): re-run with `--auto-rename`, or pick a different `--name`.
66
+ - `模型不存在或已删除`: verify the model ID with `+list-models`.
67
+ - `MCP 数量超过上限` / `Skill 数量超过上限`: reduce the IDs in `--mcp-ids` / `--skill-ids`.
68
+ - `stdin is empty; cannot read instructions`: ensure stdin has content when using `@-`.
69
+
70
+ ## Recommended Chaining
71
+ - `+list-models` / `+list-mcps` / `+list-skills` (discover IDs) → `+create-agent` → `+get-agent` (verify) → `+create-automation --agent-id <id>`
@@ -0,0 +1,99 @@
1
+ # agent +create-automation (Create Automation)
2
+
3
+ > **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
4
+
5
+ Domain: **Automations / write**
6
+
7
+ ## Use Cases
8
+ - Create an Agent automation task that runs on a schedule (hourly / daily / weekly / monthly or cron).
9
+ - Returns the newly created automation object including its `id` and initial `status`.
10
+ - Automations are **enabled by default**; pass `--enabled false` only when the user explicitly asks to create the task without enabling it.
11
+
12
+ ## Mandatory Rules (MUST)
13
+ - `--name` and `--message` are required.
14
+ - A schedule is required: provide either `--cron` or a `--schedule-kind` (with its time/day fields). `--cron` and `--schedule-kind` are mutually exclusive.
15
+ - `--agent-id` and `--agent-name` are mutually exclusive. Obtain a real Agent ID via `+list-agents` — do not guess.
16
+ - JSON flags must be valid JSON strings, usually wrapped in single quotes in shell.
17
+ - Write operation: keep the confirmation prompt unless `--yes` is explicitly requested.
18
+ - Do not surface raw automation IDs, raw JSON, or concrete detail paths in user-facing replies.
19
+
20
+ ## Schedule Kinds
21
+ | `--schedule-kind` | Required fields | Notes |
22
+ |---|---|---|
23
+ | `hourly` | `--minute` (optional, 0–59) | Runs every hour at the given minute |
24
+ | `daily` | `--time HH:mm` | Runs once a day at the given time |
25
+ | `weekly` | `--time HH:mm`, `--weekday 0-6` | `0` = Sunday |
26
+ | `monthly` | `--time HH:mm`, `--day-of-month 1-28` | Day 1–28 only |
27
+
28
+ ## Command
29
+ ```bash
30
+ # Enabled daily automation (default)
31
+ ae-cli agent +create-automation \
32
+ --name "Daily AI Brief" \
33
+ --schedule-kind daily \
34
+ --time 09:00 \
35
+ --message "Summarize yesterday's AI news" \
36
+ --yes
37
+
38
+ # Create but keep paused when the user explicitly asks not to enable it
39
+ ae-cli agent +create-automation \
40
+ --name "Daily AI Brief" \
41
+ --schedule-kind daily \
42
+ --time 09:00 \
43
+ --message "Summarize yesterday's AI news" \
44
+ --enabled false \
45
+ --yes
46
+
47
+ # Weekly schedule on Sunday
48
+ ae-cli agent +create-automation \
49
+ --name "Weekly Report" \
50
+ --schedule-kind weekly \
51
+ --time 10:00 \
52
+ --weekday 0 \
53
+ --message "Generate the weekly report" \
54
+ --yes
55
+
56
+ # Cron expression
57
+ ae-cli agent +create-automation \
58
+ --name "Cron Task" \
59
+ --cron "0 9 * * 1-5" \
60
+ --message "Weekday morning brief" \
61
+ --yes
62
+
63
+ # Dry-run to inspect the request before executing
64
+ ae-cli agent +create-automation --dry-run --name "Test" --message "x" --schedule-kind daily --time 09:00
65
+ ```
66
+
67
+ ## Parameters
68
+ | Parameter | Required | Description |
69
+ |---|---|---|
70
+ | `--name` | Yes | Automation task name |
71
+ | `--message` | Yes | Instruction sent to the Agent |
72
+ | `--cron` | No* | Cron expression (mutually exclusive with `--schedule-kind`) |
73
+ | `--schedule-kind` | No* | `hourly` \| `daily` \| `weekly` \| `monthly` |
74
+ | `--time` | No | Time in `HH:mm` for daily/weekly/monthly |
75
+ | `--minute` | No | Minute 0–59 for hourly schedules |
76
+ | `--weekday` | No | Weekday 0–6 for weekly schedules; `0` is Sunday |
77
+ | `--day-of-month` | No | Day 1–28 for monthly schedules |
78
+ | `--agent-id` | No | Agent ID; defaults to current conversation Agent |
79
+ | `--agent-name` | No | Agent name; use only after `+list-agents` discovery |
80
+ | `--model` | No | Model record ID; defaults to current selected model |
81
+ | `--enabled` | No | `true` (default) \| `false` |
82
+ | `--conversation-id` | No | Conversation ID fallback for resolving current Agent |
83
+
84
+ \* One of `--cron` or `--schedule-kind` is required.
85
+
86
+ ## Decision Rules
87
+ - If the user provides a natural-language schedule ("every day at 9am"), translate it to `--schedule-kind daily --time 09:00`.
88
+ - If the user wants a cron-only schedule not covered by the kinds, use `--cron`.
89
+ - If no Agent is specified, the automation targets the current conversation's Agent; verify with `+list-agents` when in doubt.
90
+ - Use `--dry-run` first to verify the request shape before executing.
91
+
92
+ ## Next Steps on Failure
93
+ - `必须提供 --cron 或 --schedule-kind`: provide one of the schedule flags.
94
+ - `--time 格式必须是 HH:mm`: use 24-hour `HH:mm` (e.g. `09:00`).
95
+ - `--agent-id 与 --agent-name 只能二选一`: pick one and remove the other.
96
+ - After success, capture the returned `id` for subsequent `+update-automation` calls.
97
+
98
+ ## Recommended Chaining
99
+ - `+list-agents` → `+create-automation` → `+list-automations` (verify) → `+update-automation` (edit)
@@ -0,0 +1,38 @@
1
+ # agent +del-agent (Delete Agent)
2
+
3
+ > **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
4
+
5
+ Domain: **Agents / write**
6
+
7
+ ## Use Cases
8
+ - Soft-delete an Agent (personal owner or company root/agent_admin; system Agents cannot be deleted).
9
+ - The Agent is marked deleted and its name is suffixed to free the unique index; no cascade deletion of related resources.
10
+
11
+ ## Mandatory Rules (MUST)
12
+ - `--id` is required. Obtain the real Agent record ID (CUID) via `+list-agents` — do not guess.
13
+ - System Agents cannot be deleted via CLI.
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-agent --id <agent-cuid> --yes
20
+ ae-cli agent +del-agent --dry-run --id <agent-cuid>
21
+ ```
22
+
23
+ ## Parameters
24
+ | Parameter | Required | Description |
25
+ |---|---|---|
26
+ | `--id` | Yes | Agent record ID (CUID) |
27
+
28
+ ## Decision Rules
29
+ - Confirm the Agent ID with `+list-agents` before deleting.
30
+ - Deletion is soft — historical automations referencing the Agent may need re-pointing afterwards.
31
+ - Only `personal` Agents (owner) and `company` Agents (root/agent_admin) can be deleted; `system` returns `403`.
32
+
33
+ ## Next Steps on Failure
34
+ - `404` / `Agent 不存在`: re-run `+list-agents` to verify the Agent ID.
35
+ - `403` / `系统 Agent 不允许删除` / `无权删除该 Agent`: system Agents are protected; company Agents require root/agent_admin.
36
+
37
+ ## Recommended Chaining
38
+ - `+list-agents` → confirm `id` → `+del-agent` → `+list-agents` (verify gone)
@@ -0,0 +1,35 @@
1
+ # agent +del-attachment (Delete Attachment)
2
+
3
+ > **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
4
+
5
+ Domain: **Attachments / write**
6
+
7
+ ## Use Cases
8
+ - Soft-delete an attachment.
9
+ - Endpoint: `DELETE /api/sandbox/agent/attachments?id=[id]`.
10
+
11
+ ## Mandatory Rules (MUST)
12
+ - `--id` is required. Obtain the real attachment ID via `+list-attachments` — do not guess.
13
+ - This is a soft 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-attachment --id <attachment-id> --yes
19
+ ae-cli agent +del-attachment --dry-run --id <attachment-id>
20
+ ```
21
+
22
+ ## Parameters
23
+ | Parameter | Required | Description |
24
+ |---|---|---|
25
+ | `--id` | Yes | Attachment ID |
26
+
27
+ ## Decision Rules
28
+ - Confirm the attachment ID with `+list-attachments` before deleting.
29
+ - This is a soft delete, not a physical removal.
30
+
31
+ ## Next Steps on Failure
32
+ - `404` / not found: re-run `+list-attachments` to verify the attachment ID.
33
+
34
+ ## Recommended Chaining
35
+ - `+list-attachments` → confirm `id` → `+del-attachment`
@@ -0,0 +1,35 @@
1
+ # agent +del-mcp (Delete Personal MCP Server)
2
+
3
+ > **Prerequisite:** Follow the Global AE CLI Rules in [`../SKILL.md`](../SKILL.md).
4
+
5
+ Domain: **MCP Servers / write**
6
+
7
+ ## Use Cases
8
+ - Delete a personal-scope MCP server.
9
+ - Only `personal` scope MCP servers can be deleted via CLI; company/system servers are read-only.
10
+
11
+ ## Mandatory Rules (MUST)
12
+ - `--id` is required. Obtain the real MCP server record ID (CUID) via `+list-mcps` — do not guess.
13
+ - Prefer `--dry-run` before executing a destructive delete.
14
+ - Write operation: keep the confirmation prompt unless `--yes` is explicitly requested.
15
+
16
+ ## Command
17
+ ```bash
18
+ ae-cli agent +del-mcp --id <mcp-cuid> --yes
19
+ ae-cli agent +del-mcp --dry-run --id <mcp-cuid>
20
+ ```
21
+
22
+ ## Parameters
23
+ | Parameter | Required | Description |
24
+ |---|---|---|
25
+ | `--id` | Yes | MCP server record ID (CUID) |
26
+
27
+ ## Decision Rules
28
+ - Confirm the server ID with `+list-mcps` before deleting.
29
+ - If the server is company/system scope, deletion is not available via CLI (use `+toggle-mcp` to disable it per-user instead).
30
+
31
+ ## Next Steps on Failure
32
+ - `404` / not found: re-run `+list-mcps` to verify the server ID and scope.
33
+
34
+ ## Recommended Chaining
35
+ - `+list-mcps` → confirm `id` → `+del-mcp`