In Plain Words

The name misleads people. "Skill" sounds like something the model learned, or a tool it can call. An Agent Skill is neither: it is a folder of text and files that an agent reads when a task calls for it.

Picture the binder a new hire gets for one recurring job, such as cutting a release or filling in a particular PDF form. It sits on the shelf until that job comes up. The agent sees the label on the spine (the skill's name and description) all the time, and opens the binder only when a request matches the label.

Two terms carry the format. Frontmatter is the YAML block between two --- lines at the top of SKILL.md, and it must hold a name and a description. Progressive disclosure is the loading rule: the agent pulls in more of a skill only as the task needs it. The loading is done by the agent's harness, the program around the model that manages its context and tools.

How It Works

The specification at agentskills.io defines three stages:

  1. Discovery. At startup the agent loads only each skill's name and description. The spec budgets about 100 tokens per skill for this.
  2. Activation. When a task matches a description, the agent reads the whole SKILL.md body into context. The spec recommends under 5,000 tokens and under 500 lines.
  3. Execution. The agent follows the instructions and opens files in scripts/, references/ or assets/ only when the instructions point to them.

Most clients let the model decide when a skill matches. Users can also call one by name: the spec's client guide lists /skill-name and $skill-name as the usual syntax, and Claude Code uses /skill-name.

Only two frontmatter fields are required. name allows at most 64 characters of lowercase letters, numbers and hyphens, and must match the name of the folder that holds it. description allows up to 1024 characters and should say what the skill does and when to use it. license, compatibility, metadata and the experimental allowed-tools are optional.

Here is the spec's example with its optional fields, with the spec's file-reference example as the body. We saved it as pdf-processing/SKILL.md:

---
name: pdf-processing
description: Extract PDF text, fill forms, merge files. Use when handling PDFs.
license: Apache-2.0
metadata:
  author: example-org
  version: "1.0"
---

See [the reference guide](references/REFERENCE.md) for details.

Run the extraction script:
scripts/extract.py

We ran skills-ref 0.1.0, the reference validator from the agentskills repo (commit 83021e2, Python 3.15.2, uv 0.13.7, macOS). skills-ref validate ./skills/pdf-processing printed Valid skill: skills/pdf-processing. Renaming the skill to PDF-Processing inside a folder called bad failed twice over:

$ skills-ref validate ./skills/bad
Validation failed for skills/bad:
  - Skill name 'PDF-Processing' must be lowercase
  - Directory name 'bad' must match skill name 'PDF-Processing'

Running skills-ref to-prompt on the valid skill printed the discovery-stage catalog a client can put in its system prompt:

<available_skills>
<skill>
<name>
pdf-processing
</name>
<description>
Extract PDF text, fill forms, merge files. Use when handling PDFs.
</description>
<location>
/private/tmp/hands-on/agent-skills/skills/pdf-processing/SKILL.md
</location>
</skill>
</available_skills>

That block is all the model sees of the skill until it activates it. The repo labels skills-ref a demonstration library, not for production use.

Clients add their own fields on top, and those do not travel with the standard. Claude Code says it "extends the standard": disable-model-invocation: true stops Claude from loading a skill on its own, and context: fork runs the skill in a subagent. Neither field appears in the agentskills.io specification.

Why It Matters

The first reason is context cost. When Anthropic launched skills in October 2025, Simon Willison noted that each skill takes "a few dozen extra tokens" at startup, while GitHub's official MCP server "famously consumes tens of thousands of tokens of context". Instructions in AGENTS.md or CLAUDE.md load into every session. A skill's body loads only when it is used, so a team can keep many procedures on hand and pay for little more than a name and a description each until one is needed. One caveat from the Claude Code docs: once a skill loads, its content stays in the conversation across later turns, so a long skill keeps costing tokens after first use. For the full picture of what loads before you type, see our breakdown of the 55,000 tokens an agent spends before your prompt.

Portability is the second reason. The same folder works in any client that implements the format, and Anthropic counts more than 70 agent platforms, including ChatGPT, Cursor, GitHub Copilot and VS Code. Where the folder lives is not in the spec. Each client has a native location, and .agents/skills/ has become the shared convention:

ClientProject folderPersonal folder
Claude Code.claude/skills/~/.claude/skills/
OpenAI Codex.agents/skills/~/.agents/skills/
GitHub Copilot (VS Code).github/skills/ (local sessions also read .claude/skills/ and .agents/skills/)~/.copilot/skills/

The folder question is still open upstream. The top open issue on the agentskills repo (270 reactions) is a proposal for a standard folder where skills should live.

Skills also carry trust risk, because a skill is instructions plus code the agent may run. The spec's client guide warns that project skills from an untrusted repository can silently inject instructions into the agent's context, and Anthropic recommends installing skills only from trusted sources. The model also decides whether to load a skill at all. For a rule that must run every time, Claude Code has hooks, shell commands that run at fixed points in the agent's lifecycle.

Origin

Anthropic introduced Agent Skills on 16 October 2025 as "organized folders of instructions, scripts, and resources that agents can discover and load dynamically." It published the format as an open standard on 18 December 2025. On 22 October 2026 Anthropic handed the project, down to its GitHub organization and agentskills.io domain, to the Agentic AI Foundation, with David Soria Parra and Mahesh Murag as Lead Maintainers. A governance document followed on 4 November 2026, setting the project up as a Series of LF Projects, LLC. As of November 2026 the spec has no numbered version, and the proposed roadmap starts with versioned releases and a formal proposal process.

Common Confusions

TermWhat it isHow it differs from a skill
Model Context Protocol (MCP)A protocol that gives an agent access to external systems, services and dataMCP supplies access; a skill explains how to do something. Anthropic's rule: explaining how is a skill, needing access is MCP. A skill can tell the agent which MCP tools to use.
AGENTS.md and other custom instructionsProject instructions the agent always appliesLoaded in every session. A skill loads only when its task comes up.
SubagentA separate agent that works in its own context window and returns only a summaryA skill's instructions run inside the current conversation. Claude Code can run a skill in a subagent with context: fork.
Slash commandA command the user types, such as /deployClaude Code merged custom commands into skills. /skill-name is how a user starts a skill directly instead of waiting for the model to pick it.
Agent hooksShell commands the client runs at fixed lifecycle pointsHooks always run. A skill runs only when the model or the user activates it.