SHEPHERDdocs Search the docs/ v0.5.3-beta
On this pageSkills

Skills

Instructions that follow the role: the built-in skills, your own, and how to switch them per agent.

Works inDesktop appTerminal UICLI

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.

SkillUse
plan-tasksTurn a task into independent subtasks with acceptance criteria
implement-taskSmall focused changes in the agent's worktree
code-reviewVerify criteria and answer APPROVE or REQUEST_CHANGES
security-reviewSecrets, injection, validation, auth, unsafe file or process handling
write-testsTable-driven cases, edge cases
debugReproduce, isolate, root cause, regression test
conventional-commitsCommit message format
pr-workflowBranch to pull request
docs-lookupCheck official docs before assuming behavior
lang-go, lang-python, lang-tsLanguage conventions, activated automatically by repository language
shepherd-commsThe MCP tools for messaging, spawning and delivering results
shepherd-eventsTopics, partitions, consumer groups, offsets
shepherd-controlControlling terminals with the shepherd CLI
shepherd-orchestratePlanning 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:

LevelPath
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:

  1. Global: skills.global: [lang-go] installs a skill in every agent.
  2. Role: roles.<role>.skills: [name, ...] installs it in agents with that role.
  3. 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. The name must match the folder; the description is one line that starts with "Use when". Create it with shepherd 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): c switches between catalog and per-agent, Space enables or disables, n creates, g makes global, d deletes, r restores 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 agent shepherd 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.

Was this page useful?Suggest an edit on GitHub