Skip to content
Anyway Works
Plan a call
Plan a call

Claude Code skills explained: stop explaining it again

A skill in Claude Code is a folder with one file, SKILL.md, that holds instructions you would otherwise type again in every session. Only its description is loaded all the time. The rest loads when the skill is used. Whatever you explain to Claude Code every single time belongs in one.

What is a skill?

A folder with a file called SKILL.md. The file holds your instructions in plain Markdown, and you can put scripts or examples next to it. The folder name becomes the command you type.

Where does a skill live?

  • ~/.claude/skills/<name>/SKILL.md is a personal skill. It works in all your projects on that machine.
  • .claude/skills/<name>/SKILL.md inside a repository is a project skill. It works in that project, and your team gets it when you commit it.

When does Claude load a skill?

In the words of the docs: “skill descriptions are loaded into context so Claude knows what’s available, but full skill content only loads when invoked.” So the description decides whether the skill is ever used. Write it as what the skill does and when to use it, with the main use first. In the listing it is cut off at 1,536 characters.

How long may a skill be?

The docs say: “Keep SKILL.md under 500 lines. Move detailed reference material to separate files.” Name those files in the skill, with what each one is for, so they load only when a step needs them.

How do you make sure only you can start it?

Put this in the frontmatter:

disable-model-invocation: true

Then Claude does not start the skill by itself and you run it with /name. Use it for work you want to start yourself, like a deploy.

How do you write your first skill?

  1. Pick the thing you explain most often.
  2. Make .claude/skills/<name>/SKILL.md.
  3. Line one: what it does and when to use it.
  4. Then the steps, as you would tell a colleague.

Type /name to run it, or let Claude pick it up by itself. What you pass after the name is available in the skill as $ARGUMENTS.

A skill also keeps your sessions shorter, and shorter is better for an agent: see why AI agents get worse the longer they run.

Source

Stuck on a skill for your own work? Tell us what you keep explaining.

Read from the docs on 1 December 2026. Claude and Claude Code are products of Anthropic; Anyway Works is not affiliated with Anthropic.

New posts and news about our products, such as Hocusclick, now and then. Every mail has a link that stops it. See the privacy policy.

contact@anywayworks.com