What are Claude skills? Definition, SKILL.md format and where they work

What a Claude skill contains, how SKILL.md loads, and where skills work. Compare the open standard with Claude Code extensions and account-specific installation.

Updated · Markdown version

Short answer

Last checked 2026-11-25: a Claude skill is a folder of instructions Claude can load for a relevant task or an explicit invocation. The required file is SKILL.md. The open Agent Skills specification and the Claude API require YAML frontmatter with name and description, followed by Markdown instructions. Claude Code also accepts files without those fields, deriving a name from the folder and using its documented fallback description; explicit metadata is preferable for portability. The folder can also hold scripts, reference documents and templates. Anthropic developed the format and released it as the open Agent Skills standard, so the same folder structure is used by other agent products as well as by Claude Code, claude.ai and the Claude API.

What is in a skill

The smallest skill is one directory with one file. The Agent Skills specification names three optional folders by convention:

my-skill/
  SKILL.md        # required: frontmatter + instructions
  scripts/        # optional: code the agent can run
  references/     # optional: longer documents loaded on demand
  assets/         # optional: templates, images, data files

As of 2026-11-25, the specification at agentskills.io defines these frontmatter fields:

FieldRequiredConstraint in the specification
nameYes1 to 64 characters; lowercase letters, numbers and hyphens; no leading, trailing or double hyphen; must match the parent directory name
descriptionYes1 to 1,024 characters; should say what the skill does and when to use it
licenseNoA license name or a bundled license file
compatibilityNoUp to 500 characters; environment requirements
metadataNoA map of string keys to string values
allowed-toolsNoSpace-separated pre-approved tools; marked experimental

Claude Code adds its own fields on top of the standard, such as disable-model-invocation, user-invocable and context, and the Claude Code documentation says all of its fields are optional, with only description recommended. The same page says claude.ai uploads and the Skills API accept only name, description, license, compatibility, metadata and allowed-tools, and that other fields cause a hard error there. The platform documentation also bars the reserved words anthropic and claude from names and XML tags from both fields. Both Anthropic and the specification advise keeping SKILL.md under 500 lines and moving detail into separate files.

Here is a complete, valid skill, adapted from the example in the Claude Code documentation:

---
name: summarize-changes
description: Summarizes uncommitted changes and flags anything risky. Use when the user asks what changed, wants a commit message, or asks to review their diff.
---

Summarize the changes in two or three bullet points, then list any risks you notice,
such as missing error handling, hardcoded values or tests that need updating.

How a skill differs from a prompt, a project or an MCP server

The Claude Help Center compares skills with three things you may already use. As of 2026-11-25 it says:

  • Prompts and custom instructions: a prompt is conversation-level text for one task. Custom instructions apply broadly to all conversations. Skills are task-specific and load only when relevant.
  • Projects: projects provide static background knowledge that is always loaded in chats inside them. Skills activate only when needed and work across Claude.
  • MCP: MCP connects Claude to external services and data. Skills provide the procedures for using those tools, and the two can be used together. For the full comparison, read Claude skills vs MCP vs plugins: what each one is for.

How a skill loads: progressive disclosure

The Agent Skills overview calls this the core design principle. Claude loads a skill in stages so that unused skills cost almost nothing:

LevelWhen it loadsToken cost (platform documentation)What loads
1: MetadataAt startup, for every skillAbout 100 tokens per skillname and description
2: InstructionsWhen a task matches the descriptionUnder 5k tokensThe SKILL.md body
3: ResourcesOnly when the instructions point to themNone until readReference files; scripts run through bash and only their output enters context

Two consequences follow. First, the description helps Claude choose a skill automatically; a user can also invoke a skill explicitly. The documentation says to put the key use case first and to include the phrases a user would naturally say. Second, a skill can bundle large reference material at no cost until it is read.

Claude Code adds a few details of its own, from its skills page as of 2026-11-25. Descriptions are in context on every turn, and the full body loads when the skill is invoked and then stays in context. When many skills are installed, Claude Code can drop some descriptions to fit a listing budget that scales at 1% of the context window, and the combined description and when_to_use text is capped at 1,536 characters per skill. After a conversation is compacted, Claude Code keeps the first 5,000 tokens of each invoked skill, within a combined 25,000-token budget.

