Agent Skills - SKILL.md, frontmatter and supporting tools
Checked on 28 Nov 2026
The format
Agent Skills is a lightweight, open format for extending an agent with specialized knowledge and workflows. A skill is a folder containing at least a SKILL.md file:
skill-name/
├── SKILL.md # required: metadata + instructions
├── scripts/ # optional: executable code
├── references/ # optional: documentation
├── assets/ # optional: templates, resources
└── ...
The format was originally developed by Anthropic and released as an open standard. The specification is maintained at agentskills.io (repository agentskills/agentskills, Apache 2.0 for the specification). Its GOVERNANCE.md, adopted on 4 November 2026, states that the project will be established as "Agent Skills a Series of LF Projects, LLC".
SKILL.md
The file starts with YAML frontmatter, followed by free-form Markdown instructions.
---
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"
---
| Field | Required | Constraints (specification) |
|---|---|---|
name |
Yes | 1-64 characters; lowercase letters, digits and hyphens; no leading, trailing or consecutive hyphens; must match the parent directory name |
description |
Yes | 1-1024 characters; says what the skill does and when to use it |
license |
No | License name or bundled license file |
compatibility |
No | Max 500 characters; environment requirements |
metadata |
No | String-to-string key/value map |
allowed-tools |
No | Space-separated list of pre-approved tools (experimental) |
The skills-ref reference library validates a folder: skills-ref validate ./my-skill.
Progressive disclosure
Agents load skills in stages:
- Discovery: at startup only
nameanddescriptionare loaded (about 100 tokens per skill). - Activation: when a task matches the description, the
SKILL.mdbody is read (under 5,000 tokens recommended, under 500 lines). - Execution: files in
scripts/,references/orassets/are loaded only when needed.
The description is therefore the main trigger: it should include the keywords of the tasks it targets.
Support (each tool's official documentation)
| Tool | Documented locations |
|---|---|
| Claude Code | ~/.claude/skills/<name>/SKILL.md (personal), .claude/skills/<name>/SKILL.md (project) |
| Claude (claude.ai) and Claude API | Uploaded custom skills (zip on claude.ai, /v1/skills API); pre-built pptx, xlsx, docx, pdf skills |
| OpenAI Codex | .agents/skills (from the working directory up to the repository root), $HOME/.agents/skills |
| VS Code (GitHub Copilot) | .github/skills/, ~/.copilot/skills/; also reads .claude/skills/ and .agents/skills/ |
| Cursor | .agents/skills/, .cursor/skills/, ~/.agents/skills/, ~/.cursor/skills/; also loads .claude/skills/ and .codex/skills/ |
Claude's documentation notes that custom skills do not sync between claude.ai, the API and Claude Code. Claude Code adds its own frontmatter fields on top of the standard (for example disable-model-invocation).
The agentskills.io Client Showcase lists 46 products as of 2026-11-28, including Gemini CLI, GitHub Copilot, Junie, OpenCode, OpenHands, Amp, Goose, Factory, Roo Code and Kiro.
Skills and MCP
MCP also defines an official Skills over MCP extension (io.modelcontextprotocol/skills, SEP-2640 at Final status) that lets an MCP server expose agentskills.io-format skills through resources. According to the MCP documentation, SDK and host support is still being implemented.
See also AGENTS.md and What is an MCP server?.