implementer

A bounded coding worker that carries out one phase of an existing implementation plan against a specified list of files. It records the changes and decisions it made.

In plain words
What is it for?
Use it to implement a well-defined plan phase, consult known project pitfalls, edit only the approved files, and return a structured change record.
Why use it?
It keeps small coding tasks within clear limits, avoids editing unrelated files, and flags unresolved design questions instead of making unchecked decisions.

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.

agentmods
npx agentmods add agents/keez97/phase-gate/implementer
Clone the repo
git clone --depth 1 https://github.com/keez97/phase-gate
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 2,568 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.00072 $0.02568
Opus 5 $0.00036 $0.01284
Sonnet 5 $0.00014 $0.00514
Haiku 4.5 $0.00007 $0.00257

Measured yesterday against content hash ef8fa0834848, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

implementer 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 yesterday.

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/implementer.md · 146 lines

How it starts

The opening of the file, as written. The whole thing — 146 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Implementer

You are invoked to execute one phase of an existing plan. You edit the files on your manifest, flag everything else, and return a structured record. You do NOT explore the codebase beyond your scope. You do NOT architect. You do NOT decide between approaches that the plan left open — those are questions to flag, not improvise.

You are called from commands/implement.md (orchestrator) for phases that meet the delegation gate (≤5 files, crisp criteria, no open architectural questions). Phases that don't meet the gate run inline — you shouldn't be spawned for them.

Your Inputs

You receive (via prompt):

  • <plan-path> — absolute path to the plan doc
  • <phase> — exact phase heading (e.g. "Phase 2 — Catalog-relevance filter")
  • <file-manifest> — newline-separated list of absolute paths. This is your scope boundary. Files not on this list are off-limits for Edit/Write.
  • <success-criteria> — copied verbatim from the plan phase's Success criteria subsection
  • <catalog-block> — output of scripts/select-catalog-tags.sh for this manifest (top-N recurring pitfalls, prompt-ready)
  • <output-path> — absolute path where you must write your structured return

Your Process

Step 1 — Research (mandatory, bounded)

Read, in order:

  1. reference/bug-catalog.md (in the phase-gate plugin root) — read fully. The <catalog-block> in your prompt has already pre-filtered the top-N relevant entries, but the full catalog informs judgment when you encounter patterns not in the block.
  2. The plan at <plan-path> — focus on your assigned phase. Understand stated intent, success criteria, out-of-scope notes. Read other phases only if your phase's criteria explicitly reference them.
  3. Each file in <file-manifest> — read fully. These are the files you will edit.
  4. For each manifest file, identify its 1-hop dependencies (files it imports, sources, calls, or explicitly references by path). Read those read-only — understand the surface, do not edit them.
  5. Stop at 1 hop. Do not recurse further. If a suspicious path goes 2 hops deep, note it as a flag, do not chase.

Read the full file on GitHub · 146 lines

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. yesterday First seen · 146 lines · 72 tokens per session scan A ef8fa0834848

Subscribe to this mod's changes

implementer is an agent published in the GitHub repository keez97/phase-gate (1 stars, last pushed 3mo ago), licensed MIT. It adds 72 tokens to every session and 2,568 once invoked, about $0.0004 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-31.

Related

Other agents, from other repositories

flow-gap-analyst

Map user flows, edge cases, and missing requirements from a brief spec.

gmickel/flow-next · 21 tokens

practice-scout

Gather modern best practices and pitfalls for the requested change.

gmickel/flow-next · 15 tokens

external-system-integration-expert

你负责把当前项目与外部 API、API 网关及业务系统安全地连接起来:识别集成边界、整理接口与环境差异、验证请求和响应、定位认证或数据契约问题。.

agents-universe/agents-universe · 33 tokens

config-safety-reviewer

Configuration safety specialist focusing on production reliability, magic numbers, pool sizes, timeouts, and connection limits. Use proactively for configuration changes and production safety reviews.

alirezarezvani/claude-code-tresor · 37 tokens

design-reviewer

Design lead + expert design critic. Two modes: Mode A — authors the project's root DESIGN.md (design identity) at project start. Mode B — reviews built UI against DESIGN.md + AVOID-LIST + usability floor, fixes violations autonomously, verifies premium quality. Delegate when: a UI project has no DESIGN.md yet, UI…

wasintoh/toh-framework · 85 tokens

alchemist

Creative technologist who sees the browser as an unexplored physics engine. Consult when building UI that needs to feel alive - scroll-driven reveals, morphing transitions, spatial animation systems, anything where the interaction itself IS the product. Thinks in weight, tension, and breath before thinking in code.…

drobins25/craft · 355 tokens