Where Claude skills work

As of 2026-11-25, Anthropic's overview documents these surfaces:

SurfaceCustom skillsAnthropic's pre-built document skillsNotes from the documentation
Claude CodeYes, folders on diskNot available; the Claude API skill is bundledSkills have the same network access as any program on your machine
claude.aiYes, upload a zipYes, active when you create documentsCustom skills need Pro, Max, Ultra, Team or Enterprise with code execution on; the Help Center says skills are available on Free through Enterprise, with code execution required
Claude APIYes, through the /v1/skills endpointsYes, as pptx, xlsx, docx, pdfNeeds the code execution tool; skills run in a container with no network access and no runtime package installation

The two documentation pages differ slightly on claude.ai plans for custom skills (the overview lists paid plans, the Help Center article lists Free as well). If you rely on a plan, read the current Help Center page. Local Claude Code folders and API uploads are separate installations. The current Claude Code skills page also documents account-enabled claude.ai skills in Cowork, cloud and terminal sessions signed in to that account. Check the target surface and current account settings; do not assume either that every skill syncs or that none do. On the API, skills are shared workspace-wide; in Claude Code they are personal (~/.claude/skills/), project-based (.claude/skills/) or shared through plugins.

Are skills only for Claude? The Agent Skills standard

No. As of 2026-11-25, agentskills.io describes Agent Skills as a lightweight, open format that was originally developed by Anthropic, released as an open standard and adopted by a growing number of agent products. Anthropic's engineering post carries an update dated 2025-12-18 saying the format was published as an open standard for cross-platform portability. The Agent Skills site showcases adoption across multiple agent products; a listing alone does not prove identical runtime support. We list what we have checked per tool on the Claude Code, Codex, Gemini CLI, Cursor and GitHub Copilot pages.

Portability has limits. Claude Code's own extensions (invocation control, subagent execution, dynamic context) are not part of the standard, and a skill that relies on them will not behave the same elsewhere. The specification's compatibility field exists so a skill can state its environment requirements.

Who writes skills, and what ships built in

The Help Center describes four kinds of skill: Anthropic skills (such as the Excel, Word, PowerPoint and PDF skills), custom skills you or your organization write, organization-provisioned skills that Team and Enterprise owners can distribute and set enabled or disabled by default, and partner skills built to work with partners' MCP connectors. Claude Code also ships bundled skills that you run as commands; its documentation lists /doctor, /code-review, /batch, /debug, /loop, /claude-api, /run, /verify and /run-skill-generator. Anthropic publishes open-source skills in a public repository, covered in Anthropic skills: what the official skills are and how to use them.

Before you use someone else's skill

A skill can direct Claude to run code and call tools. As of 2026-11-25, Anthropic's overview says to use skills only from sources you trust, to review every bundled file (SKILL.md, scripts, images, other resources) for unexpected network calls or file access, and to treat a skill that fetches external content as higher risk, because fetched content can carry instructions. It says to treat installing a skill like installing software. Read Check a Claude Skill From GitHub Before Installing It for a concrete checklist, and How to Read a Claude Skill: A SKILL.md Checklist to judge a skill's quality.

What goes wrong and how to fix it

  • The skill never triggers. Cause: the description does not contain the words a user would say, or YAML in the frontmatter does not parse. The Claude Code documentation says malformed YAML makes the skill load with empty metadata, so /skill-name still works but Claude cannot match the description. Fix: rewrite the description with natural keywords, put the key use case first, run with --debug to see parse errors, or name the skill in your request.
  • The skill is rejected on upload. Cause: on claude.ai and the API, the folder name must match the skill name, SKILL.md must exist, and names and descriptions cannot hold invalid characters or XML tags. Fix: check each against the field table above.
  • A skill works in one place and not another. Cause: local folders and API uploads have different installation scopes, account-enabled skills follow the documented account-sharing rules, and Claude Code-only fields may be rejected elsewhere. Fix: check the target surface, account and accepted fields before reinstalling.
  • A script that needs the internet fails on the API. Cause: skills on the API run with no network access and no package installation. Fix: use only packages the code execution container already has, or run the skill in Claude Code.
  • Claude follows the skill at first and drifts later. Cause: Claude Code adds the skill text when invoked and does not re-read the file on later turns, and compaction keeps only the start. Fix: put the most important rules near the top, and use a hook for anything that must hold every time.

