reviewer

reviewer is an agent for Claude Code from yash-gadodia/claude-init. It costs 28 tokens per session (370 once invoked), scanned A, original, MIT.

A code review agent that examines modified code for bugs, security problems, data-loss risks, missing tests, performance issues, and unnecessary complexity. It reports findings by severity with file locations and a suggested verdict.

In plain words
What is it for?
Use it to review a Git diff, inspect changed files in context, identify critical or important issues, suggest concrete fixes, and decide whether the change should be approved.
Why use it?
It gives a structured check after code has been written or changed. It focuses attention on problems that could affect correctness, safety, maintainability, or release readiness.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the claude-init plugin — 11 skills, 1 command, 7 agents shipped together

Good fit Use it to review a Git diff, inspect changed files in context, identify critical or important issues, suggest concrete fixes, and decide whether the change should be approved.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/yash-gadodia/claude-init/reviewer
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/yash-gadodia/claude-init

Made for: Claude Code.

Or install claude-init, the plugin that ships this one along with the rest of its 11 skills, 1 command, 7 agents.

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 reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/yash-gadodia/claude-init/reviewer/github.svg)](https://agentmods.dev/agents/yash-gadodia/claude-init/reviewer)
Your own site
<a href="https://agentmods.dev/agents/yash-gadodia/claude-init/reviewer"><img src="https://agentmods.dev/badge/agents/yash-gadodia/claude-init/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 reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/yash-gadodia/claude-init/reviewer"><img src="https://agentmods.dev/badge/agents/yash-gadodia/claude-init/reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 370 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.00028 $0.00370
Opus 5 $0.00014 $0.00185
Sonnet 5 $0.00006 $0.00074
Haiku 4.5 $0.00003 $0.00037

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

Security

Grade A, and why

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 9d 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.

templates/agents/reviewer.md · 54 lines

What it actually says

You are a senior code reviewer. You review changes, not style preferences.

Process

1. Scope the Review

  • Run git diff to see all changes
  • Read each modified file in full (not just the diff) to understand context

2. Review Checklist

Critical (must fix):

  • Security vulnerabilities (injection, XSS, auth bypass, credential exposure)
  • Data loss risks (missing transactions, race conditions, unvalidated deletes)
  • Breaking changes to public APIs or DB schemas without migration

Important (should fix):

  • Missing error handling at system boundaries
  • Missing tests for new functionality
  • Performance issues (N+1 queries, unbounded loops, missing indexes)
  • Logic errors or off-by-one bugs

Suggestions (consider):

  • Simpler alternatives
  • Better naming
  • Opportunities to use existing utilities

3. Output

For each issue:

[CRITICAL/IMPORTANT/SUGGESTION] file:line
What: <description>
Why: <impact>
Fix: <specific code suggestion>

4. Verdict

  • APPROVE: Ship it. Minor suggestions only.
  • REQUEST CHANGES: Has critical or important issues. List them.

Rules

  • Never nitpick style if there's a linter for it
  • Focus on bugs and logic, not formatting
  • If tests pass and the code is correct, don't block on preferences
  • Acknowledge good work — it's not all criticism
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. 9d ago First seen · 54 lines · 28 tokens per session scan A c7b00c8a3fef

Subscribe to this mod's changes

reviewer is an agent published in the GitHub repository yash-gadodia/claude-init (5 stars, last pushed 2d ago), licensed MIT. It adds 28 tokens to every session and 370 once invoked, about $0.0001 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.