cpzai-mcp-server: Agent for Claude Code

.claude/agents/swarm-reviewer.md

swarm-reviewer is an agent for Claude Code from CPZ-Lab/cpzai-mcp-server. It costs 37 tokens per session (350 once invoked), scanned A, original, MIT.

A review agent that acts as a final approval check for changes made by a group of coding agents. It examines the actual uncommitted changes, runs available verification, and gives a ship or no-ship decision.

In plain words
What is it for?
Use it to review diffs against a task, check project rules, run tests or builds, and identify concrete blockers.
Why use it?
It catches incomplete fixes, regressions, and unsupported claims before changes are accepted.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is CPZ-Lab/cpzai-mcp-server's own configuration. It tells Claude Code how to work on cpzai-mcp-server 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 cpzai-mcp-server configures →

Reuse

Borrowing it

Nothing to install: this file belongs to CPZ-Lab/cpzai-mcp-server. 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/CPZ-Lab/cpzai-mcp-server/main/.claude/agents/swarm-reviewer.md
Clone the repo
git clone --depth 1 https://github.com/CPZ-Lab/cpzai-mcp-server

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 swarm-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/cpz-lab/cpzai-mcp-server/swarm-reviewer/github.svg)](https://agentmods.dev/agents/cpz-lab/cpzai-mcp-server/swarm-reviewer)
Your own site
<a href="https://agentmods.dev/agents/cpz-lab/cpzai-mcp-server/swarm-reviewer"><img src="https://agentmods.dev/badge/agents/cpz-lab/cpzai-mcp-server/swarm-reviewer/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 swarm-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/cpz-lab/cpzai-mcp-server/swarm-reviewer"><img src="https://agentmods.dev/badge/agents/cpz-lab/cpzai-mcp-server/swarm-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 350 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.00037 $0.00350
Opus 5 $0.00018 $0.00175
Sonnet 5 $0.00007 $0.00070
Haiku 4.5 $0.00004 $0.00035

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

Security

Grade A, and why

swarm-reviewer 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 10d 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.

.claude/agents/swarm-reviewer.md · 22 lines

What it actually says

You are the ship gate of an agent swarm. The implementer's report is a claim, not evidence; your verdict is the evaluation metric the swarm optimizes, so a soft gate makes the whole swarm worthless.

Method:

  1. If .claude/swarm-context.md exists in the repo root, read it. A change violating a listed invariant is an automatic blocker.
  2. Run git diff (and git status) to see exactly what changed. Review the diff, not the implementer's description of it.
  3. Check the change against the task: does it fully solve it? Does it handle the edge cases the task implies?
  4. Hunt for regressions: read the callers of changed code, check for broken contracts, weakened validation, silent fallbacks, or faked data.
  5. Independently run the verification the implementer claims to have run (tests, typecheck, build) when feasible, and trust your own results over their report.

Verdict rules:

  • ship=true only if you would merge this to a money-handling production system. score 0-10 reflects quality beyond mere correctness.
  • ship=false requires concrete, actionable blockers, each pointing at a file and the specific problem. No vague "needs more tests".
  • An empty diff when the task required changes is ship=false.
  • You may run tests/builds via Bash, but never edit files: report blockers, do not fix them.
  • Return exactly the requested structure.
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. 10d ago First seen · 22 lines · 37 tokens per session scan A dc1e30f900d7

Subscribe to this mod's changes

swarm-reviewer is an agent published in the GitHub repository CPZ-Lab/cpzai-mcp-server (1 stars, last pushed 19d ago), licensed MIT. It adds 37 tokens to every session and 350 once invoked, about $0.0002 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

review-reliability

R3 Reliability reviewer — behavior-first tests, coverage value, edge cases, determinism, contracts, and regressions.

Gentleman-Programming/gentle-ai · 29 tokens

sdd-verify

You are the SDD verify executor. Do this phase's work yourself. Do NOT delegate further. You are not the orchestrator. Do NOT call the Task tool. Do NOT launch sub-agents.

Gentleman-Programming/gentle-ai · 37 tokens

sdd-tester

Runs the project's verification suite (type-check, lint, tests) and reports pass/fail with concrete failures. Use AFTER the implementer finishes a task and BEFORE the verifier. Read-only on source. Stack-agnostic — reads the commands from .memory/30-tech.md.

chohra-med/expo_boilerplate · 61 tokens

test-coverage-reviewer

Use this agent when you need to review local code changes or a pull request for test coverage quality and completeness. This agent should be invoked after a PR is created or tests updated, to ensure tests adequately cover new functionality and edge cases.

NeoLabHQ/context-engineering-kit · 53 tokens

fec-e2e-runner

Front-end end-to-end testing specialist: writing and maintaining key user journeys, executing Playwright/Cypress, managing unstable use cases, managing screenshots/Trace/videos and CI products. Delegate when you need to generate, run or repair E2E, or ensure core processes are testable. If the environment has…

bovinphang/frontend-craft · 0 tokens

pr-test-analyzer

Review pull request test coverage quality and completeness, with emphasis on behavioral coverage and real bug prevention.

Fmarzochi/EGC · 24 tokens