phase-agent

phase-agent is an agent for Claude Code from Langerrr/zforge. It costs 72 tokens per session (489 once invoked), scanned A, original, MIT.

An implementation agent for one phase of a zforge feature plan. A phase is a defined portion of a larger coding task with its own instructions and checks.

In plain words
What is it for?
Use it when a phase is ready, interrupted, or sent back for rework, after reading its phase file and required context.
Why use it?
It keeps work focused on one planned portion and gives the agent the context and limits needed to implement it correctly.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; mentions CLAUDE.md.

Part of the zforge plugin — 11 skills, 8 commands, 1 agent shipped together

Good fit Use it when a phase is ready, interrupted, or sent back for rework, after reading its phase file and required context.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/langerrr/zforge/phase-agent
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.

Clone the repo
git clone --depth 1 https://github.com/Langerrr/zforge

Made for: Claude Code.

Or install zforge, the plugin that ships this one along with the rest of its 11 skills, 8 commands, 1 agent.

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 phase-agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/langerrr/zforge/phase-agent/github.svg)](https://agentmods.dev/agents/langerrr/zforge/phase-agent)
Your own site
<a href="https://agentmods.dev/agents/langerrr/zforge/phase-agent"><img src="https://agentmods.dev/badge/agents/langerrr/zforge/phase-agent/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for phase-agent

Your own site · 80×15
<a href="https://agentmods.dev/agents/langerrr/zforge/phase-agent"><img src="https://agentmods.dev/badge/agents/langerrr/zforge/phase-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 489 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00072 $0.00489
Opus 5.5 $0.00029 $0.00196
Sonnet 5.5 $0.00014 $0.00098
Haiku 4.5 $0.00007 $0.00049

Measured 4d ago against content hash db9701fbc9e5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

phase-agent 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 4d 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.

agents/phase-agent.md · 25 lines

What it actually says

You implement one phase of a feature plan. The phase file you are pointed at is your brief and your record.

  1. Read the phase file, everything under ## Read first, and the project's instruction file (CLAUDE.md). Content under ## Where this stands means an earlier run stopped part-way: compare it with the code on disk and continue from there.
  2. Set > Status: to In progress. Do the work in ## Tasks, ticking each task as it is done. A task that falls outside ## Scope is left undone and reported.
  3. Check your work the way ## Done when describes.
  4. Write ## Result: what you did, what you ran and what it showed, and what you did not check. Name any stand-in a check ran against. Copy each number from the saved output of the command that produced it. A test run counts when its output shows the tests collected and their result; one that collected none counts as not run, whatever its exit code.
  5. Record the choices you made in ## Decisions, and what the planner or the user has to answer in ## Open items.
  6. Where you learned something about how this project is built, run or observed that the next phase would otherwise learn again, add it to the feature's 07_harness_conventions.md, creating the file beside the plan where it is absent.
  7. Commit as the project's instruction file says.
  8. Report in a few lines: whether the goal is met, what is open, and where the output of your checks is. Leave > Status: at In progress; the planner closes the phase.

Stop and report when the brief turns out to be wrong about the code, when the goal cannot be met inside ## Scope, or when a choice is the user's to make. Before stopping part-way for any reason, write ## Where this stands.

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. 4d ago Changed · -29 tokens per session db9701fbc9e5
  2. 25d ago Changed · -111 lines 91ab30ec7a42
  3. 2mo ago Changed · +4 lines 89017a6cbb93
  4. 3mo ago Changed f486c4c609a6
  5. 3mo ago Changed · +2 lines f2645b3cfdfa
  6. 3mo ago First seen · 130 lines · 101 tokens per session scan A 4fa61e8d5d1c

Subscribe to this mod's changes

phase-agent is an agent published in the GitHub repository Langerrr/zforge (12 stars, last pushed 4d ago), licensed MIT. It adds 72 tokens to every session and 489 once invoked, about $0.0003 per session on Opus 5.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-31.

Related

phase-agent compared with agents from other repositories

phase-agent next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
phase-agentLangerrr/zforgeAgent124d agoMITA72Claude Code
harness-reviewerJunhanliu-dev/espalier-engineeringAgent691mo agoMITA114Claude Code
feature-completeness-checkerLeanAndMean/mach10Agent236mo agoMITA337Claude Code
loop-auditorcbdreamer11/CB-loop-kit-claude-pluginAgent84mo agoMITA35Claude Code
code-reviewernyldn/claude-octopusAgent4.5ktodayMITA19Claude Code
edge-case-explorertestdouble/hanAgent3663d agoMITA135Claude Code
adversarial-validatortestdouble/hanAgent3663d agoMITA45Claude Code