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

backlog://guide

The index of the topics.

backlog://guide/workflow

The entry point: the order of work and the task lifecycle.

backlog://guide/tasks

Statuses, links between tasks, and claims.

backlog://guide/memory

Notes: lasting agreements and corrections.

backlog://guide/search

Search by meaning and by exact text.

backlog://guide/projects

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.md for Claude Code;

  • ~/.codex/AGENTS.md for Codex, or AGENTS.md under CODEX_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:

  1. Check the project first: read project_board with the path of the checkout.

  2. 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.

  3. 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.

  4. Keep lasting agreements in notes: your preferences, constraints and corrections.

  5. 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

task_add with the request, the facts and the acceptance criteria.

Claim

task_claim, so that two agents do not start the same task.

Work

Status doing. Decisions, findings and checks go into comments.

Close

Status done after verification, with the result and the commits in a comment.

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

planning

Turn a large request into an epic with tasks that another agent can carry out.

autopilot

Carry out an epic from start to end without supervision.

triage

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

standup

A draft of a standup update from the recently closed and the open tasks.

groom

A review of the open tasks: order, duplicates, and tasks that are too vague.