share_skill
Copies an existing project skill into shared repository content for team collaboration and updates registration, enabling teams to distribute reusable skills.
Instructions
Copy an existing project skill into shared repository content for collaboration. Use for deliberate sharing; use sync_skills to distribute native copies without changing visibility. Requires initialized project memory and a resolvable project skill. Writes shared content and updates registration. Existing shared files at matching destination paths can be overwritten without a destination-conflict check or an overwrite confirmation; there is no preview mode. Sharing operational content additionally requires confirm_operational=true. Writes use the safe snapshot/audit pipeline. Returns the shared skill, paths, warnings, and write references. Inspect existing destination files and remove private information before calling. Re-sharing an already-shared skill can update registration and policy again.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | No | user-facing for reusable team content; operational for internal workflows. Defaults to user-facing and participates in visibility policy. | user-facing |
| 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. | |
| confirm_operational | No | Explicit permission to share operational content. Defaults to false; required for operational sharing. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||