Skip to main content

Tech blog34 min read

Claude Skills from Beginner to Master: Writing, Storing, Sharing and Testing Them

Pere PagesSoftware Engineer
A wooden shelf of indigo, lavender and lime folders, with one folder pulled out and open, glowing, and two loose pages and a gear floating beside it

A skill is a folder of instructions that Claude reads only when a task needs it. This guide goes from your first SKILL.md file to a tested library that a whole team shares: the file format, how loading works, every place skills can live, how they combine, how to share and test them, and the mistakes people make most often.

The gist

A skill is worth writing for any task you explain to Claude more than once, and a few choices decide whether it works.

  • Write the description for the person asking. Claude chooses a skill only from its name and description, so say what it does and when to use it, in the words users type.
  • Keep SKILL.md short and move the rest into files. Steps and judgment stay in SKILL.md. Long rules go into reference files, and work that must be exact goes into scripts.
  • Keep a skill where the people who need it will find it. Your personal folder is for you alone. The repository's .claude/skills/ folder is for a team. A plugin (a package others install in one step) is for many repositories.
  • Use a hook, not a skill, for a rule that must never break. A hook is a script Claude Code runs automatically; a skill is only a request Claude can skip.
  • Test two things separately: does it start, and does it do the job? And read every file of someone else's skill before you install it.

The mental model: a recipe card that Claude reads only when it needs it

Think of a skill as a recipe card in a drawer. Claude does not read every card at the start of a session. It only reads the label on each card: a name and one or two sentences about what the card is for. When your request matches a label, Claude takes that card out and reads it. If the card says "for the sauce, see the second sheet", Claude reads the second sheet too, and only then.

That is the whole idea, and everything else in this post builds on it. A skill costs almost nothing until it is needed, so you can have dozens of them, and each one can be long and detailed without taking up space in the text Claude holds at once.

In concrete terms, a skill is:

  • A folder whose name is the skill's name.
  • One required file inside it, SKILL.md: a short header with the name and description, then the instructions in Markdown.
  • Optional extra files: longer reference documents, scripts Claude can run, and templates or other assets.
Flowchart

The diagram shows the three layers from the cheapest (always there) to the most expensive (read only when needed). Anthropic introduced skills in October 2025 for the Claude apps, Claude Code, the Agent SDK (software development kit) and the Claude API (application programming interface)[1], and in December 2025 published the format as an open standard so other tools could read the same folders. The rest of this post starts with the smallest skill that works and adds one layer at a time.

Your first skill in five minutes

The fastest way to understand skills is to write one. This example writes release notes from the git commits since the last release. It runs in Claude Code, Anthropic's coding agent for the terminal.

Create a folder and a file in your personal skills folder (the ~ is your home folder):

BASH
mkdir -p ~/.claude/skills/release-notes

Then write ~/.claude/skills/release-notes/SKILL.md:

MD
---
name: release-notes
description: Writes release notes from the git commits since the last tag. Use when the user asks for release notes, a changelog entry, or what changed since the last release.
---

# Release notes

1. Find the last tag with `git describe --tags --abbrev=0`.
2. List the commits since that tag with `git log <tag>..HEAD --oneline`.
3. Group the commits under Features, Fixes and Other. Skip merge commits.
4. Write one plain sentence per change, for users, not for developers.

