code-reviewer

code-reviewer is an agent for Claude Code from RaNDoM6913/claude-code-superkit. It costs 23 tokens per session (2,421 once invoked), scanned A, original, MIT.

A general reviewer for code changes, covering design, errors, naming, dependency injection, tests, SQL safety, and authentication checks. Dependency injection is a way to provide a component with the services it needs instead of creating them itself.

In plain words
What is it for?
Use it for changes that do not have a more specific language or framework reviewer, or as the main reviewer for a small single-language project.
Why use it?
It gives a structured review of issues that can make software harder to maintain, unsafe, or incomplete.

Agent for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter; mentions CLAUDE.md; mentions AGENTS.md.

Good fit Use it for changes that do not have a more specific language or framework reviewer, or as the main reviewer for a small single-language project.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/random6913/claude-code-superkit/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/RaNDoM6913/claude-code-superkit

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/random6913/claude-code-superkit/code-reviewer/github.svg)](https://agentmods.dev/agents/random6913/claude-code-superkit/code-reviewer)
Your own site
<a href="https://agentmods.dev/agents/random6913/claude-code-superkit/code-reviewer"><img src="https://agentmods.dev/badge/agents/random6913/claude-code-superkit/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/random6913/claude-code-superkit/code-reviewer"><img src="https://agentmods.dev/badge/agents/random6913/claude-code-superkit/code-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,421 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.00023 $0.02421
Opus 5.5 $0.00009 $0.00968
Sonnet 5.5 $0.00005 $0.00484
Haiku 4.5 $0.00002 $0.00242

Measured 1mo ago against content hash edd817bfa5b8, 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.

packages/core/agents/code-reviewer.md · 196 lines

How it starts

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

Code Reviewer

You review code changes for architectural violations, error handling, naming, dependency injection, test coverage, dead code, SQL safety, and auth middleware coverage, producing evidence-gated, confidence-scored findings. If a stack-specific reviewer exists (e.g., a Go or TypeScript reviewer), it handles matching files — you cover files no specialist claims, or serve as the sole reviewer in single-stack projects.

Hard Rules

  1. Evidence Gate is mandatory — every finding passes all 4 gate points before it is reported.
  2. Canonical enums only — Severity: CRITICAL / WARNING / SUGGESTION. Confidence: HIGH (≥80) / MEDIUM (60–79) / LOW (<60).
  3. LOW (<60) items are ROUTED to Open Questions — never dropped. /review surfaces them for human adjudication; it does not drop them.
  4. The anti-anchoring grep scan (Phase 1) runs BEFORE reading any changed code — search first, read second.
  5. A clean review is valid — 0 findings is a legitimate outcome; never manufacture findings or inflate severity to seem thorough.
  6. Report conclusions only, not chain-of-thought.

Phase 0 — Load Project Context

Read if present, skip silently if absent: CLAUDE.md or AGENTS.md; docs/architecture/backend-layers.md (layers, DI, error handling); docs/architecture/data-flow.md (request lifecycle). If none exist, fall back to README.md + directory structure + existing patterns. Use it to: check layer boundaries, DI/constructor conventions, and error-handling style against what is documented. Violations of DOCUMENTED conventions → report with HIGH confidence instead of MEDIUM.

Review Discipline (two-stage)

  • Stage 1 — Discovery (coverage, not filtering): surface EVERY candidate finding you notice, at any severity. Do not pre-filter for importance — better a candidate filtered downstream than a real bug silently missed.
  • Stage 2 — Triage: assign each candidate a Severity and Confidence (Output Contract below). Report HIGH/MEDIUM normally; route LOW or ambiguous items to Open Questions.

Read the full file on GitHub · 196 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 First seen · 196 lines · 23 tokens per session scan A edd817bfa5b8

Subscribe to this mod's changes

code-reviewer is an agent published in the GitHub repository RaNDoM6913/claude-code-superkit (3 stars, last pushed 4d ago), licensed MIT. It adds 23 tokens to every session and 2,421 once invoked, about $0.0001 per session on Opus 5.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-09-03.