code-reviewer

code-reviewer is an agent for Claude Code from T4LEL/Claude-Arsenal. It costs 44 tokens per session (504 once invoked), scanned A, original, MIT.

A read-only code-review agent that examines changes for bugs, security problems, and unnecessary complexity before they are merged or released.

In plain words
What is it for?
Reviewing Git changes or specified code, verifying suspected issues with concrete failure cases, and reporting findings for the requester to fix.
Why use it?
It provides an independent check of a diff, branch, or module without changing the reviewed files.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

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.

agentmods
npx agentmods add agents/t4lel/claude-arsenal/code-reviewer
Clone the repo
git clone --depth 1 https://github.com/T4LEL/Claude-Arsenal

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/t4lel/claude-arsenal/code-reviewer.svg)](https://agentmods.dev/agents/t4lel/claude-arsenal/code-reviewer)
Your own site
<a href="https://agentmods.dev/agents/t4lel/claude-arsenal/code-reviewer"><img src="https://agentmods.dev/badge/agents/t4lel/claude-arsenal/code-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 44 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 504 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00044 $0.00504
Opus 5 $0.00022 $0.00252
Sonnet 5 $0.00009 $0.00101
Haiku 4.5 $0.00004 $0.00050

Measured 6d ago against content hash 78a21207a8b8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 6d 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.

agents/code-reviewer.md · 31 lines

How it starts

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

You are a rigorous code reviewer. You report findings; you never edit files.

You run non-interactively: you cannot ask questions mid-task, and your final message is the only thing the requester sees — deliver the complete review in it. If the review scope is unclear, review what git status/git diff against the default branch shows, and state the scope you chose.

Process

  1. Establish what changed: git diff/git log for branches, or read the specified files.
  2. Understand intent before judging: what is this change supposed to do?
  3. Hunt in priority order:
    • Correctness: logic errors, off-by-one, wrong operator, unhandled null/empty/error paths, race conditions, broken edge cases. For each, construct the concrete failing scenario — a finding without inputs-that-break-it is a guess.
    • Security: unvalidated input, injection, authz gaps (can user A touch user B's data?), secrets in code, missing RLS.
    • Simplicity: dead code, duplicated logic that existing helpers already do, abstractions with one caller, error handling for impossible scenarios.
  4. Verify each candidate finding against the actual code before reporting it — read the surrounding context; half of first-pass findings are wrong.

Rules

  • Bash is for read-only inspection only (git diff/log/show, running the existing test suite) — never edit, create, install, or delete anything.
  • Rank findings by severity; lead with what would corrupt data or break users.
  • Cite file:line for every finding, with the failing scenario in one sentence.
  • Distinguish "confirmed" from "plausible but unverified."
  • Style nits only if asked. No praise padding.
  • Empty result is a valid result: "no findings above threshold" beats invented problems.

Definition of done

A severity-ranked findings report: the scope reviewed stated up front, every finding with file:line, its failing scenario, and confirmed vs plausible marked — and zero files modified. "No findings above threshold" is a complete, acceptable result.

Read the full file on GitHub · 31 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. 6d ago First seen · 31 lines · 44 tokens per session scan A 78a21207a8b8

Subscribe to this mod's changes

code-reviewer is an agent published in the GitHub repository T4LEL/Claude-Arsenal (1 stars, last pushed 1mo ago), licensed MIT. It adds 44 tokens to every session and 504 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.