Agent workflow¶
The backlog is useful only when agents keep it as they work. This page shows what makes an agent do that: the instructions of the server, the rules that you install once, and the skills for larger work.
What the server tells an agent¶
When an agent connects, the server sends short instructions with the MCP handshake: start with
project_board, then read the workflow guide. The guide is a set of MCP resources:
Resource |
Topic |
|---|---|
|
The index of the topics. |
|
The entry point: the order of work and the task lifecycle. |
|
Statuses, links between tasks, and claims. |
|
Notes: lasting agreements and corrections. |
|
Search by meaning and by exact text. |
|
Projects, directories and sharing. |
Each tool description names the guide topic that applies to it. A client decides whether it shows the server instructions to the model, so do not rely on them alone: install the rules.
Install the rules¶
The server has a prompt, Install Backlog rules into the global Agents config
(install_backlog_rules). Run it once on each computer. The agent then writes the Backlog
rules into your global agent instructions:
~/.claude/CLAUDE.mdfor Claude Code;~/.codex/AGENTS.mdfor Codex, orAGENTS.mdunderCODEX_HOME.
How you run a prompt depends on the client. In Claude Code, an MCP prompt is a slash command that carries the server name:
/mcp__backlog__install_backlog_rules
In other clients, choose the prompt from the list of MCP prompts. For a client without
prompts, add prompts=tool to the endpoint URL of the HTTP server; the agent then
calls the tool mcp_prompts_get.
The agent puts the rules between the markers <!-- BACKLOG_START --> and
<!-- BACKLOG_END --> and keeps the rest of the file. Run the prompt again after an upgrade:
it replaces the marked block and does not duplicate it.
The rules tell every agent, in every project, to:
Check the project first: read
project_boardwith the path of the checkout.Search before decisions: read the notes of the project, and search for past tasks and agreements before it investigates, chooses an approach or asks you.
Track work through tasks: file a task before a change, claim it, write decisions and results as comments, and close it only when the result is verified.
Keep lasting agreements in notes: your preferences, constraints and corrections.
Report an outage of the backlog and never claim a write that did not happen.
The life of a task¶
Step |
What the agent does |
|---|---|
File |
|
Claim |
|
Work |
Status |
Close |
Status |
Tasks have links: part_of puts a task into an epic, depends_on orders tasks, caused_by
and related_to give context. A task with open dependencies is not ready, and the board shows
only ready tasks.
The body of a task is the agreed definition. Agents change it only when you ask. Everything that happens later is a comment, so the history of a decision stays readable.
Skills¶
A skill is a set of instructions that an agent loads for one kind of work. The server ships three. Nothing in a skill is executed: the agent reads the text and uses the tools.
Skill |
Use it to |
|---|---|
|
Turn a large request into an epic with tasks that another agent can carry out. |
|
Carry out an epic from start to end without supervision. |
|
Bring a board back in order: statuses, priorities, duplicates, finished work. |
A client that supports MCP skills shows them by itself; in Claude Code they are
backlog:planning, backlog:autopilot and backlog:triage. Any other agent reads them as
resources: skills://list lists them, and skill://planning/SKILL.md is the text of one. In a
terminal, backlog skills lists them and prints one in full:
backlog skills
backlog skills planning
Plan an epic¶
Ask the agent in your own words and name the skill:
Use the planning skill: we need documentation for the three ways to run the server.
The agent searches the backlog for context, asks you only for the decisions that change the
plan, and files an epic with child tasks. Each task holds your request, the verified facts and
the acceptance criteria. The tasks are linked part_of the epic and depends_on each other
only where the dependency is real, so independent tasks can run in parallel. The agent does not
start the work.
Carry out an epic¶
Use the autopilot skill on epic #12. Implement and commit, do not push.
The agent records this mandate and its goals as a comment on the epic. Then it repeats one cycle: take the ready task with the highest priority, claim it, do the work, verify each acceptance criterion, commit, write the result as a comment, read the new comments, close the task. A bug that is not part of the task becomes a new task and is not fixed on the way.
The agent makes ordinary decisions itself and records them. It stops and asks when the work grows past the task, when a requirement must change, or when the next step is hard to undo: push, deploy, publish, delete. At the end it gives a short report: the closed tasks with their commits, the open questions, and the bugs that it filed.
To steer an agent while it works, add a comment to the task in the
browser interface or with backlog task comment. The agent reads new comments
before each status change.
Other prompts¶
Prompt |
What it gives |
|---|---|
|
A draft of a standup update from the recently closed and the open tasks. |
|
A review of the open tasks: order, duplicates, and tasks that are too vague. |