haops_deprecate_skill
Soft-delete a skill and deprecate it across all versions, preserving history for audit. Returns confirmation with version count.
Instructions
Soft-delete + deprecate a skill (DELETE /api/skills/[name]). Cascades the soft-delete across ALL versions (current + historical) and flips isDeprecated=true on the current row. History remains visible via /api/skills/[name]/history for audit context. Admin-only, gated by ENABLE_COMPOSED_PROTOCOLS. Returns {message, versionCount}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Kebab-case skill name to soft-delete. | |
| scope | No | Scope of the target skill. Defaults to "system". | |
| verbose | No | If true, return the full API response instead of the compact summary (default: false) | |
| projectSlug | No | Project slug — REQUIRED when scope="project"; MUST be omitted when scope="system". |