Agent Skills: Teach the Agent a Procedure Once
A skill is a folder with a SKILL.md that the agent loads only when the task needs it. Since December it's an open standard. How I write them, the three I use most, and when a skill is the wrong tool.
My project instructions file kept growing. How to write a PR body, how to cut a release, how to add a new feature folder, how to run the e2e suite. Every session loaded all of it, even when the task was renaming a variable.
Skills fixed that. Anthropic published Agent Skills as an open standard in December, and it has since moved to the Agentic AI Foundation. Most coding agents I use can read them now.
What a skill is
A folder with a SKILL.md file. The top is short metadata, the body is the procedure, and the folder can hold scripts or reference files next to it.
---
name: pr-body
description: Write a pull request description. Use when opening or editing a PR.
---
1. Read the diff against the base branch, not just the last commit.
2. Open with what changed for the user, in one sentence.
3. List anything a reviewer must check by hand (migrations, env vars, flags).
4. Link the issue. No attribution footers.The trick is progressive disclosure. At startup the agent sees only each skill's name and description, a few dozen tokens each. When a task matches, it reads the full body. Reference files load only if the body points to them. Twenty skills cost almost nothing until one is needed.
The three I use most
pr-body. Above. The PR descriptions stopped reading like changelogs.feature-scaffold. Creates a feature folder with the service, queries, and mutations files in our pattern, plus an empty test folder. It points at an existing feature as the reference instead of describing the pattern in prose.release-flow. How a change moves between our environments, and the hotfix variant that skips a step. It's the procedure I'd forget most between uses, so it's the one most worth writing down.
Writing a good one
- The description decides everything. It's the only part the agent reads before choosing. Say when to use it in the words a task would use: "Use when opening or editing a PR", not "PR utilities".
- Steps, not essays. A numbered procedure gets followed. A paragraph gets summarized.
- Point at real files. "Follow
features/orders/api" beats describing the pattern. - Keep the body short. If it's long, move the detail to a reference file the body links to.
When a skill is the wrong tool
- Always-on rules go in the instructions file. "Never edit generated files" has to apply to every task, not just the ones that match a description.
- Guarantees go in hooks. A skill can be skipped. A hook that formats after every edit can't.
- Facts that change go behind an MCP server. API shapes in a skill go stale; a server that reads the live spec doesn't.
The split I've settled on: instructions for what's always true, skills for procedures, hooks for guarantees, MCP for facts. Each layer stays small because it only holds its own kind of knowledge.
Keep reading
All posts2026
7 min
Code Is Cheap Now. Guardrails Are the Bare Minimum
An agent writes a feature in minutes. Whether it still works next week depends on what checks it the moment it changes. What I treat as non-negotiable now, on the backend, on the web, and on mobile.
testingaiworkflow5 min
Why T3 Code Replaced the Terminal as My Daily Agent Setup
Same agents, same subscriptions, one interface. Threads with their own worktrees, review before commit, approvals from my phone, and a second model one click away. What changed in my day, and what it still doesn't solve.
aiworkflowtooling