Most people who use Claude every day have a text file of instructions they paste in at the start of a chat: the tone to write in, the format a report should follow, the checks to run before a pull request. Skills are Anthropic's answer to that file. You write the instructions once, put them in a folder, and Claude pulls them in whenever a request calls for them.
Anthropic introduced Skills (opens in a new tab) in October 2025 and later published the format as an open standard called Agent Skills (opens in a new tab), so the same folder can work in other tools that adopt it. This guide covers what a skill is, how Claude decides when to use one, how to install and store them, and how to write your first skill without the common mistakes. If you would rather start from finished skills than write your own, browse our free Claude Skills Library.
What are Claude Skills?
A Claude Skill is a folder with one required file, SKILL.md. That file starts with a short YAML header holding a name and a description, followed by plain Markdown instructions. The folder can also hold scripts, templates and reference documents that the instructions point to.
Anthropic's Agent Skills documentation (opens in a new tab) describes them as modular capabilities that package instructions, metadata and optional resources that Claude uses automatically when relevant. The key word is automatically. You do not attach a skill to a chat the way you attach a file. Claude sees the list of installed skills and decides for itself which one fits the request.
- Instructions: the procedure, standards and examples in
SKILL.md. - Reference files: longer material such as a style guide or an API reference, read only when needed.
- Scripts: code Claude runs rather than reads, such as a validator or a file converter. Only the output enters the conversation.
- Assets: templates, fonts or sample files the task depends on.
How Claude Skills work: progressive disclosure
The reason Skills scale is that Claude does not read every skill up front. It loads them in three levels, a pattern Anthropic calls progressive disclosure.
| Level | What loads | When | Approximate cost |
|---|---|---|---|
| 1. Metadata | name and description from the YAML header | Always, at the start of a session | About 100 tokens per skill |
| 2. Instructions | The body of SKILL.md | When a request matches the description | Under 5,000 tokens |
| 3. Resources | Reference files, scripts, templates | Only when the instructions call for them | Nothing until used; scripts return only their output |
This is why the description matters more than anything else in the file. It is the only part Claude sees when deciding whether to use the skill. A vague description such as "helps with documents" means the skill rarely triggers. A specific one that names the task and the words a user would type means it triggers when it should.
Where Claude Skills are stored
Skills run anywhere Claude can execute code, but each surface stores them separately. Anthropic's Agent Skills overview (opens in a new tab) says skills uploaded to one surface are not automatically available on others, so plan where each one should live.
| Surface | Where skills are stored | Who can use it | Good for |
|---|---|---|---|
| Claude apps (claude.ai and desktop) | In your Claude account, uploaded as a zip under Customize, then Skills | Only you until you share it; Team and Enterprise plans can share with people or the whole organization | Writing, analysis and document workflows |
| Claude Code | Folders on disk: ~/.claude/skills/ (personal) or .claude/skills/ (project), plus plugins | You, or everyone who clones the repo | Engineering workflows, repo conventions |
| Claude API and Agent SDK | In your workspace, uploaded through the /v1/skills endpoints and referenced by skill_id | Everyone in the workspace | Products and automated pipelines |
There is one bridge, and it runs one way. According to Anthropic's help center (opens in a new tab), skills you enable in claude.ai load in Claude Code version 2.1.273 or later when you sign in with the same account. They appear under claude.ai sync when you run /skills, Claude Code checks for changes about every 10 minutes, and nothing is ever written back to your account. The sync does not run when Claude Code uses an API key or a cloud provider such as Amazon Bedrock, and you can switch it off by setting syncClaudeAiSkills to false. The Claude Code docs (opens in a new tab) say terminal sessions keep these synced skills in ~/.claude/skills/synced/.
How to install Claude Skills (zip upload)
In the Claude apps you install a custom skill by uploading it as a zip file. As of November 2026, Anthropic's help center (opens in a new tab) lists skills on the Free, Pro, Max, Ultra, Team and Enterprise plans, and says the feature requires code execution to be enabled.
- Turn on code execution. Go to Settings, then Capabilities, and enable Code execution and file creation, called Create and edit files in the newer settings layout. On Team and Enterprise plans, an owner first enables code execution and Skills under Organization settings, then Plugins & skills.
- Name the folder after the skill. The folder name must match the
namein itsSKILL.md. - Zip the folder itself. The zip should contain the skill folder at its root. Anthropic's guide to creating custom skills (opens in a new tab) marks a zip with the files loose at the top level as incorrect.
- Upload it. Open Customize, then Skills, click +, choose + Create skill, select Upload a skill and pick the zip.
- Test it. Check that the skill is toggled on, then ask for the task in a normal chat. You do not need to name the skill; Claude matches the request to its description.
zip -r writing-release-notes.zip writing-release-notes
unzip -l writing-release-notes.zip # should list writing-release-notes/SKILL.mdIf the upload fails, the help center lists the usual causes: the zip is over the size limit, the folder name does not match the skill name, SKILL.md is missing, or the name or description contains invalid characters. If the skill uploads but never triggers, rewrite its description to include the words you actually used in the request.
Claude Code skills
In Claude Code a skill is just a folder on disk, which makes it the fastest place to build and test one. Personal skills go in your home directory and follow you across projects. Project skills live in the repository, so the whole team gets them through version control. No zip or upload is involved.
~/.claude/skills/ # personal, every project on this machine
writing-release-notes/
SKILL.md
your-repo/.claude/skills/ # project, shared through git
reviewing-migrations/
SKILL.md
checklist.md
scripts/validate.pyThe Claude Code skills documentation (opens in a new tab) lists a few more places it looks: .claude/skills/ folders nested inside subdirectories, folders added with --add-dir, plugins (<plugin>/skills/<skill-name>/SKILL.md) and enterprise managed settings. When two skills share a name, enterprise wins over personal, and personal wins over project.
You can also call a skill directly by typing / followed by its name, which is handy for tasks you want to trigger on purpose, such as a deploy checklist. Plugin skills are namespaced as /plugin-name:skill-name. Setting disable-model-invocation: true in the header stops Claude from loading that skill on its own, so it only runs when you ask. Custom commands have been merged into skills: a file in the older .claude/commands/ folder still works, but the docs recommend skills for new work because they can carry supporting files.
Skill file structure (SKILL.md)
Every skill is a folder with a SKILL.md file at the top. The file opens with YAML frontmatter between two --- lines, followed by the instructions in Markdown. Everything else in the folder is optional.
writing-release-notes/
SKILL.md # required: frontmatter plus instructions
reference.md # optional: detail Claude reads only when needed
examples.md # optional: sample input and output
scripts/
validate.py # optional: code Claude runs instead of readingname(required): up to 64 characters of lowercase letters, numbers and hyphens, with no XML tags and none of the reserved words "anthropic" or "claude", according to the Agent Skills overview (opens in a new tab).description(required): what the skill does and when Claude should use it, with no XML tags. The platform docs allow up to 1,024 characters, but Anthropic's guide to creating custom skills (opens in a new tab) gives 200 as the maximum for skills you upload to the Claude apps, so stay under 200 if you plan to upload.- Optional fields: outside Claude Code, only
license,compatibility,metadataandallowed-toolsare accepted alongside those two, and the Claude Code docs (opens in a new tab) warn that any other field causes an error there. Claude Code accepts more, such asdisable-model-invocation, and treats every field as optional, though it recommends always writing adescription.
How to build your first Claude Skill
Start with a task you already explain to Claude more than once a week. Here is a complete, working skill that turns rough notes into release notes in a fixed house format.
---
name: writing-release-notes
description: Turns merged pull requests, commit logs or rough notes into customer-facing release notes in the house format. Use when the user asks for release notes, a changelog entry or a "what's new" summary.
---
# Writing release notes
## Format
1. One-line summary of the release, under 20 words.
2. Sections in this order: New, Improved, Fixed. Omit empty sections.
3. Each item: what changed, then why it matters to the customer.
## Rules
- Write for customers, not engineers. No ticket numbers or file names.
- Use plain verbs: "added", "fixed", "made faster".
- If an item is internal only, leave it out and list it at the end
under "Skipped (internal)" so the user can check.
## Example
**Fixed**
- Exports no longer time out on reports with more than 10,000 rows,
so large accounts can download their data in one step.Write the description like a trigger, not a label
Anthropic's skill authoring best practices (opens in a new tab) set two rules for the description: say what the skill does and say when to use it, and write in the third person. Name the actions and the words a user would type. A gerund name such as writing-release-notes or analyzing-spreadsheets reads clearly in a list.
Keep SKILL.md lean and move detail into files
Keep the body of SKILL.md under 500 lines. Claude is already capable, so explain only what it would not know: your format, your thresholds, your edge cases. Put long material in separate files one level down, such as reference.md or examples.md, and link to them from SKILL.md. Avoid chains where one reference file points to another, because Claude may preview a file rather than read it in full.
Match the freedom to how fragile the task is
For judgment tasks such as a code review, give principles and let Claude adapt. For fragile tasks such as a database migration, give an exact script and tell Claude to run it rather than rewrite it. Anthropic calls this choosing the degree of freedom, and getting it wrong in either direction is the most common reason a skill underperforms.
Test it on real requests before you share it
- Run three real tasks without the skill and note where Claude falls short. Those gaps are what the skill should fix.
- Run the same three tasks with the skill and compare.
- Try phrasing the request the way a colleague would. If the skill does not trigger, add their words to the description.
- If your team uses more than one model, test on each. A lighter model may need more explicit steps than a larger one.
Claude Skills examples worth copying
The best skills encode something specific to you that Claude cannot guess. These are the patterns we see working most often.
| Skill | What it contains | Why it works as a skill |
|---|---|---|
| Brand voice | Tone rules, banned phrases, three before-and-after rewrites | Applies to every piece of writing without being asked |
| Content brief | Brief template, keyword rules, word-count targets per section | Same structure every time, so briefs are comparable |
| Code review | Team checklist, severity levels, examples of past bugs | Consistent reviews across reviewers and repos |
| Spreadsheet reporting | Column definitions, a Python script that validates totals | The script catches errors the model might miss |
| Meeting notes | Output format for decisions, owners and dates | Turns any transcript into the same actionable shape |
Anthropic also publishes example skills in its public skills repository on GitHub (opens in a new tab), including the document skills mentioned above. They are the best reference for structure, because they show how a real skill splits instructions, references and scripts. At the time of writing, the repository groups them like this:
- Document skills: Word (docx), Excel (xlsx), PowerPoint (pptx) and PDF, published as open source under the Apache 2.0 license.
- Creative and design: skills for art, music and design work.
- Development and technical: skills such as testing web apps and generating MCP servers.
- Enterprise and communication: skills for communications and branding.
Claude Skills vs MCP, projects and prompts
Skills overlap with several other Claude features, and choosing the wrong one is a common source of frustration. The short version: prompts are for this conversation, projects are for this body of knowledge, the Model Context Protocol (MCP) (opens in a new tab) is for access to other systems, and skills are for a way of working.
| Feature | What it gives Claude | Loads | Use it when |
|---|---|---|---|
| Prompt | Instructions for one task | Every time you paste it | The task is a one-off |
| Project | A shared set of documents and instructions | In every chat inside the project | Many chats need the same background files |
| MCP server | Tools and live data from another system | Tool definitions at start, data on call | Claude needs to read or write somewhere else |
| Skill | A procedure, plus optional scripts | Only when a request matches | You repeat the same task across many chats |
Skills and MCP are complementary rather than competing. An MCP server might give Claude access to your analytics platform, and a skill tells it which reports to pull, which numbers matter and how to present them. If you are still writing the same long prompt every day, our guide to Claude prompt engineering covers how to make that prompt good enough to turn into a skill.
Security: treat a skill like installed software
A skill can include code that Claude runs, which means a malicious skill can direct Claude to do things that do not match its stated purpose. Anthropic's guidance is to use skills only from trusted sources, meaning ones you wrote or ones from Anthropic, and to audit every file in a third-party skill before installing it.
- Read every script, not just
SKILL.md. Instructions can look harmless while a script does something else. - Be most careful with skills that fetch content from URLs, since that content can change after you review it.
- Do not put API keys or passwords in a skill folder. Anyone you share the skill with gets them.
- Note that on the API, skills are not covered by zero data retention arrangements, according to Anthropic's documentation.
The best Claude Skills to start with
If you are new to skills, start with the four Anthropic document skills, since they are already built and show you what good output looks like. Then write one custom skill for the task you repeat most. For most teams that is a writing voice or a report format, because those are the instructions people paste most often and get the most inconsistent results from.
Skills also change the cost picture for teams running Claude at volume. Because unused skills cost almost nothing, you can give a small, fast model a precise procedure and keep larger models for work that needs them, the same logic we cover in how small language models cut inference costs.
If you are building agents around skills, our guide to the Model Context Protocol covers the other half of the picture: connecting Claude to live tools and data. More guides like this sit in our AI section.



