add-phase

add-phase is a command for coding agents from SienkLogic/plan-build-run. It costs 9 tokens per session (397 once invoked), scanned A, original, MIT.

A command that adds a new phase to the end of the current milestone in a project roadmap. A phase is a numbered piece of planned work, and a milestone is a larger project target.

In plain words
What is it for?
Use it to add a described phase to a roadmap and update the related planning and activity files.
Why use it?
It removes the manual work of choosing the next phase number, creating its folder, updating roadmap records, and committing the changes.

Command

Part of the pbr plugin — 45 skills, 71 commands, 18 agents, 3 hooks shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/sienklogic/plan-build-run/add-phase
Clone the repo
git clone --depth 1 https://github.com/SienkLogic/plan-build-run

Or install pbr, the plugin that ships this one along with the rest of its 45 skills, 71 commands, 18 agents, 3 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for add-phase

README.md
[![agentmods](https://agentmods.dev/badge/commands/sienklogic/plan-build-run/add-phase.svg)](https://agentmods.dev/commands/sienklogic/plan-build-run/add-phase)
Your own site
<a href="https://agentmods.dev/commands/sienklogic/plan-build-run/add-phase"><img src="https://agentmods.dev/badge/commands/sienklogic/plan-build-run/add-phase.svg" alt="Measured on agentmods" height="20"></a>
Per session 9 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 397 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00009 $0.00397
Opus 5 $0.00005 $0.00198
Sonnet 5 $0.00002 $0.00079
Haiku 4.5 $0.00001 $0.00040

Measured 5d ago against content hash 9ee6ea572803, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

add-phase scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/pbr/commands/add-phase.md · 76 lines

What it actually says

Handles:

  • Phase number calculation (next sequential integer)
  • Directory creation with slug generation
  • Roadmap structure updates
  • STATE.md roadmap evolution tracking

@.planning/ROADMAP.md @.planning/STATE.md

Extract phase description from $ARGUMENTS. If empty, ask user for a description.

2. Validate State

pbr-tools roadmap analyze

Check that ROADMAP.md exists and has at least one milestone.

3. Calculate Next Phase Number

Read ROADMAP.md, find the highest integer phase number in the current milestone, add 1.

4. Generate Slug

SLUG=$(pbr-tools generate-slug "$ARGUMENTS")

5. Create Phase Directory and Update Roadmap

pbr-tools roadmap append-phase --goal "$ARGUMENTS"

Create .planning/phases/{NN}-{slug}/ directory.

6. Update State

pbr-tools state record-activity "Added phase {NN}: {description}"

7. Commit

git add .planning/ROADMAP.md .planning/STATE.md .planning/phases/
git commit -m "docs: add phase {NN} — {slug}"

8. Report

Display: "Phase {NN}: {description} added to roadmap." Suggest: /pbr:discuss-phase {NN} or /pbr:plan-phase {NN} as next steps.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 76 lines · 9 tokens per session scan A 9ee6ea572803

Subscribe to this mod's changes

add-phase is a command published in the GitHub repository SienkLogic/plan-build-run (17 stars, last pushed 5mo ago), licensed MIT. It adds 9 tokens to every session and 397 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.