What our catalogue shows

Snapshot checked 2026-11-25. These are stored assessment and installation records, not new efficacy runs. Installation probes asked Claude to identify the skill and stop; they do not prove a complete real-world task. A listed tutorial is instructional media, not a recording of a successful efficacy test. Scores are not percentages of guaranteed correctness.

We hold evidence on skills that teach agents how to write and vet skills and instruction files. Nothing here is a verdict on Claude skills as a category. Install records come from install-verifications.json; verdicts are quoted as recorded.

SkillPlatform Score and stateEfficacy verdictInstall verifiedTutorial video
skill-authoring-and-evals62, ratedLIFT_UNCONFIRMED, measured, 2026-11-22Claude Code 2.1.330, 2026-11-23Yes
coding-agent-guardrails60, ratedNO_LIFT, measured, 2026-11-23Claude Code 2.1.330, 2026-11-23Yes
agent-hooks-authoring47, provisionalNo verdict recordedClaude Code 2.1.330, 2026-11-23Yes
agent-instruction-files46, provisionalNo verdict recordedClaude Code 2.1.330, 2026-11-23Yes

Read the NO_LIFT row as written: on the recorded test, the skill did not beat the baseline reliably. The LIFT_UNCONFIRMED row means a higher score than baseline whose confidence interval includes zero on 5 tasks. How we score is on the Platform Score methodology page.

FAQ

What are Claude skills in simple terms?

They are saved instructions in a folder that Claude reads when your request matches the skill's description. You write them once instead of pasting the same guidance into every chat. A skill can also include scripts and reference files that Claude uses only when needed.

What is a SKILL.md file?

It is the one required file in a skill. For the open specification and Claude API, it starts with YAML frontmatter between --- lines containing name and description, then Markdown instructions. Claude Code permits omitted fields and supplies documented fallbacks. The Claude Code documentation says the opening --- must be the first line of the file.

Are agent skills and Claude skills the same thing?

The format is the same. "Agent Skills" is the name of the open standard that Anthropic developed and released; "Claude skills" are skills used in Claude products. A folder that follows the specification can be used by any client that supports it, though extras specific to one product may not carry over.

Do Claude skills cost tokens?

Usually there is a metadata cost before use: the platform documentation estimates about 100 tokens per skill. Claude Code listing settings and invocation controls can omit descriptions or disable automatic invocation, so this is not a universal per-turn charge. The body loads when invoked. Reference text consumes context when read; executing a script does not by itself put its source code into context, although returned output consumes tokens. Measure your own setup with /context and /skill-doctor in Claude Code.

Are Claude skills free?

Anthropic's skills repository says many of its skills are open source under Apache 2.0, and the documentation we read lists no separate charge for the feature. Using skills still consumes your plan's or API account's normal usage, and on claude.ai and the API they require code execution to be enabled. Check Anthropic's current plan pages for limits.

Are skills safe?

Only as safe as their contents. Anthropic says to use skills only from trusted sources, audit all bundled files and treat installation like installing software. A catalogue score is our assessment of listed evidence, not a safety guarantee.

Can I write my own skill?

Yes. Create a folder, add a SKILL.md with a name and a description that says when to use it, and place it where your surface expects it. The next guide covers Claude Code paths and commands.

Next steps

Platform Score is our assessment under a published method. It is not a safety guarantee.

Terms this guide uses

This item is a worked example in the AI glossary for:

Next steps

  1. Claude skills vs MCP vs plugins: what each one is for Read next.
  2. How to install a Claude Code skill: personal, project and plugin routes Read next.
  3. Agent Workflow & Planning skills Ranked by Platform Score.
  4. All guides by topic Browse everything.

Browse the topic

Agent Workflow & Planning skills, ranked by Platform Score.

Sources