Agent Skills: How to Teach an AI Agent the Way Your Team Works
· 12 min read
AI agents already know a great deal. Ask one how Kubernetes schedules pods, or how a SQL join works, and you will get a solid answer. What they have no way of knowing is how your team does things: the steps, the order you do them in, the tools you reach for, and the judgment calls that add up to a real workflow.
That is the gap agent skills are built to fill. A skill is nothing more than a folder with a Markdown file in it that teaches an agent how to do one specific job. The format started life at Anthropic and is now an open standard, published in December 2025, and Anthropic reports that more than 70 agent platforms, ChatGPT, Cursor, GitHub Copilot and VS Code among them, have since integrated it.
Over the rest of this article I want to walk through the problem skills solve, what one actually looks like, how an agent loads skills without burning through its context, how skills sit alongside MCP, RAG and fine-tuning, and why you should treat installing one with the same care you would any other dependency. The example I will carry the whole way through is a skill that writes release notes the way your team writes them.
Large language models are trained on an enormous amount of text, so they come loaded with general knowledge. But a lot of real work turns on procedural knowledge instead: how a particular task gets done in your setting, in what order, and under what rules.
Release notes are a good example. Your team might have a routine that goes something like this:
- Collect every pull request merged since the last release.
- Drop anything labelled
internal or chore.
- Group what is left under New, Improved and Fixed.
- Rewrite each PR title in plain language a customer would understand.
- Stick to the house style: no ticket numbers, no jargon, present tense.
- Show someone the draft before it goes out.
An agent has no way to guess any of that. Left to itself, it has two options, and neither is good. Either you spell out every step in the prompt, every single time, or it improvises and hands you release notes that read nothing like your team's. A skill gives you a third option: write the procedure down once, and let the agent pull it up whenever the task comes around again.
The format is deliberately plain. A skill is a folder with a SKILL.md file inside it, plus whatever supporting files that file leans on. Here is the release-notes skill laid out:
release-notes/
├── SKILL.md
├── scripts/
│ └── merged_prs.sh
├── references/
│ └── style-guide.md
└── assets/
└── template.md
SKILL.md opens with a short block of YAML frontmatter, and then the instructions follow in plain Markdown:
---
name: release-notes
description: Writes customer-facing release notes from pull requests merged since the last release. Use when the user asks for release notes, a changelog, or a "what shipped" summary.
metadata:
author: platform-team
version: "1.0"
---
# Release notes
1. Ask for the date of the last release if the user hasn't given it.
2. Run `scripts/merged_prs.sh <date>` to list the pull requests merged since then.
3. Skip any PR labelled `internal` or `chore`.
4. Group the rest under New, Improved and Fixed, based on their labels.
5. Rewrite each title for customers, following `references/style-guide.md`.
6. Fill in `assets/template.md` and show the draft to the user before posting it anywhere.
The Agent Skills specification insists on only two frontmatter fields:
name identifies the skill. It can run up to 64 characters of lowercase letters, numbers and hyphens, and it has to match the folder name.
description says what the skill does and when to reach for it, in up to 1,024 characters.
That description carries more weight than it first appears, because it is the trigger. The agent reads it to decide whether a given request is a job for this skill, so something vague like "helps with releases" will not fire reliably. The description above names the job outright and includes the phrases a user is likely to actually type, like "release notes", "changelog" and "what shipped".
The spec allows a handful of optional fields too: license, compatibility for environment requirements, metadata, and an experimental allowed-tools. Details like the author and version belong inside metadata, not at the top level. Put author: directly in the frontmatter and the spec's reference validator throws the file out with "Unexpected fields in frontmatter".
Everything below the frontmatter is the body: the steps, the rules, the edge cases, and the examples of input and output the agent needs to get the job done. There is no required format for it. Write it the way you would write instructions for a capable new teammate on their first day.
A skill can carry any other files it needs, and the spec suggests three conventional folders for them:
scripts/ holds code the agent can run, usually Python, Bash or JavaScript. Here, merged_prs.sh might wrap a GitHub CLI call like gh pr list --state merged --search "merged:>=2026-11-01" --json number,title,labels, so the agent gets back an exact list rather than guessing at one.
references/ holds extra documentation the agent only opens when it actually needs it, like the team's style guide.
assets/ holds static resources such as templates, images and data files, like the release-notes template.
An agent might have dozens or hundreds of skills installed at once. If it loaded every one of them into the context window the moment it started up, it would eat through its token budget before anyone had even asked a question. Skills get around this with progressive disclosure: the agent only pulls in more of a skill as the task in front of it calls for it. The spec breaks this into three tiers.
The first tier is metadata. At startup the agent loads only each skill's name and description, roughly 100 tokens apiece, the way you would skim a table of contents. Here is what the agent sees for the release-notes skill, as produced by the spec's skills-ref library:
<available_skills>
<skill>
<name>
release-notes
</name>
<description>
Writes customer-facing release notes from pull requests merged since the last release. Use when the user asks for release notes, a changelog, or a "what shipped" summary.
</description>
<location>
/path/to/skills/release-notes/SKILL.md
</location>
</skill>
</available_skills>
The instructions, the script, the style guide and the template are all still sitting on disk, unloaded.
The second tier is the instructions. When a request lines up with a skill's description, the agent loads the full SKILL.md body. Nothing separate sits in the middle making that match; the model decides for itself, through its own reasoning, which is exactly why a clear description earns its keep. The spec suggests keeping the body under 5,000 tokens and the file under 500 lines, and pushing anything longer out into separate files.
The third tier is resources. The files in scripts/, references/ and assets/ only load when a step actually reaches for them.
The upshot is that an agent can know about hundreds of skills while only paying, in context, for the one it happens to be using right now.
Say you ask an agent that has the release-notes skill installed: "Write the release notes for this sprint." Here is how that plays out, step by step.
It starts by matching the request. The agent already has every skill's name and description sitting in its context, and "release notes" lines up with the release-notes description, so it settles on that skill.
Then it loads the instructions, reading the SKILL.md body. The first step tells it to ask for the last release date if you have not given one, so it asks, and you tell it "1 November".
Next it runs the script. Step two points it at scripts/merged_prs.sh 2026-11-01, so it runs that and gets back the list of merged PRs with their titles and labels.
From there it follows your rules, dropping the PRs labelled internal and chore and sorting the rest under New, Improved and Fixed.
Now that it needs them, it reads the style guide. Step five points to references/style-guide.md, so the agent loads it and turns "Fix race condition in invoice webhook retry" into "Invoices no longer occasionally send twice."
Finally it fills in the template and checks with you. It loads assets/template.md, fills it out, and shows you the draft rather than posting it anywhere, because step six says to.
The model did the reasoning and the actual writing. What the skill supplied was everything the model could not have known on its own: your steps, your filters, your style, and the exact point where a person needs to look before anything ships.
There is more than one way to hand an agent knowledge, and each one deals with a different kind of it:
| Approach |
What it gives the agent |
What it doesn't do |
| MCP (Model Context Protocol) |
Access to tools and external systems, such as APIs, databases and apps |
Doesn't tell the agent when to use a tool or what to do with the result |
| RAG (retrieval-augmented generation) |
Facts pulled from a knowledge base at run time |
Gives reference material, not a way of working |
| Fine-tuning |
Knowledge and behavior built into the model's weights |
Expensive, and has to be redone when you switch models |
| Skills |
Procedural knowledge: how to do a task, in what order, with what judgment |
Doesn't add new capabilities by itself |
In practice they work together rather than competing. A skill will often lean on MCP or a script for the raw capability and supply the judgment about when and how to use it. In our example, the GitHub CLI is what reaches the pull requests, and the skill is what decides which ones count and how to write them up.
And because skills are just files, they slot straight into the habits you already have. You can keep them in version control, review changes to them in pull requests, fix them in a couple of minutes, and carry them from one tool to another.
Cognitive science splits human memory into a few kinds, and they map onto how agents are put together more neatly than you would expect:
- Semantic memory is facts, like "Abuja is the capital of Nigeria". For an agent, that is RAG and knowledge bases.
- Episodic memory is experiences, like "the last release went out on 1 November". For an agent, that is conversation history and logs.
- Procedural memory is knowing how to actually do something, like riding a bike or writing release notes the team's way. For an agent, that is skills.
Looked at that way, a skill is procedural memory for an AI agent.
Because Agent Skills is an open standard, a skill you write for one platform runs on any other platform that supports the spec, with no separate version to maintain for each tool. Anthropic has since handed over the Agent Skills name, logo, GitHub organization and agentskills.io domain to the Agentic AI Foundation, and you can use the standard or contribute to it without joining the foundation at all. By Anthropic's own count, a million skills have been published and close to 280 million installed.
The very thing that makes skills powerful is also what makes them worth being careful with. A skill can bundle scripts, and when an agent runs a script it usually runs on your machine, with reach into your files, your environment variables and your API keys. A skill's instructions can also quietly steer the agent toward things you never meant it to do.
This is not a hypothetical. In a February 2026 audit, Snyk scanned 3,984 skills from ClawHub and skills.sh and found that 13.4% of them, 534 skills in all, carried at least one critical-level security issue, from malware distribution to prompt-injection attacks to leaked secrets.
So treat installing a skill the way a careful team treats pulling in any software dependency:
- Install from sources you actually trust.
- Read the
SKILL.md, and every script, before you let it run.
- Check what the scripts do and where they send data.
- Watch for instructions that have nothing to do with the skill's stated job.
A skill is procedural memory for an AI agent: a Markdown file in a folder that teaches it how to do one specific job. Skills are triggered by their descriptions, loaded in tiers so they stay cheap to keep around, and written in an open format that travels across tools.
If there is a task you keep walking an agent through step by step, a release-notes routine, a deployment checklist, a code-review pass, that is a strong candidate for your first skill. Write the steps down once, give it a description that clearly says when to use it, and review it the way you would any other code.