review-agent

review-agent is an agent for Claude Code from vibeeval/vibecosystem. It costs 25 tokens per session (1,862 once invoked), scanned A, a copy of review-agent, MIT.

A review agent that compares the intended implementation plan with session activity and the final code changes. A git diff is the record of what changed in a repository.

In plain words
What is it for?
Use it after implementation to inspect plans, session traces, and git diffs, then check whether the delivered work matches the requested phases and requirements.
Why use it?
It helps reveal requirements that were missed, work that differs from the plan, or gaps between what an agent did and what the code actually contains.

Agent for Claude Code

Written for Claude Code: $CLAUDE_PROJECT_DIR variable. Also seen: model in frontmatter.

Good fit Use it after implementation to inspect plans, session traces, and git diffs…

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/vibeeval/vibecosystem/review-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/vibeeval/vibecosystem

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/vibeeval/vibecosystem/review-agent.svg)](https://agentmods.dev/agents/vibeeval/vibecosystem/review-agent)
Your own site
<a href="https://agentmods.dev/agents/vibeeval/vibecosystem/review-agent"><img src="https://agentmods.dev/badge/agents/vibeeval/vibecosystem/review-agent.svg" alt="Measured on agentmods" height="20"></a>
Per session 25 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,862 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 100% copy Near-identical to another mod 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.00025 $0.01862
Opus 5 $0.00013 $0.00931
Sonnet 5 $0.00005 $0.00372
Haiku 4.5 $0.00003 $0.00186

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

Security

Grade A, and why

review-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 3d 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.

Origin

This is a copy

100% identical to review-agent — 556 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

agents/review-agent.md · 279 lines

How it starts

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

Review Agent

You are a specialized review agent. Your job is to verify that an implementation matches its plan by comparing three sources:

  1. PLAN = Source of truth for requirements (what should happen)
  2. SESSION DATA = Braintrust traces (what actually happened)
  3. CODE DIFF = Git changes (what code was written)

When to Use

This agent is the 4th step in the agent flow:

plan-agent → validate-agent → implement-agent → review-agent

Invoke after implementation is complete but BEFORE creating a handoff.

Step 1: Gather the Three Sources

1.1 Find the Plan

# Find today's plans
ls -la $CLAUDE_PROJECT_DIR/thoughts/shared/plans/

# Or check the ledger for the current plan
grep -A5 "Plan:" $CLAUDE_PROJECT_DIR/CONTINUITY_*.md

Read the plan completely - extract all requirements/phases.

1.2 Query Braintrust Session Data

# Get last session summary
uv run python -m runtime.harness scripts/braintrust_analyze.py --last-session

# Replay full session (shows tool sequence)
uv run python -m runtime.harness scripts/braintrust_analyze.py --replay <session-id>

# Detect any loops or issues
uv run python -m runtime.harness scripts/braintrust_analyze.py --detect-loops

1.3 Get Git Diff

# What changed since last commit (uncommitted work)
git diff HEAD

# Or diff from specific commit
git diff <commit-hash>..HEAD

# Show file summary
git diff --stat HEAD

1.4 Run Automated Verification

# Run comprehensive checks from project root
cd $(git rev-parse --show-toplevel)

# Standard verification commands (adjust per project)
make check test 2>&1 || echo "make check/test failed"
uv run pytest 2>&1 || echo "pytest failed"
uv run mypy src/ 2>&1 || echo "type check failed"

1.5 Run Code Quality Checks (qlty)

# Lint changed files
uv run python -m runtime.harness scripts/qlty_check.py

# Get complexity metrics
uv run python -m runtime.harness scripts/qlty_check.py --metrics

# Find code smells
uv run python -m runtime.harness scripts/qlty_check.py --smells

Read the full file on GitHub · 279 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. 3d ago First seen · 279 lines · 25 tokens per session scan A 0f54cc8a6a56

Subscribe to this mod's changes

review-agent is an agent published in the GitHub repository vibeeval/vibecosystem (530 stars, last pushed 28d ago), licensed MIT. It adds 25 tokens to every session and 1,862 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to review-agent, differing in 556 lines, and is treated as a copy.

Related

Other agents, from other repositories

afc-pr-analyst

PR deep analysis worker — invoked during /afc:triage for deep PR verification. Performs build/test/lint verification in an isolated worktree for triage.

jhlee0409/all-for-claudecode · 40 tokens

cavecrew-reviewer

Diff/branch/file reviewer. One line per finding, severity-tagged, no praise, no scope creep. Output format path:line: : . . Use for "review this PR", "review my diff", "audit this file". Skips formatting nits unless they change meaning.

stevesolun/ctx · 75 tokens

architecture-analyst

Analyzes system architecture, identifies patterns/anti-patterns, and provides strategic recommendations. Use for architectural reviews, refactoring planning, or system design decisions.

travisjneuman/.claude · 36 tokens

code-simplifier

Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Applies safe local simplifications (local renames, dead code, unnecessary nesting) directly and proposes structural changes for approval. Focuses on recently modified code unless instructed otherwise; not for…

oprogramadorreal/optimus-claude · 66 tokens

security-auditor

Use when reviewing security-sensitive code paths or running OWASP / supply-chain checks. Dispatched by code-review-loop on sensitive paths (auth, payments, crypto, users, sessions, tokens). Returns findings with severity (Critical / High / Medium / Low) and OWASP category. Context: A diff touches the auth middleware.…

duthaho/claudekit · 164 tokens

security-auditor

Audit code for security vulnerabilities, check for leaked secrets, validate auth boundaries.

Koroqe/claude-code-sdlc · 19 tokens