claude-code-config: Agent for Claude Code

.claude/agents/phase-c-merger.md

phase-c-merger is an agent for Claude Code from auerbachb/claude-code-config. It costs 27 tokens per session (9,506 once invoked), scanned A, original, MIT.

A subagent for the final stage of a code change: checking the merge requirements and acceptance criteria, then running the approved merge procedure. An acceptance criterion is a specific condition the finished work must meet.

In plain words
What is it for?
Use it to verify final code against acceptance criteria, confirm the merge gate, squash-merge an approved change, sync the main branch, and identify follow-up work.
Why use it?
It catches unmet requirements before merging and reports blockers without changing the code.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; reads .claude/ paths; mentions CLAUDE.md.

This is auerbachb/claude-code-config's own configuration. It tells Claude Code how to work on claude-code-config itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claude-code-config configures →

Reuse

Borrowing it

Nothing to install: this file belongs to auerbachb/claude-code-config. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/auerbachb/claude-code-config/main/.claude/agents/phase-c-merger.md
Clone the repo
git clone --depth 1 https://github.com/auerbachb/claude-code-config

Made for: Claude Code.

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-c-merger

README.md
[![agentmods](https://agentmods.dev/badge/agents/auerbachb/claude-code-config/phase-c-merger/github.svg)](https://agentmods.dev/agents/auerbachb/claude-code-config/phase-c-merger)
Your own site
<a href="https://agentmods.dev/agents/auerbachb/claude-code-config/phase-c-merger"><img src="https://agentmods.dev/badge/agents/auerbachb/claude-code-config/phase-c-merger/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-c-merger

Your own site · 80×15
<a href="https://agentmods.dev/agents/auerbachb/claude-code-config/phase-c-merger"><img src="https://agentmods.dev/badge/agents/auerbachb/claude-code-config/phase-c-merger.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 9,506 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00027 $0.09506
Opus 5.5 $0.00011 $0.03802
Sonnet 5.5 $0.00005 $0.01901
Haiku 4.5 $0.00003 $0.00951

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

Security

Grade A, and why

phase-c-merger scanned grade A with 1 finding 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 1mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Before leaving any work undone — whether you'd frame it as impossible, out of scope, a deployment step, or a runbook for someone else — walk the capability ladder for any provider CLI (`gh`, `git`, `curl`, or a service
.claude/agents/phase-c-merger.md · 550 lines

How it starts

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

Phase C: Verify + Wrap

You are a Phase C subagent. Your job: verify the merge gate is satisfied, verify all acceptance criteria against the final code, check off passing AC items, then execute the canonical /wrap flow to squash-merge, sync root main, detect follow-ups, and report completion. You do NOT fix code — if something fails, report it as a blocker.

Tool restrictions: You have read-only file access plus Bash (for gh CLI commands, PR body updates, and git operations). You cannot use Write or Edit tools. If AC verification reveals a code issue, report it as OUTCOME: blocked — do not attempt to fix it.

Resolving helper scripts (do this first)

You may be spawned against any repo, and most repos carry no .claude/ directory. Never invoke a bare .claude/scripts/<name> path — it silently does not exist outside the config repo. Define these once, then call every helper through run_script:

resolve_script() {
  local name="$1" candidate
  for candidate in \
    "$HOME/.claude/skills-worktree/.claude/scripts/$name" \
    "$HOME/.claude/scripts/$name" \
    ".claude/scripts/$name"; do
    if [[ -x "$candidate" ]]; then echo "$candidate"; return 0; fi
  done
  return 1
}

run_script() {            # run_script <name> [args...]
  local name="$1"; shift
  local script_path       # NOT `path`: zsh ties lowercase `path` to `PATH` (#1556)
  if ! script_path=$(resolve_script "$name"); then
    echo "ERROR: $name not found (checked ~/.claude/skills-worktree/.claude/scripts/, ~/.claude/scripts/, .claude/scripts/)" >&2
    return 127
  fi
  "$script_path" "$@"
}

run_script returns 127 when nothing resolves, after naming the file on stderr. Treat that exit distinctly from the script's own exit codes: a helper that could not be found has not reported anything about the PR, so never fold it into a "no findings" or "gate met" reading. Say which capability is unavailable in one line and block the step that needed it. Full contract: .claude/reference/portable-skill-resolution.md (issue #1189).

Read the full file on GitHub · 550 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. 1mo ago Changed · +295 lines 4bcf3da4ca90
  2. 2mo ago First seen · 255 lines · 27 tokens per session scan A e12aa71ca999

Subscribe to this mod's changes

phase-c-merger is an agent published in the GitHub repository auerbachb/claude-code-config (5 stars, last pushed 2d ago), licensed MIT. It adds 27 tokens to every session and 9,506 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). 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

supervisor-final-judge

Final Release Judge. Use only when the Supervisor coordinator dispatches this independent role.

ma-nucho-pro/supervisor-claude-plugin · 22 tokens

release-manager

Cuts a brooks-lint release: sets the version in package.json, propagates it across the four plugin manifests and every version-bearing text file via npm run bump, writes the CHANGELOG entry, re-validates, then commits, pushes to main, tags, and publishes the GitHub release. Final pipeline stage of the brooks-harness…

hyhmrright/brooks-lint · 85 tokens

release_manager

Release management specialist for release notes, changelogs, version bumps, release checklists, and rollout coordination. Use when the task requires drafting a changelog for a release, planning a phased rollout, composing a release readiness checklist, or reviewing semver impact of a set of changes. For example…

josstei/maestro-orchestrate · 83 tokens

release-manager

Release management specialist for release notes, changelogs, version bumps, release checklists, and rollout coordination. Use when the task requires drafting a changelog for a release, planning a phased rollout, composing a release readiness checklist, or reviewing semver impact of a set of changes. For example…

josstei/maestro-orchestrate · 83 tokens

phoenix-packages-reviewer

Read-only reviewer for Phoenix's published packages - Python packages under packages/ and TypeScript packages under js/packages/. Give it the changed paths and what the change is meant to do; it reports verified findings with file:line evidence and a severity, focused on public API compatibility and release hygiene.…

Arize-ai/phoenix · 72 tokens

implement-finalization

Use when implement reaches Phase 4 or resumes unfinished finalization.

The01Geek/prflow · 17 tokens