Software and updates
Agent Skills: what they are and how to write your own SKILL.md
An explainer from Anthropic's docs: a skill is a folder with a SKILL.md file, how Claude loads it in stages, where to save it, steps to create a first skill, and the warning on untrusted sources.
Last reviewed:
Claude Code Anthropic WindowsmacOSLinux
What a skill is
A skill is a folder with a SKILL.md file in two parts: YAML frontmatter between --- markers that tells Claude when to use it, and Markdown content with the instructions Claude follows when it runs. Claude uses it automatically when it fits your request, or you invoke it directly with /skill-name. Claude Code skills follow the open Agent Skills standard, which works across multiple AI tools.
How Claude loads it
Anthropic describes staged loading: metadata (name and description) is always loaded at startup at small cost, the SKILL.md body loads when triggered, and bundled files are read as needed. That is why many skills can be installed without bloating context, and why the description must say what the skill does and when to use it.
Write your first skill
- Create a folder for it in your personal skills folder, such as ~/.claude/skills/summarize-changes.
- Create SKILL.md in it with frontmatter holding a name and a description, for example one that summarises uncommitted changes, flags risk and says when to use it.
- Under the frontmatter write the instructions you want Claude to follow, in clear steps.
- Open a git project, make a small edit and run claude.
- Test it two ways: ask something that matches the description so Claude invokes it, or invoke it by name.
Where to save it
- Personal: ~/.claude/skills/name/SKILL.md for all your projects on this machine.
- Project: .claude/skills/name/SKILL.md inside the repository; commit it so your team gets it.
- Enterprise: through managed settings for all users on the organization's machines.
- For wider distribution: through a plugin.
Source warning
Anthropic advises using skills only from trusted sources, meaning ones you wrote or got from Anthropic, because a malicious skill can direct Claude to call tools or run code in ways that do not match its stated purpose. If you must use an unknown source, audit every file. Treat it like installing software.
Not verified
We read the two pages on 1 December 2026. We did not read the skill authoring best practices or the cookbook they point to, nor every frontmatter field, so we do not describe them. The skill example here is our own wording of what the docs show, not a copy.
Related pages
- Claude Code plugins: how to vet one before you install it, a step-by-step security checklist
- Claude Code for beginners: install, your first session and daily use
- Claude Code with design tools: the Figma MCP server explained, and what we know about Stitch
- Official places to learn Claude and AI: Claude Academy and Anthropic courses
- Canva inside ChatGPT and Claude: editable video generation and Magic Layers
Sources
- Claude Code Docs: Extend Claude with skills · read on
- Claude Docs: Agent Skills overview · read on
Wording is ours, from the official source. Images and video belong to their owners and are credited with a link to the official page.