SKILL.md

Package a repeatable workflow

Give agents a reusable procedure with a clear trigger, steps, and a verifiable result.

When to use it

Use a skill when the same multi-step task recurs and the agent benefits from an explicit method.

How to use it

  1. Create a folder with a SKILL.md file and give its frontmatter a name and a clear description.
  2. Write the workflow, expected output, and a check the agent can perform.
  3. Try it on a small example and compare the result with the example’s evidence.

When to choose another format

Put a repository’s standing test command in AGENTS.md. Put a calculation with one correct answer in a tested program. A skill can explain when to run that program and how to interpret its output. A bundled script still needs a compatible runtime and the host’s permission to execute.

Agent Skills format specification

Guide as of . Read this wiki edition

Worked examples

Basic

Create release-notes/SKILL.md with a matching folder and skill name. Give the agent two commits, one user-visible and one internal, and check which it includes.

---
name: release-notes
description: Draft release notes from the supplied commits when preparing a release.
---
Group user-visible changes by feature. Cite each commit.
List changes whose user impact needs confirmation.

Agent Skills format specification

Moderate

Move a long editorial rubric into references/style.md. Link it from the skill when a new public feature needs a release note. Run the same sample with and without the rubric to see whether the extra context changes the result.

Anthropic’s original description and open-standard announcement

Production

Keep a fixture with known inputs and an expected answer. When the skill changes, run that fixture in each supported host and inspect any new files or scripts before publishing. Hopper’s local review exercise can help inspect a packaged skill.

Practice reviewing an Agent Skill

Pattern history

Explore the timeline and sources