SKILL.md format

SKILL.md is the open format published by agentskills.io for extending AI agents with portable, version-controlled instructions. A SKILL.md is a markdown file with YAML frontmatter declaring metadata + capabilities, followed by plain-English instructions the agent reads as system configuration.

Structure

Three required pieces:

Example: a well-formed SKILL.md

---
name: format-files
version: 1.2.0
description: Format source files with the project formatter.
agents: [claude-code, cursor, codex]
capabilities:
  filesystem:
    read:  ["./src/**", "./tests/**"]
    write: ["./src/**", "./tests/**"]
  process:
    exec: ["prettier", "biome", "black"]
---

# Format files

When the user asks you to format the project, run the locally-installed formatter
(prettier, biome, or black, in that order of preference) over the source tree.

## Behavior

1. Detect which formatter is installed.
2. Run it over `./src/**` and `./tests/**`.
3. Report the diff.

Do not run formatters on `./node_modules/` or any vendored directory.

What makes it well-formed?

Adoption: SKILL.md was published by Anthropic in December 2025 and adopted by 40+ agent products within six months. It's the de-facto portable format across Claude Code, Cursor, OpenAI Codex, Gemini CLI, GitHub Copilot, and Goose.

Frontmatter fields we use