Skills
Instructions that follow the role: the built-in skills, your own, and how to switch them per agent.
Skills
A skill is a folder with a SKILL.md: instructions that Shepherd installs into an agent according to its role. Each vendor receives them its own way (a plugin for claude, developer instructions for codex, an injected prompt for gemini), so you write them once.
Built-in skills
They are protected from deletion.
| Skill | Use |
|---|---|
plan-tasks | Turn a task into independent subtasks with acceptance criteria |
implement-task | Small focused changes in the agent's worktree |
code-review | Verify criteria and answer APPROVE or REQUEST_CHANGES |
security-review | Secrets, injection, validation, auth, unsafe file or process handling |
write-tests | Table-driven cases, edge cases |
debug | Reproduce, isolate, root cause, regression test |
conventional-commits | Commit message format |
pr-workflow | Branch to pull request |
docs-lookup | Check official docs before assuming behavior |
lang-go, lang-python, lang-ts | Language conventions, activated automatically by repository language |
shepherd-comms | The MCP tools for messaging, spawning and delivering results |
shepherd-events | Topics, partitions, consumer groups, offsets |
shepherd-control | Controlling terminals with the shepherd CLI |
shepherd-orchestrate | Planning and running work with Shepherd safely |
shepherd skills list shows each with its tier.
Writing your own
Create a folder with a SKILL.md. The folder name must match the name in the front matter.
---
name: api-conventions
description: Use when changing HTTP handlers - routing, error format and status codes.
---
# API conventions
- Return errors as `{ "error": "<message>" }` with the right status code.
- Never log request bodies.The description is one line telling the agent when to use it. Start it with "Use when".
Where it can live:
| Level | Path |
|---|---|
| Project | <repo>/.shepherd/skills/<name>/SKILL.md |
| User | ~/.config/shepherd/skills/<name>/SKILL.md |
| Global (every agent) | a _global/ folder inside either location, or skills.global in config.yaml |
Priority is repository, then user, then built-in. A project skill with the same name as a built-in one overrides it, and the original can be restored.
Assigning skills
There are three levels, combined when an agent starts:
- Global:
skills.global: [lang-go]installs a skill in every agent. - Role:
roles.<role>.skills: [name, ...]installs it in agents with that role. - Session: adjustments for one agent: a skill turned on, turned off, or put back to what its role gives. They are saved in the agent's entry and apply the next time it starts; the skills installed for a running agent are not touched.
skills.disabled: [name] excludes a skill. If another layer shadows a change you try to make, Shepherd tells you which layer wins instead of silently ignoring it.
skills:
global: [conventional-commits]
disabled: [lang-ts]
roles:
reviewer:
skills: [code-review, security-review]Timing matters: editing a skill's text reaches a running agent immediately (claude and codex). Adding or removing a skill takes effect only when the agent is restarted.
What you do with a skill
- Write one. A folder with a
SKILL.md. Thenamemust match the folder; thedescriptionis one line that starts with "Use when". Create it withshepherd skills create <name> --repo, or in the Skills editor. - Choose where it lives. In the project (
.shepherd/skills/, shared through git), for you across projects (~/.config/shepherd/skills/), or built in. The project wins over the user, and the user over the built-in. - Assign it. To every agent (
skills.global), to every agent of a role (roles.<role>.skills), or to one agent from its Skills card. Adding or removing a skill takes effect when the agent restarts; editing its text reaches a running agent at once. - Turn it off.
skills.disabled: [name]excludes it everywhere, and a session adjustment turns it off for one agent. If another layer wins, Shepherd says which one.
Managing skills in the interfaces
- Terminal, Skills view (
5):cswitches between catalog and per-agent,Spaceenables or disables,ncreates,gmakes global,ddeletes,rrestores the original of an edited built-in. - Native app, Skills view: an editor with line numbers to create, edit and delete skills. A dialog in the role settings lets you assign existing skills with a few clicks.
- Native app, Agents view: the Skills card of an agent has Turn off, Turn on and Reset for each skill, for that agent only.
- CLI:
shepherd skills create <name> [--description <text>] [--repo] [--global],skills delete <name>,skills global <name> [--off], and for one agentshepherd skills agent <agent> <skill> on|off|default.
shepherd config validate flags a skill without front matter, with a name that differs from its folder, or one a role references that does not exist.