SKILL.md for an agent: it brings a particular lens, vocabulary, and set of priorities to the tasks it handles.
Scope first
Pick a scope that is broad enough not to limit the agent, narrow enough that it doesn’t get lost.| Good scope | Bad scope |
|---|---|
Kubernetes Operator — handles K8s-only problems | Storage Manager — filesystem + mount points + cloud storage + backups (too broad; should be 3-4 specialties) |
AWS CLI + Terraform as separate specialties | Everything Infrastructure |
Linux Disk Manager + Windows Disk Manager | Disk Manager covering both OSes |
What goes in a specialty
1. How to approach a task
General process and tooling guidelines for solving tasks in this domain. Mention the tools at the agent’s disposal, the step-by-step process to troubleshoot, and how to know when to stop and call for a human.2. Perspective and judgment style
How the agent frames problems and what it pushes back on. This is the “thinking style” layer.3. Worked examples for typical problems
Show the typical sequence a senior operator would follow. Include commands that should be avoided because they are rarely the right approach.What does NOT belong in a specialty
| Out | Belongs in |
|---|---|
| Tool usage instructions for standard CLIs | Tool definitions — the agent already gets these |
| Exhaustive knowledge dumps about the environment | Operational Rules + Knowledge |
| Task-specific behavior that only applies to one ticket type | Operational Rules — specialties must stay polyvalent |
| Hard prohibitions (e.g., “never restart X”) | Operational Rules — they have higher priority |