The part between the two --- lines is the frontmatter: a small block of settings written in YAML (YAML Ain't Markup Language, a simple key: value format). Everything below it is the body: the instructions Claude follows.

Now open Claude Code in any git repository and try it in two ways:

  1. Let Claude choose it. Ask "what changed since the last release?". Claude compares your request with the description, decides the skill fits, and loads it.
  2. Call it yourself. Type /release-notes. Every skill also works as a slash command (a command you type after a /).

If both work, you have a working skill. Claude Code watches the skill folders, so later edits apply in the same session. A brand-new skill folder sometimes needs /reload-skills before it shows up[2]. The next step is to understand what you can put in the frontmatter.

The SKILL.md file, field by field

The frontmatter has two required fields and many optional ones. The required two are the same everywhere skills run; the optional ones depend on the tool.

The two required fields​

The open standard[3] sets these rules:

  • name: 1 to 64 characters, only lowercase letters, digits and hyphens, no hyphen at the start or end and no two hyphens in a row. It must match the folder name.
  • description: 1 to 1,024 characters. It says what the skill does and when to use it.

The Claude API adds two more rules: no XML (Extensible Markup Language) tags in either field, and the words anthropic and claude are reserved, so they can't appear in a name[4].

Optional fields in the open standard​

The standard defines four optional fields that any compatible tool understands:

FieldWhat it holds
licenseThe license the skill is shared under
compatibilityUp to 500 characters on what the skill needs (a tool, a system, network access)
metadataExtra labels as name–value pairs, such as an author or a version
allowed-toolsTools the skill may use without asking (marked experimental in the standard)

Extra fields in Claude Code​

Claude Code reads more fields[2]. It ignores fields it doesn't know, so a skill written for another tool still loads. The ones you will use most:

FieldWhat it does
when_to_useMore text about when to use the skill, added to the description
argument-hintThe hint shown after /name while typing, such as [version]
disable-model-invocationtrue means only you can start it with /name; Claude never picks it on its own
user-invocablefalse hides it from the / menu; only Claude can use it
allowed-toolsTools the skill can use without a permission prompt
disallowed-toolsTools the skill must not use
modelRun the skill with a specific model
effortHow hard the model thinks: low up to max
context: forkRun the skill in a separate helper agent instead of the main conversation
agentWhich helper agent type runs a forked skill
hooksHooks (scripts the tool runs automatically on events) active while the skill runs
pathsFile patterns; the skill is offered only when you work on matching files

The description and when_to_use together are cut at 1,536 characters in the list Claude sees, so long descriptions lose their ending.

Placeholders and live command output​

The body can contain placeholders that Claude Code fills in before Claude reads the text:

  • $ARGUMENTS is everything typed after the command, so /release-notes 2.4.0 turns it into 2.4.0. $0, $1 and so on are the single words, counted from zero.
  • ${CLAUDE_SKILL_DIR} is the skill's own folder. Use it to point at scripts, because commands run in the project folder, not in the skill folder.
  • ${CLAUDE_PROJECT_DIR} and ${CLAUDE_SESSION_ID} are the project folder and the current session's identifier.

A line written as !`command` runs that shell command before Claude sees the skill, and puts its output in the text. This is how a skill starts with fresh facts instead of asking Claude to go and find them. If the command fails, the skill doesn't start.

Here is the release-notes skill again, now with these features:

MD
---
name: release-notes
description: Writes release notes from the git commits since the last tag. Use when the user asks for release notes, a changelog entry, or what changed since the last release.
argument-hint: "[version]"
allowed-tools: Bash(git log *) Bash(git describe *)
---

# Release notes for version $ARGUMENTS

Commits since the last tag:

The last tag is !`git describe --tags --abbrev=0`.

List the commits since that tag with `git log <tag>..HEAD --oneline`, then group them under Features, Fixes and Other. Skip merge commits.
Write one plain sentence per change, for users, not for developers.

With the file format clear, the next question is what happens inside Claude when it uses one.

How Claude loads a skill: progressive disclosure

Anthropic calls the three layers from the mental model progressive disclosure: Claude gets more detail step by step, only as the task needs it[4]. Each layer has a size you should design for. Sizes are measured in tokens, the small pieces of text a model reads (one token is about three quarters of an English word).

LayerWhat it holdsWhen it is loadedSize to aim for
1. Labelname + descriptionAt the start of every sessionAbout 100 tokens per skill
2. InstructionsThe body of SKILL.mdWhen the skill is usedUnder 5,000 tokens and under 500 lines
3. Extra filesReference files, script output, assetsOnly when the instructions point to themNo real limit

The third layer has one important detail. When a skill runs a script, Claude reads only the script's output, not its code[4]. A 300-line validation script costs nothing until it runs, and then it costs only the few lines it prints.

This sequence shows one request, from your message to Claude's answer:

Sequence diagram

The label budget​

Layer 1 is small but not free, because every skill's label is in every session. Claude Code gives all the labels together about 1% of the model's context window (the total amount of text the model can hold at once). When you have more skills than fit, it drops the descriptions of the skills you use least, and Claude stops choosing them on its own[2].

You can see and change this:

  • Run /doctor to see an estimate of how much of the budget your skills use.
  • Raise the budget with the setting skillListingBudgetFraction (for example 0.02 for 2%) or the environment variable SLASH_COMMAND_TOOL_CHAR_BUDGET (a fixed number of characters).
  • Run /skill-doctor to find skills you never use and could turn off.

Because Claude chooses a skill only from its label, the description is the most important text in the whole skill. The next section is about writing it well.

Writing a description that makes Claude use the skill

A description has two jobs: say what the skill does, and say when to use it, in the words a person would actually type. Anthropic's best-practice guide gives four rules[5]:

  1. Be specific. "Helps with documents" matches everything and so matches nothing. "Extracts text and tables from PDF (Portable Document Format) files, fills PDF forms, merges PDFs" matches the right requests.
  2. Name the triggers. Add the words users say: "Use when the user mentions PDFs, forms, or document extraction."
  3. Write in the third person. "Processes Excel files", not "I can help you" or "You can use this". The description is added to Claude's instructions, and a change of person there confuses it.
  4. Keep the important part first. The list can cut long descriptions, so the first sentence should already be enough.

Compare a weak and a strong description for the same skill:

WeakStrong
Text"Release helper.""Writes release notes from the git commits since the last tag. Use when the user asks for release notes, a changelog entry, or what changed since the last release."
Says what it doesNoYes
Says when to use itNoYes
Contains the user's wordsNoYes

A good description gets the skill loaded. What happens once it is loaded depends on how you organise the rest of the folder.

Adding files: reference documents, scripts and assets

A skill grows by adding files next to SKILL.md, not by making SKILL.md longer. The standard suggests three folders[3]:

TXT
release-notes/
├── SKILL.md # the instructions: short, points to the rest
├── references/
│ └── style-guide.md # long rules Claude reads only when needed
├── scripts/
│ └── group_commits.py # exact work done by code; only its output is read
└── assets/
└── template.md # a file to copy or fill in

Each kind of file does a different job:

  • Reference documents hold knowledge that is too long for SKILL.md: a full style guide, an API description, a database schema. SKILL.md says when to read each one: "For the wording rules, read references/style-guide.md."
  • Scripts hold work that must be exact every time: parsing, validating, converting a file. A model that follows written steps can vary its work a little each time; a script can't. That is the reason to move exact work into code.
  • Assets are files the skill uses as material, such as a template, a logo or a font.

Three rules from Anthropic's guide keep this structure working[5]:

  1. Link one level deep. SKILL.md should point straight at every file. If a reference file points to another file, Claude may read only part of the second one.
  2. Add a table of contents to long files. For a reference file over about 100 lines, a list of sections at the top lets Claude jump to the right part.
  3. Use forward slashes in paths. Write scripts/group_commits.py, never scripts\group_commits.py, so the skill works on every system.

Put judgment in SKILL.md, knowledge in reference files, and exact work in scripts. Now that you know what goes inside a skill, the next question is where the folder itself goes.

Where skills live in Claude Code

Claude Code looks for skills in several places at once, and the place decides who gets the skill[2]:

WherePathWho gets it
EnterpriseManaged settings: settings an administrator sends to every computer in the companyEveryone in the organisation
Personal~/.claude/skills/<name>/SKILL.mdYou, in every project
Project.claude/skills/<name>/SKILL.md in the repositoryEveryone who clones the repository
Subfolder<subfolder>/.claude/skills/Loaded the first time Claude reads or edits a file in that subfolder
Extra folderAny folder added with --add-dirThat session
Plugin (a package of skills and other tools that people install in one step)<plugin>/skills/<name>/SKILL.mdEveryone who installs the plugin

The subfolder rule exists for monorepos (one repository that holds several projects): the front-end folder can carry front-end skills that don't appear while you work on the back end.

Every one of these places feeds skills into the same session:

Flowchart

When two skills have the same name​

Names can clash, and the rule is fixed: enterprise beats personal, and personal beats project. Plugin skills never clash, because their name always carries the plugin's name in front: a review skill in a plugin called craft is /craft:review.

This has a surprising effect. If you have a personal skill called deploy and you clone a repository with a project skill called deploy, your personal one wins, and you never see the team's version. Use specific names (deploy-docs, not deploy) to avoid this.

Skills and the older custom commands​

Before skills, Claude Code had custom commands: single Markdown files in .claude/commands/. They still work, and they accept the same frontmatter except name and paths. A skill wins over a command with the same name. To turn a command into a skill, move .claude/commands/x.md to .claude/skills/x/SKILL.md; the command name stays the same[2]. The folder form is better because it can hold extra files.

What to keep in a personal skills folder, and what never to commit from ~/.claude, is covered in Versioning your ~/.claude folder the right way. Claude Code is only one place skills run, though.

Skills outside Claude Code

The same folder format works in the Claude apps, the Claude API and the Agent SDK, but each one stores and runs skills in its own way. Skills do not sync between these places: a skill uploaded to Claude.ai is not in Claude Code, and a skill uploaded to the API is not in Claude.ai[4].

  • Claude apps (Claude.ai, desktop and mobile). You upload a skill as a ZIP file in the settings, and it needs code execution turned on. On Team and Enterprise plans, owners can add a skill for everyone in the organisation[6]. Which plans include custom skills changes over time; the support page has the current list.
  • Claude API. You upload a skill with the Skills API (POST /v1/skills), and it is then available to your whole workspace. A request lists the skills it wants in its container.skills field, up to 20 per request, and needs the code execution tool, because skills run inside a sandboxed container. Anthropic also offers ready-made skills for Word, Excel, PowerPoint and PDF files, named docx, xlsx, pptx and pdf[7].
  • Agent SDK. The SDK is the library for building your own agents on the same engine as Claude Code. It reads skill folders from disk, from the sources set in its settingSources option (setting_sources in Python). If you give it an explicit list of tools, that list must include Skill[8].

The biggest practical difference is the network. In Claude Code, a skill's scripts can reach the internet and install packages. In the API's container, they can't do either, so every package a script needs must already be there[4].

QuestionClaude CodeClaude appsClaude APIAgent SDK
How a skill gets thereA folder on diskZIP uploadUpload with the Skills APIA folder on disk
Shared with a team byGit or a pluginOrganisation ownersThe workspaceYour own code
Scripts can use the internetYesDepends on settingsNoYes
Ready-made document skillsInstall as a pluginBuilt inBuilt inCopy the folders

Beyond Claude: the open standard​

The format is an open standard, published at agentskills.io[3]. Anthropic has since given it to the Agentic AI Foundation, the Linux Foundation's home for open artificial intelligence (AI) projects. It reports that more than 70 tools read it, including ChatGPT, Cursor, GitHub Copilot and VS Code[9]. A skill that uses only the standard fields therefore works in many agents, while Claude Code–only fields such as context: fork are ignored elsewhere. With the places covered, the next question is how a skill gets started inside a session.

How a skill gets started

A skill can start in two ways, and two frontmatter fields decide which ways are allowed[2]:

SettingYou can type /nameClaude can choose itUse it for
DefaultYesYesMost skills
disable-model-invocation: trueYesNoActions with side effects: deploy, publish, send
user-invocable: falseNoYesBackground knowledge a person would never call by name

The middle row matters for safety. A skill that deploys a site or sends a message should run only when a person asks for it, never because Claude thought it was a good idea in the middle of another task.

When you type /release-notes 2.4.0, the 2.4.0 fills $ARGUMENTS. When Claude starts a skill on its own, it may pass arguments or none at all, so write the instructions to work in both cases: "if no version was given, ask for it". One skill on its own is useful; the real gains come from combining several.

Combining skills

Skills have no requires: field and no imports, so one skill can't declare that it needs another. They still combine well, through instructions and through other Claude Code features. There are three ways to share work between skills, plus three ways to combine a skill with something else.

Between skills​

  1. One skill tells Claude to use another. A step in SKILL.md says "now use the og-card skill to make the image". Claude loads the second skill at that point. If the calling skill has an allowed-tools list, add the Skill tool to it so this step runs without a permission prompt. The name must be exact, because a rename on one side silently breaks the link.
  2. Several skills point to one shared document. Rules that many skills apply (a style guide, a checklist) live in one Markdown file in a folder with no SKILL.md, so Claude Code doesn't list it as a skill. Each skill links to the section it needs.
  3. Several skills call one shared script. Exact work lives in one script that every skill runs, and that git hooks and build pipelines can run too.

These three ways, and a real case where skipping them caused trouble, are the subject of Modular Claude Code skills.

Skills with other features​

  • Skills with helper agents. A subagent is a helper agent with its own separate conversation. A skill with context: fork runs inside one, so its long work (reading fifty files, say) doesn't fill your main conversation; only the result comes back. The other way round also works: a subagent's definition can list skills in its skills: field, and their full text is loaded when the subagent starts[10].
  • Skills with hooks. A hook is a script Claude Code runs automatically on an event, such as after every file edit. A skill can turn hooks on while it runs. This is how a skill makes a rule certain instead of hoping Claude remembers it.
  • Skills with MCP servers. MCP (Model Context Protocol) is the standard way to connect Claude to outside tools and data, such as a database or an issue tracker. The MCP server gives Claude the ability; the skill teaches when and how to use it. When a skill names an MCP tool, use its full name, including the server, so Claude doesn't pick a tool with the same short name from another server[5].

Skills compared with the other ways to customise Claude Code

Skills are one of several ways to change how Claude Code works, and choosing the wrong one is a common beginner mistake. Each one is briefly:

  • CLAUDE.md is a file of instructions Claude reads at the start of every session in a project.
  • A skill is read only when a task needs it.
  • A subagent is a helper with its own conversation, for work you want kept apart.
  • A hook is a script that runs on an event, whatever the model decides.
  • An MCP server connects Claude to an outside tool or data source.
  • A plugin is a package that bundles any of the above, so others can install it in one step.
QuestionCLAUDE.mdSkillSubagentHookMCP server
Is it always in Claude's context?YesOnly the labelOnly the descriptionNoTool names
Is it guaranteed to happen?No, a requestNo, a requestNo, a requestYesWhen called
Best forFacts true in every taskProcedures for some tasksLong work that produces a lot of outputRules that must always holdOutside systems

The second row is the one people forget. Anthropic's documentation says it plainly: an instruction like "never edit .env" in CLAUDE.md or a skill is a request, not a guarantee[10]. If a rule must always hold, it belongs in a hook; skills are for knowledge and steps, not for enforcement.

Flowchart

The longer story of how these pieces fit together on a real project is in Customizing Claude Code: CLAUDE.md, skills, hooks, and settings. The last box in the diagram, sharing, is next.

Sharing skills

How you share a skill depends on who should get it, and each choice matches one of the places a skill can live:

You want to share withThe way to do itHow people get updates
Everyone working on one repositoryCommit .claude/skills/ to the repositorygit pull
People across many repositoriesA plugin in a marketplaceThey update the plugin
Everyone in a company using Claude CodeManaged settings, set by an administratorAutomatically
Everyone in a company using the Claude appsAn organisation owner adds the skillAutomatically
Your own API applicationsUpload a new version with the Skills APIYour code chooses the version
Other agents, not only ClaudePublish the folder; it follows the open standardHowever that tool installs skills

Plugins and marketplaces​

A plugin is a folder that bundles skills, subagents, hooks and MCP servers so people can install them together. A marketplace is a list of plugins, usually a GitHub repository, that Claude Code can read. Anthropic's own example skills are in the anthropics/skills repository[11], and you install them like this inside Claude Code:

TXT
/plugin marketplace add anthropics/skills
/plugin install document-skills@anthropic-agent-skills

Plugin skills always carry the plugin's name (/document-skills:pdf), so they never clash with your own. To share your own skills this way, put them in a plugin's skills/ folder, put the plugin in a GitHub repository with a marketplace file, and tell people the marketplace add command. Before you ship, claude plugin validate <folder> checks the plugin's structure[2].

The trade-off of personal skills​

A skill in your personal folder is available in every project you open, but nobody else has it. If a project skill relies on one of your personal skills, the project breaks on every other machine. For a team, keep every skill a project needs inside that project's repository or a plugin the team installs. Sharing a skill means other people depend on it, which makes testing it the next step.

Testing skills

A skill can fail in two separate ways, and you test for each one separately:

  1. It doesn't start when it should, or it starts when it shouldn't. That is a problem with the description.
  2. It starts but does the job badly. That is a problem with the instructions or the files.

Testing that it starts​

Write two short lists of requests: ten a user might type that should use the skill, and ten that look similar but shouldn't ("write release notes" vs "write a README"). Try each one in a fresh session and note whether the skill loaded. If it misses, add the user's words to the description. If it starts too often, make the description narrower, or set disable-model-invocation: true so it only runs on /name.

When a skill never starts, check these in order[2]:

  1. Does /name work? If not, Claude Code didn't find the skill: check the path and that the folder name matches name.
  2. Does the frontmatter parse? A YAML mistake (a colon inside an unquoted description is the usual one) makes the skill load with an empty name and description.
  3. Is the label budget full? /doctor shows it.
  4. Start Claude Code with --debug to see which skills it loaded.

Testing that it does the job​

Anthropic's guide recommends writing the tests before the skill, which it calls evaluation-driven development[5]:

  1. Run Claude on a few real tasks without the skill and note where it fails.
  2. Write three test cases from those failures, each with a clear "good result".
  3. Write the smallest skill that fixes the failures.
  4. Run the tests with the skill, compare with the results without it, and improve the skill.
Flowchart

Two more habits from the same guide help a lot:

  • Use two Claude sessions. In one ("Claude A") you write and improve the skill. In a fresh one ("Claude B") you use it on real work and watch what it reads, what it skips and where it goes wrong. Then you bring what you saw back to Claude A.
  • Test with every model you plan to use. A skill that works with Opus, the most capable model, may need more explicit steps for Haiku, the smallest one.

Tools that run the tests for you​

You don't have to run every test by hand:

  • The skill-creator plugin (/plugin install skill-creator@claude-plugins-official) helps you write a skill, then writes test cases, runs the skill and a version without it side by side, grades the results, and suggests a better description[2].
  • claude plugin eval runs a test suite against a plugin from the command line, so it can run in continuous integration (CI), the automatic checks that run on every change. A test can check that a skill was really used, and the command fails when the results fall below a threshold. At the time of writing it is in early access[12].

Test the description and the instructions separately: most skills that "don't work" were simply never loaded. Testing finds mistakes in your own skills. Skills written by other people bring a different risk.

Security: a skill can do anything Claude can do

A skill is instructions plus code, and Claude follows the instructions with your permissions. A harmful skill can tell Claude to run commands, read your files, or send data to another server. Anthropic's advice is to use only skills you wrote yourself or got from a source you trust[4].

Before you install someone else's skill, check these:

  • Read every file, not only SKILL.md. The risky part is often a script or a reference file.
  • Look for network calls in scripts and for instructions to fetch a web address (URL, Uniform Resource Locator). A skill that loads instructions from the internet can change after you checked it.
  • Read the !`command` lines. They run before Claude even sees the skill. The setting disableSkillShellExecution: true turns them off for every skill that doesn't ship with Claude Code itself.
  • Check allowed-tools. A skill that pre-approves Bash with no limits can run any shell command without asking you.

Treat installing a skill like installing a package: read it first, and prefer sources whose authors you know and trust. With the risks from outside covered, the last group of problems are the ones people cause in their own skills.

Known pitfalls

These are the mistakes that come up most, with the fix for each. Most come from Anthropic's guides[2][5]; the last three come from running a set of skills on this site.

MistakeWhat you seeFix
A vague descriptionThe skill never starts on its ownSay what it does and when, in the user's words
Description in the first or second personIt starts unreliablyWrite it in the third person
Too many skillsSome stop starting; their labels were droppedCheck /doctor; turn off unused skills (/skill-doctor); raise the budget
An unquoted colon in the frontmatterThe skill loads with no name or descriptionQuote the value, or use a YAML block
Everything in one long SKILL.mdSlow, costly, important rules ignoredMove detail to reference files; keep it under 500 lines
Reference files that link to more filesClaude reads only part of the chainLink every file straight from SKILL.md
A long conversation is summarisedInstructions near the end of the skill are lostPut the most important instructions first
Rules that must always holdClaude sometimes skips themMove them into a hook
Dates and "currently" in the textThe skill gives outdated adviceWrite timeless steps; put old facts in a clearly marked section
Offering several ways to do the same thingClaude picks a different way each timeGive one default, with one exception if needed
A script that needs a packageIt works on your machine onlyList the packages, and install them in the skill's first step
Windows-style paths (scripts\x.py)Breaks on Mac, Linux and the APIUse forward slashes
A side-effect skill Claude can chooseIt runs a deploy you didn't ask fordisable-model-invocation: true
The same name at two levelsYour personal copy hides the team'sUse specific names
Scripts run from the wrong folder"File not found"Use ${CLAUDE_SKILL_DIR} in every path
A procedure copied into two skillsThe copies drift apartOne skill uses the other, or both link one shared file

Most of these come back to the mental model from the start: Claude sees a short label, reads the instructions only when it needs them, and follows them as requests, not as rules.

From beginner to master: a path

It is best to learn skills step by step. A practical order:

  1. Beginner. Write one personal skill for a task you repeat every week. Only name, description and a short list of steps. Check it starts both ways.
  2. Comfortable. Add a reference file and a script. Use $ARGUMENTS, ${CLAUDE_SKILL_DIR} and one !`command` line. Set disable-model-invocation on anything with side effects.
  3. Team member. Move the skills a project needs into .claude/skills/ and commit them. Write the twenty should-start and shouldn't-start requests for each.
  4. Advanced. Combine skills: one skill uses another, shared rules in one document, exact work in shared scripts. Run heavy skills with context: fork, and back critical rules with hooks.
  5. Master. Package the skills as a plugin in a marketplace, test them with the skill-creator or claude plugin eval, keep them to the open standard where you can, and remove the ones nobody uses.
A good skill is small, has a precise description, is tested, and is kept where the people who need it will find it.

References

  1. Barry Zhang, Keith Lazuka, Mahesh Murag, Equipping agents for the real world with Agent Skills — Anthropic Engineering, 16 October 2025
  2. Extend Claude with skills — Claude Code documentation
  3. Specification — Agent Skills open standard
  4. Agent Skills overview — Claude Developer Platform documentation
  5. Skill authoring best practices — Claude Developer Platform documentation
  6. What are Skills? — Claude Help Center
  7. Using Agent Skills with the API — Claude Developer Platform documentation
  8. Agent Skills in the SDK — Claude Agent SDK documentation
  9. Donating Agent Skills to the Agentic AI Foundation — Anthropic
  10. Extend Claude Code (features overview) — Claude Code documentation
  11. anthropics/skills — GitHub
  12. Plugin evals — Claude Code documentation

Found it useful? Pass it on.

XLinkedIn

Spotted a mistake? Suggest an edit on GitHub