Explainers

What are Claude skills? How they work, with examples

Claude skills are folders of instructions and scripts Claude loads when a task needs them. What is inside one, how Claude picks it, and how to add one.

4 min read · Updated

A Claude skill is a folder that teaches Claude how to do one kind of job, like filling in a PDF form or writing a status report the way your team likes. Anthropic describes skills as folders of instructions, scripts and resources that Claude loads when they are relevant. Claude reads a short description of every skill you have, and opens the full instructions only when your task matches.

What is inside a skill

Every skill has a SKILL.md file. It starts with two fields:

  • name: lowercase letters, numbers and hyphens, up to 64 characters.
  • description: what the skill does and when to use it, up to 1,024 characters.

Below that come the instructions, written in plain markdown. A skill can also carry extra files: reference docs, examples, templates and scripts. A made-up example:

pdf/
├── SKILL.md        the instructions, with name and description on top
├── reference.md    extra detail Claude reads only if it needs it
└── scripts/
    └── fill_form.py  code Claude runs, rather than reads

How Claude decides to use one

Skills load in three steps, so having many of them costs very little:

  1. Always: the name and description of every skill, about 100 tokens each, or a few lines of text.
  2. When a task matches: the rest of SKILL.md.
  3. Only if needed: the extra files. When Claude runs a script, only the script's output goes into the conversation, not its code.

Claude matches your request against each skill's description. That makes the description the most important line in a skill: a vague one gets skipped, a clear one gets used at the right time.

Where skills work

  • The Claude app. Anthropic's own skills for Word, Excel, PowerPoint and PDF files are built in, and Claude uses them when you ask it to make a document. You can upload your own skills too. Skills need code execution turned on in your settings.
  • Claude Code. Put skill folders in ~/.claude/skills/ for every project, or .claude/skills/ for one project. The built-in document skills are not included, but the open-source versions below work the same way.
  • The Claude API. Skills run with the code execution tool. You upload your own through the Skills API.

Skills do not sync between these. A skill you upload to the Claude app has to be uploaded to the API separately, and copied into a folder for Claude Code.

How to add a skill

  • In the Claude app: open Customize, then Skills, then the + button, and upload the skill as a zip file.
  • In Claude Code: copy the folder into your skills directory. Our Claude Code skills guide has the one-line command.
  • In other agents: the same SKILL.md format works in Codex, which reads skills from ~/.agents/skills. See Codex skills.

Examples of Claude skills

Documents, from Anthropic:

Coding habits, from obra's Superpowers collection:

Design and making your own:

For our picks by job, see the best Claude skills.

Skills vs MCP, projects and plugins

What it gives Claude When it loads
Skill Know-how for one kind of task Only when the task matches
MCP server A connection to a tool or data, like GitHub or a database When Claude calls one of its tools
Project Background files and notes for one piece of work Every chat in the project
Custom instructions How you want Claude to act in general Every chat

Skills and MCP servers work well together. The server gives Claude access to something, and the skill tells it how to use that access well. Skills vs MCP servers vs artifacts goes further.

In Claude Code, a plugin is a package that can bundle skills with other things, like commands. You add plugins with the /plugin command, and their skills work like any other.

Check a skill before you install it

A skill can include scripts, and Claude runs them with your permissions. Anthropic's advice is to use skills only from sources you trust, and to read a skill fully before using one from anyone else, like installing software. Look through SKILL.md and its scripts for network calls or file access you didn't expect.

Every skill on AgentDuck shows a "What it can do" panel that lists its scripts, shell commands, network calls and file writes, with links to the exact lines. How to check a skill before you install it walks through the rest.