What are Claude Code skills and when should you use one?

Day 1, 25 minutes · advanced

Goal of this lessonExplain how a skill differs from CLAUDE.md, a hook and a plugin, find the skills Claude Code already has, and choose which chores deserve one.

Why it matters

You finished Claude Code 101, so you have a CLAUDE.md that tells Claude how your project works. Then the same request comes back every week: "turn this note into a ticket, with these fields, in this order, and check it". You paste the same instructions again and again, or you add them to CLAUDE.md, where they load in every session even when you are fixing something else.

A skill solves that. It is a folder with a SKILL.md file: a short description that tells Claude when the skill fits, and the instructions Claude follows when it does. Claude can pick it up on its own, or you start it with a slash and its name. This course teaches you to write, test and share one.

You follow one small practice project. Odette runs Pennywhistle Cycles, a made-up two-person bicycle repair shop. Customers ring or drop off a bike, and she scribbles a rough note. By the end of the course a skill turns those notes into tidy repair tickets and a small script checks every ticket. Today you set up the shop's folder, look at the skills Claude Code already has, and decide which of Odette's chores deserve a skill at all.

What a skill is, next to the other tools

Claude Code gives you several ways to shape what Claude does. They look alike, but they load and behave differently. The features overview compares them:

  • CLAUDE.md loads in every session. It holds facts and "always do X" rules: build commands, conventions, where files live.
  • A skill loads on demand. At the start of a session Claude sees only its name and description. The full instructions load when you type /name or when Claude decides the description fits your request. That makes it right for procedures and reference material you need some of the time.
  • A hook is a script or other action that Claude Code runs at a fixed moment, such as after every file edit. Claude does not decide whether it runs, so it is the tool for rules that must hold every time.
  • A subagent is a separate worker with its own context that returns a summary. Use it when a side task would flood your conversation.
  • A plugin is a package. It can bundle skills, hooks, subagents and more, so you can install the same setup in many projects or hand it to others.
  • A plain prompt is still right for a one-off task.

The overview gives a simple trigger for a skill: you paste the same playbook or multi-step procedure into chat for the third time. It also warns about the limit: a skill is an instruction Claude reads and applies with judgment. If a rule must never be broken, put it in a hook or a permission rule instead.

Skills you already have

Claude Code ships with bundled skills, such as /doctor and /code-review. They work like the skills you write yourself: a prompt handed to Claude, which then uses its tools. Bundled skills are listed with the built-in commands when you type /, and the commands page marks them as Skill.

Three ways to see what is loaded:

  1. Type / and scroll. Commands and skills share one menu.
  2. Run /context. It shows what fills the context window, with a section for skills that includes the bundled ones.
  3. Ask Claude "What skills are available?" The skills page uses this exact question as a check.

The skills page says skill descriptions sit in context so Claude knows what is available, while the full content loads only when the skill is used. That is why a long procedure costs almost nothing until you need it.

The steps

  1. Make the practice folder and start Claude Code in Manual mode, so you see every request before it runs.
  2. Ask Claude to create a short CLAUDE.md and three rough customer notes, then commit them.
  3. Look at what loads: the / menu, /context and the question "What skills are available?"
  4. Run one bundled skill, /doctor, and read its report. In Manual mode Claude Code may ask you to approve a command it uses to look around, and /doctor asks before it changes anything: answer No for now.
  5. Sort Odette's chores into CLAUDE.md, skill, hook or plain prompt, and save your choices.

Follow the steps for Claude Code below.

Example: Odette's four chores

Odette wrote down four things she asks Claude for:

  • "We open 9 to 17, prices are in EUR, customers by first name only." Always true, short: CLAUDE.md.
  • "Turn this note into a repair ticket with the same eight fields and check it." A repeated procedure: a skill.
  • "Never touch the files in the invoices folder." Must hold every time: a hook or a deny rule, not a skill.
  • "Translate this note from a tourist into Dutch." A one-off: a plain prompt.

Only one of the four becomes a skill. That is normal: most of your setup stays in CLAUDE.md and prompts.

Deeper dive

Today's actions

Ticks are not saved without an account

Do it in Claude Code

Claude Code

  1. In your terminal, run these lines one at a time. The last line starts Claude Code in Manual mode, so it asks before every change. When Claude Code asks whether you trust the new folder, accept.
    mkdir pennywhistle-shop
    cd pennywhistle-shop
    git init
    claude --permission-mode manual
  2. Paste this setup prompt and press Enter. Read each file in the prompt and approve it, then approve the commit.
    Set up this practice project for Pennywhistle Cycles, a made-up two-person bicycle repair shop. Do not run any commands except the commit at the end.
    1. Create CLAUDE.md with these three lines:
    Pennywhistle Cycles: bicycle repair shop, open 9 to 17. Prices in EUR.
    Customers by first name only. Never store phone numbers or email addresses.
    Customer notes are in notes/, repair tickets go in tickets/.
    2. Create a folder notes with three rough notes, word for word:
    notes/lotje.txt: Lotje rang. Cargo bike, front tyre keeps going flat. Probably a new inner tube, about 20 euro. Wants it Thursday. Mail her at lotje@example.com when ready.
    notes/rutger.txt: Rutger, blue city bike. Gears slip on hills, chain looks worn. About 45 euro, maybe 50 if the cassette is worn too.
    notes/nienke.txt: Nienke dropped off her e-bike. Rear light dead and the back brake squeaks. No price agreed yet.
    3. Commit everything with the message: Start the shop folder.
  3. Type / and look through the menu. Commands and skills share it; the commands page marks bundled skills such as /doctor and /code-review as Skill. Delete the slash when you are done.
  4. Type /context and press Enter. Find the Skills row: it shows how much room the skill names and descriptions take, bundled skills included.
  5. Ask Claude which skills it can use right now.
    What skills are available?
  6. Run the bundled setup checkup. In Manual mode Claude Code may ask before a command it uses to inspect your setup: read each one and choose Yes if it only reads or lists. Read the report, and answer No when Claude asks to apply a change.
    /doctor
  7. Ask Claude to sort Odette's chores, then compare its answer with the example in the lesson and correct any line you disagree with.
    Create choices.md. For each of these four chores, write one line: the chore, then CLAUDE.md, skill, hook or plain prompt, and why in a few words.
    1. We open 9 to 17, prices are in EUR, customers by first name only.
    2. Turn a customer note into a repair ticket with eight fixed fields and check it.
    3. Never change the files in an invoices folder.
    4. Translate a note from a tourist into Dutch.
    Then commit choices.md with the message: Decide what becomes a skill.

Note: The steps work the same in PowerShell on Windows and in a terminal on macOS or Linux. /doctor can offer to change your settings, for example to make auto mode your default; this course keeps Manual mode, so answer No. If /doctor is missing, it may be hidden in your settings, for example by a skillOverrides entry that sets it to off.

Paid planNeeds a paid Claude plan (Pro, Max, Ultra, Team or Enterprise) or a Claude Console account. The free Claude plan does not include Claude Code.

Checked on 4 December 2026 · Source: Claude Code docs: Extend Claude Code (opens in a new tab)

Create a free account to save your progress. Sign in or sign up