How to Structure Claude Code Skills: The 9 Categories Anthropic Uses Internally

Intermediate14m readFull-stack developers

After cataloging every internal skill at Anthropic, the Claude Code team found they cluster into exactly nine categories. Here is each one — what it does, the skills Anthropic names as examples, and how to map the taxonomy onto your own .claude directory.

Primary Focus

ai &-machine-learning

AI Tools Covered

claude-codeskillsSKILL.md

What You'll Learn

  • The structural lesson most people miss
  • Progressive disclosure
  • Library and API reference
  • Product verification
  • Data fetching and analysis
  • Business process and team automation

Guide Curriculum

A Skill Is a Folder, Not a File

Learn key concepts

2 lessons
  • The structural lesson most people miss1m
  • Progressive disclosure1m

The Nine Categories — Part One

Learn key concepts

4 lessons
  • Library and API reference1m
  • Product verification1m
  • Data fetching and analysis1m
  • Business process and team automation1m

The Nine Categories — Part Two

Learn key concepts

5 lessons
  • Code scaffolding and templates1m
  • Code quality and review1m
  • CI/CD and deployment1m
  • Runbooks1m
  • Infrastructure operations1m

Applying the Taxonomy

Learn key concepts

3 lessons
  • Audit your own .claude directory1m
  • How vybecoding maps to the nine1m
  • The takeaway1m

Preview: First Lesson

A Skill Is a Folder, Not a File

The structural lesson most people miss

Before the categories, the most load-bearing idea in Anthropic's post is structural. Skills are usually introduced as "a markdown file with instructions," and that framing quietly caps how far they can go. The post corrects it directly:

"A skill is a folder, not just a markdown file. You should think of the entire file system as a form of context engineering and progressive disclosure."

That reframing changes the design question from what do I write in the prompt to how do I lay out a folder so Claude pulls in the right material at the right moment. A mature skill is a directory: a SKILL.md at the root plus supporting files — references, assets, scripts, examples — that the model reaches for only when a situation calls for them.

Free Access

Start learning with this comprehensive guide

This guide includes:

4 modules with 14 lessons
14m estimated reading time

About the Author

H
✨ Vibe Coder
@hiram-clark

Hiram Clark is the founder and managing editor of vybecoding.ai and sets editorial direction for the guides and news published here. Articles are drafted with AI assistance and edited before publication. He works hands-on with the AI development tools, workflows, and infrastructure covered on the site.

Full Guide Content

Complete lesson text — start the interactive course above for exercises and progress tracking.

Module 1A Skill Is a Folder, Not a File

1.1The structural lesson most people miss

Before the categories, the most load-bearing idea in Anthropic's post is structural. Skills are usually introduced as "a markdown file with instructions," and that framing quietly caps how far they can go. The post corrects it directly:

"A skill is a folder, not just a markdown file. You should think of the entire file system as a form of context engineering and progressive disclosure."

That reframing changes the design question from what do I write in the prompt to how do I lay out a folder so Claude pulls in the right material at the right moment. A mature skill is a directory: a SKILL.md at the root plus supporting files — references, assets, scripts, examples — that the model reaches for only when a situation calls for them.

1.2Progressive disclosure

The mechanism that makes the folder model work is progressive disclosure. You do not dump every edge case into the main file. Instead:

"The SKILL.md file points to several other files Claude can reference for specific situations."

The root file stays short and high-signal — what the skill is, when to use it, the common path. Rare branches, long reference tables, and large code templates live in sibling files that get loaded only when the task hits them. This keeps the everyday context window lean while still giving Claude access to deep material on demand. It is the same principle as good documentation: a clear front page, with links to the details.

This is why the project convention in this repo splits SKILL.md (the instructions) from a bundled scripts/ or steps/ folder (the executable logic). The bmad-sprint-executor skill, for instance, is a short SKILL.md that points to steps/step-01step-04 — exactly the pattern Anthropic describes.


Module 2The Nine Categories — Part One

2.1Library and API reference

Skills that explain how to correctly use a library, CLI, or SDK — including reference snippets and the gotchas that trip people up. These are the antidote to "the model guessed at the API and got it subtly wrong." Anthropic's named examples: billing-lib, internal-platform-cli, sandbox-proxy.

When to reach for it: any time you have an internal or fiddly external API where the correct usage is non-obvious and a wrong call is expensive.
billing-lib/
  SKILL.md            # when to use it, the 3 calls people get wrong
  references/
    api-reference.md  # full method list — loaded only when needed
    gotchas.md        # the non-obvious failure modes

2.2Product verification

Skills describing how to test or verify that code actually works, frequently paired with external drivers like Playwright or tmux. Anthropic's examples: signup-flow-driver, checkout-verifier, tmux-cli-driver.

When to reach for it: when "it compiles" is not the same as "it works," and you want the agent to drive the real product to confirm a flow end to end.
checkout-verifier/
  SKILL.md            # what to verify, the pass/fail criteria
  scripts/
    drive-checkout.ts # the Playwright driver the skill invokes

