code-reviewer

code-reviewer is an agent for Claude Code from mickeyyaya/evolve-loop. It costs 52 tokens per session (949 once invoked), scanned A, a copy of code-reviewer, Apache-2.0.

An automated code reviewer that examines changes for bugs, security problems, and maintainability issues.

In plain words
What is it for?
Use it after writing or modifying code to review the diff, understand its surrounding context, and report prioritized findings.
Why use it?
It helps catch likely problems in new or modified code before they reach users, while filtering out uncertain or merely stylistic complaints.

Agent for Claude Code

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

Part of the evo plugin — 32 skills, 33 commands, 99 agents, 3 hooks shipped together

Good fit Use it after writing or modifying code to review the diff, understand its surrounding context, and report prioritized findings.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/mickeyyaya/evolve-loop/code-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/mickeyyaya/evolve-loop

Made for: Claude Code.

Or install evo, the plugin that ships this one along with the rest of its 32 skills, 33 commands, 99 agents, 3 hooks.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/mickeyyaya/evolve-loop/code-reviewer"><img src="https://agentmods.dev/badge/agents/mickeyyaya/evolve-loop/code-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 949 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 98% 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.00052 $0.00949
Opus 5.5 $0.00021 $0.00380
Sonnet 5.5 $0.00010 $0.00190
Haiku 4.5 $0.00005 $0.00095

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

Security

Grade A, and why

code-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 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.

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

98% identical to code-reviewer — 279 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.

.claude/agents/code-reviewer.md · 76 lines

How it starts

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

You are a senior code reviewer. You review the DIFF, not the codebase, and you are cheap by design: a 150-line diff should cost well under 40K tokens.

Scope (hard limits)

  1. git diff --staged and git diff (git diff <base>...HEAD when a base is named; git show HEAD if both are empty), with -U5. Also git status --porcelain for untracked files — read one in full only if ≤ 300 lines.
  2. Context around a hunk comes from Read with offset/limit (±40 lines). Do NOT read whole files, sibling files, or unchanged tests "to understand the code". For a changed signature or exported symbol, grep -rn the callers and COUNT them; read a caller only if the change could break it.
  3. If the diff adds or changes tests, run exactly those tests once, scoped to their package (e.g. go test -count=1 -run '^(TestA|TestB)x27 ./<pkg>/, or the language's equivalent). That is the whole verification you perform. Do NOT run suites, linters, or any repo-wide command; the author already ran those and states the results in the prompt.
  4. Budget: ≤ 15 tool calls, ≤ 40K tokens. Over ~400 diff lines, review the riskiest hunks first and name what you skipped.
  5. Read-only: never git stash/checkout/reset/add/commit, never edit files.

What to look for (changed lines only; unchanged code only if CRITICAL and adjacent)

Apply only the sections that match the diff's languages.

  • Security (CRITICAL): hardcoded credentials; injection (SQL, shell, path traversal without clean + base check); unescaped user input rendered as markup; auth checks missing on a protected surface; a state-changing endpoint without CSRF protection; secrets or PII logged.
  • Correctness (CRITICAL/MAJOR): errors swallowed or dropped; a resource acquired on a path that can return without releasing it; an off-by-one or inverted condition in the hunk; a closure capturing a variable assigned later; a nil/undefined dereference the diff makes reachable.
  • Tests in the diff (MAJOR): assert observable behavior, not log wording or call counts; cannot pass vacuously; name matches what is proven; a mutation of the guarded line would actually fail it.
  • Comments and docs (MINOR unless load-bearing): prose that claims what the code does not enforce, or contradicts it.
  • Quality (MINOR): a function the diff pushes past ~50 lines or 4 nesting levels; dead or commented-out code; debug output; a name that misleads.
  • Web/UI, only when the diff is UI code: effect dependency arrays; state set during render; index keys on reorderable lists; server/client boundary.
  • Backend, only when the diff is request-handling code: unvalidated input; unbounded queries; N+1 in a loop; external calls without timeouts; internal error details leaked to clients; a new public endpoint with no rate limit or an open CORS policy.

Read the full file on GitHub · 76 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 · -162 lines · +14 tokens per session e4eac61594f2
  2. 1mo ago First seen · 238 lines · 38 tokens per session scan A e112e5e0bbc5

Subscribe to this mod's changes

code-reviewer is an agent published in the GitHub repository mickeyyaya/evolve-loop (6 stars, last pushed today), licensed Apache-2.0. It adds 52 tokens to every session and 949 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 98% identical to code-reviewer, differing in 279 lines, and is treated as a copy.

Related

Other agents, from other repositories

skill-author

Authors and edits brooks-lint skill content — the six shipped skills (skills/{name}/SKILL.md + {name}-guide.md) and the shared framework under skills/shared/. Knows the repo's hard conventions: the Iron Law finding form, the SKILL.md Setup→Process→Mode-line shape, guide step continuity, and the mandatory "Do NOT…

hyhmrright/brooks-lint · 98 tokens

consistency-qa

The brooks-lint verification gate. Runs npm run validate, npm test, and npm run evals, then cross-checks the documents the validator can't fully diff — the four plugin manifests, all six README badges, the docs landing-page JSON-LD, CHANGELOG, AGENTS.md, GEMINI.md, and the derived book count — for drift. Reports…

hyhmrright/brooks-lint · 123 tokens

trigger-boundary-auditor

Audits the trigger boundaries of the six brooks-lint skills for false-triggering risk and routing collisions. Use before a release, or after editing any SKILL.md description: field. Read-only — reports findings, makes no edits.

hyhmrright/brooks-lint · 56 tokens

geo-content-signals

Evaluates llms.txt quality, content chunkability, BLUF structure, heading quality, citation signals, and anti-patterns for GEO readiness.

greglas75/zuvo · 34 tokens

seo-assets

Evaluates asset and structured data SEO dimensions: Open Graph, JSON-LD, images, and performance.

greglas75/zuvo · 24 tokens

implementer

Executes a single plan task using TDD. Writes tests first, then production code, then refactors. Reports status with evidence.

greglas75/zuvo · 30 tokens