| 1 | import type { DocsPageDict } from "../types"; |
| 2 | |
| 3 | export const docsSkills: DocsPageDict = { |
| 4 | metaTitle: "Manage skills · Codewhale Docs", |
| 5 | metaDescription: "Find, install and trust SKILL.md instruction packages. Control user and model invocation and import compatible skill folders from other coding agents.", |
| 6 | bodyClassName: "text-ink-soft leading-relaxed", |
| 7 | title: "Manage reusable skills", |
| 8 | lede: "Skills are SKILL.md instruction packages. Discover compatible folders, then review the source and trust before using a skill.", |
| 9 | sections: [ |
| 10 | { |
| 11 | "id": "manager", |
| 12 | "title": "Open the skills manager", |
| 13 | "blocks": [ |
| 14 | { |
| 15 | "code": "/skills\n/skills manage\n/skills inspect\n/skill <name>", |
| 16 | "lang": "Codewhale" |
| 17 | }, |
| 18 | { |
| 19 | "p": "The manager opens without network access and shows owned roots. Turn on compatible-root scanning to inspect external folders; importing targets a Codewhale-owned root." |
| 20 | }, |
| 21 | { note: "`/skill <name>` activates instructions for the next turn; activation alone is not a model reply or proof that the model followed them. The plugin tutorial includes a greeting marker you can check after explicitly sending a message." |
| 22 | } |
| 23 | ] |
| 24 | }, |
| 25 | { |
| 26 | "id": "install", |
| 27 | "title": "Install into an owned folder", |
| 28 | "blocks": [ |
| 29 | { |
| 30 | "p": "Write and share a skill with the [two-file plugin tutorial](/docs/plugin-authoring)." |
| 31 | }, |
| 32 | { |
| 33 | "code": "/skill install --project <spec>\n/skill install --global <spec>\n/skill trust --project <name>", |
| 34 | "lang": "Codewhale" |
| 35 | }, |
| 36 | { |
| 37 | "p": "Owned roots are .codewhale/skills in your project and ~/.codewhale/skills globally. Compatible .agents/skills and .claude/skills directories are read-only import sources." |
| 38 | }, |
| 39 | { |
| 40 | "note": "Project skills load only after you trust that workspace. A configured external skills_dir stays read-only; choosing a folder does not grant authority to mutate it." |
| 41 | } |
| 42 | ] |
| 43 | }, |
| 44 | { |
| 45 | "id": "invocation", |
| 46 | "title": "Choose who can load a skill", |
| 47 | "blocks": [ |
| 48 | { |
| 49 | "p": "Frontmatter disable-model-invocation: true removes a skill from model discovery. user-invocable: false hides it from user menus and refuses explicit activation; setting both disables both paths." |
| 50 | }, |
| 51 | { |
| 52 | "p": "A skill body enters context when loaded. The compact catalogue contains bounded names, aliases and invocation metadata." |
| 53 | } |
| 54 | ] |
| 55 | } |
| 56 | ], |
| 57 | next: [ |
| 58 | { |
| 59 | "href": "/docs/claude-code", |
| 60 | "label": "Bring your settings from another coding agent", |
| 61 | "note": "Bring compatible skills and review a settings import." |
| 62 | }, |
| 63 | { |
| 64 | "href": "/plugins", |
| 65 | "label": "Add plugins", |
| 66 | "note": "Install supported bundles through review and trust." |
| 67 | } |
| 68 | ], |
| 69 | sourceNote: "Source: docs/SKILLS.md and docs/CLAUDE_PLUGIN_COMPAT.md." |
| 70 | }; |
| 71 |