2.3Data fetching and analysis

Skills that connect to your data and monitoring stack, bundling the libraries to fetch data and the common analysis workflows on top of it. Anthropic's examples: funnel-query, cohort-compare, grafana, datadog.

When to reach for it: when answering a question means pulling live numbers from a warehouse or observability tool, and you want repeatable queries instead of one-off improvisation.
funnel-query/
  SKILL.md            # the questions this answers
  scripts/
    query.sql         # the parameterized warehouse query
  references/
    schema.md         # table/column reference, loaded on demand

2.4Business process and team automation

Skills that collapse a repetitive team workflow into a single command. Anthropic's examples: standup-post, create--ticket, weekly-recap.

When to reach for it: any recurring chore with a known shape — status posts, ticket creation, recurring summaries — that you would rather invoke than reassemble by hand each time.
weekly-recap/
  SKILL.md            # trigger, inputs, and output format
  templates/
    recap.md          # the post template the skill fills in

Module 3The Nine Categories — Part Two

3.1Code scaffolding and templates

Skills that generate framework boilerplate for a specific kind of artifact. Anthropic's examples: new--workflow, new-migration, create-app.

When to reach for it: when new files of a given type should always start from the same shape, and you want consistency rather than a hand-copied template that drifts.
new-migration/
  SKILL.md            # naming and placement rules
  templates/
    migration.ts.tmpl # the boilerplate the skill stamps out

3.2Code quality and review

Skills that enforce code quality and assist review. Anthropic's examples: adversarial-review, code-style, testing-practices.

When to reach for it: when you want a second, opinionated pass on a change — one that argues with the code rather than rubber-stamping it.
adversarial-review/
  SKILL.md            # the review stance and checklist
  references/
    code-style.md     # the standards pulled in during review

3.3CI/CD and deployment

Skills for fetching, pushing, and deploying code. Anthropic's examples: babysit-pr, deploy-, cherry-pick-prod.

When to reach for it: when the path from "merged" to "running in production" has steps worth encoding so they happen the same way every time.
deploy-/
  SKILL.md            # preflight checks and the order of steps
  scripts/
    deploy.sh         # the actual deploy commands

3.4Runbooks

Skills that investigate symptoms using multi-tool analysis — the codified version of "what an on-call engineer does first." Anthropic's examples: -debugging, oncall-runner, log-correlator.

When to reach for it: when an incident has a known investigation pattern, and you want the agent to walk it instead of starting cold each time.
service-debugging/
  SKILL.md            # symptom → first checks to run
  references/
    dashboards.md     # links pulled in mid-incident
  scripts/
    log-correlator.sh # the multi-tool analysis step

3.5Infrastructure operations

The ninth category: skills that perform routine maintenance and operational procedures. Anthropic's examples: -orphans, dependency-management, cost-investigation.

When to reach for it: for the recurring housekeeping of running systems — finding orphaned resources, keeping dependencies current, chasing down cost anomalies.
cost-investigation/
  SKILL.md            # the routine and the escalation rule
  scripts/
    find-orphans.sh   # the maintenance procedure it runs

Module 4Applying the Taxonomy

4.1Audit your own .claude directory

The point of nine well-defined slots is that you can hold your setup up against them. Walk each category and ask: do I have a skill here, and if not, is the gap costing me? Most individual setups are heavy on one or two categories (often scaffolding and quality) and empty on the rest — which is exactly where the unrealized leverage hides. The categories you have zero skills in are the most interesting, because they mark work you are still doing by hand.

4.2How vybecoding maps to the nine

This taxonomy is not abstract — a live production library already fills most of the slots. Here is how the skills and commands in this repo's .claude/ directory line up:

  • Library and API referenceconvex-patterns, stripe-best-practices, component-library
  • Product verificationplaywright, test, test-ai
  • Code scaffolding and templatesmake-skill, design-system-picker, frontend-design
  • Code quality and reviewaireview, critic, refactor, polish
  • CI/CD and deploymentdeploy, backup
  • Business process and team automationcontent, update-docs
  • Runbookscleanup, universal-handoff, claude-resume

Two of Anthropic's nine — Data fetching and analysis and Infrastructure operations — are the thinner slots here, which is precisely the kind of gap the audit is designed to surface. That is the taxonomy doing its job: not as trivia, but as a checklist for where to build next.

4.3The takeaway

Skills are, in Anthropic's framing, "one of the most used extension points in Claude Code … flexible, easy to make, and easy to distribute." The nine categories turn that flexibility into a plan. Treat each skill as a folder, lean on progressive disclosure so your SKILL.md stays lean, and use the nine slots as a coverage map. The fastest wins are usually in the categories you have been ignoring.


Sourcing note. Every category name, definition, and example skill in this guide is drawn from Anthropic's post "Lessons from building Claude Code: How we use skills". The count of nine is quoted directly from that source. The vybecoding mappings reference real skills and commands in this repository's .claude/ directory.