Minideas

Idea 7 of 15 · Skills

Choosing and sharing

When to use a skill rather than CLAUDE.md, a hook or a subagent, how to share one, and how to fix one.

CLAUDE.mdfacts forevery sessionskilla procedure,when neededhookmust happen,every timesubagenta separate agent,its own contextpick the one that fits the job
1 / 4

Skill, CLAUDE.md, hook or subagent?

CLAUDE.md holds facts needed in every session. A skill holds a procedure needed now and then. A hook is for what must happen every single time. A subagent, as in “Claude Code: handing off to subagents”, works apart in its own context window, and it can be given skills of its own.

skillsubagentits own contextsummaryyou see every stepa summary comes backneed the details? a skill. only the result? a subagent
2 / 4

Skill or subagent?

Need the details, or only the result? A skill runs in your conversation, so you see every step; a subagent works apart and returns a summary. They combine: a subagent can preload skills, and a skill with context: fork runs in one, seeing only the skill, not your chat.

pluginskillssubagentshooksMCP serversone install, the same setup for the whole team
3 / 4

Sharing: repo, plugin, company

A skill committed to the project’s .claude/skills folder reaches everyone who clones the repo. Bundle skills with subagents, hooks and MCP servers (next chapter) into a plugin to share them across projects, and install plugins others made with /plugin. Companies can push skills to everyone through managed settings.

never triggers“ship v2.3”releasezzsharpen the descriptionwrong one fires“ship v2.3”releasereviewmake them differfails partway123run its scripts yourselfmost problems start with the description
4 / 4

When a skill misbehaves

If it never triggers, the description is usually too vague: add the words people really use. If the wrong skill fires, make the two descriptions clearly different. If it fails partway, run its scripts yourself and check the paths and permissions.

Swipe the card, or use the arrow keys.

Go deeper

Each card stack gives you the idea. These open resources go into the detail.

Notes on the Claude Partner Network learning path on Anthropic Academy.