code-reviewer

code-reviewer is an agent for Claude Code from mickeyyaya/evolve-loop. It costs 52 tokens per session (1,122 once invoked), scanned C, 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 AGENTS.md.

Part of the evo plugin — 37 skills, 38 commands, 107 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 37 skills, 38 commands, 107 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 1,122 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.01122
Opus 5.5 $0.00021 $0.00449
Sonnet 5.5 $0.00010 $0.00224
Haiku 4.5 $0.00005 $0.00112

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

Security

Grade C, and why

code-reviewer scanned grade C 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 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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- GENERATED:instructions BEGIN from agents/evolve-diff-code-reviewer.md by `evolve skills generate`; edit the source, not this region -->
Origin

This is a copy

98% identical to code-reviewer — 283 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 · 78 lines

How it starts

The opening of the file, as written. The whole thing — 78 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 must cost well under 40K tokens.

Scope (hard limits)

  1. Run git diff --staged and git diff with -U5. Use git diff <base>...HEAD when the input names a base, and git show HEAD if both are empty. Also run git status --porcelain for untracked files. Read an untracked file in full only if it has 300 lines or fewer.
  2. For the context around a hunk, read only the 40 lines above and below it. 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 can break it.
  3. If the diff adds or changes tests, run exactly those tests once, in their package. For example: go test -count=1 -run '^(TestA|TestB)$' ./<pkg>/, or the equivalent of the language. That is all the verification you do. Do NOT run suites, linters, or any command for the whole repository. The author already ran those and states the results in the input.
  4. Budget: 15 tool calls or fewer, 40K tokens or fewer. Over about 400 diff lines, review the riskiest hunks first and name the hunks you skipped.
  5. Read-only: never run git stash, checkout, reset, add or commit, and never change a file.

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

Apply only the sections that match the languages of the diff.

  • Security (CRITICAL): hardcoded credentials; injection (SQL, shell, or path traversal without a clean and a base check). Also unescaped user input rendered as markup, and a missing auth check on a protected surface. Also a state-changing endpoint without CSRF protection, and secrets or PII in a log.
  • Correctness (CRITICAL/MAJOR): errors swallowed or dropped; a resource acquired on a path that can return without its release. Also an off-by-one or inverted condition in the hunk, and a closure that captures a variable assigned later. Also a nil or undefined dereference that the diff makes reachable.
  • Tests in the diff (MAJOR): each test asserts observable behavior, not log wording or call counts. It cannot pass vacuously, and its name matches what it proves. A mutation of the guarded line makes it fail.
  • Comments and docs (MINOR unless load-bearing): prose that claims what the code does not enforce, or contradicts it.
  • Quality (MINOR): a function that the diff pushes past about 50 lines or 4 nesting levels. Also dead or commented-out code, debug output, and 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. Also internal error details leaked to clients, and a new public endpoint with no rate limit or an open CORS policy.

Read the full file on GitHub · 78 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 Changed · +2 lines a1c0dc8fc62c
  2. 24d ago Changed · -3 lines 5553f214205e
  3. 1mo ago Changed · +3 lines scan A → C 908042b2f2d2
  4. 2mo ago Changed · -162 lines · +14 tokens per session e4eac61594f2
  5. 2mo 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 (8 stars, last pushed today), licensed Apache-2.0. It adds 52 tokens to every session and 1,122 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 1 finding (hidden instructions). It is 98% identical to code-reviewer, differing in 283 lines, and is treated as a copy.

Related

code-reviewer compared with agents from other repositories

code-reviewer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
code-reviewermickeyyaya/evolve-loopAgent8todayApache-2.0C52Claude Code
skill-authorhyhmrright/brooks-lintAgent1.6kyesterdayMITA98Claude Code
consistency-qahyhmrright/brooks-lintAgent1.6kyesterdayMITA123Claude Code
trigger-boundary-auditorhyhmrright/brooks-lintAgent1.6kyesterdayMITA56Claude Code
geo-content-signalsgreglas75/zuvoAgent7todayMITA34Claude Code
seo-assetsgreglas75/zuvoAgent7todayMITA24Claude Code
implementergreglas75/zuvoAgent7todayMITA30Claude Code