cleanup_skill
Preview or remove managed native runtime copies for one active canonical skill; use dry_run=true to list removable or blocked paths before deletion while preserving canonical content.
Instructions
Preview or remove managed native copies for one active canonical skill. Use when cleaning that skill's installed runtime copies; use repair_skills for orphan targets across the project and deactivate_skill for latent candidate state. Requires initialized project memory and a canonical ID, slug, or unambiguous name. dry_run=true lists removable/blocked paths; false deletes removable native directories. Keeps canonical content and blocks targets without suitable managed manifests. targets is a compatibility flag and currently does not disable cleanup. Returns plan, removed_paths, and warnings. No cleanup snapshot is created; restore native copies with sync_skills if needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | true (default) reports removable and blocked native targets; false deletes removable managed native copies without deleting canonical content. | |
| targets | No | Compatibility flag, default true. Currently ignored by cleanup execution: false does not disable native target removal; use dry_run=true to preview. | |
| skill_id_or_name | Yes | Active canonical skill ID, slug, or unambiguous display name. Use list_skills to resolve it; not a latent candidate ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||