code-reviewer

code-reviewer is an agent for coding agents from Oreo-Mcflurry/claude-gate. It costs 20 tokens per session (588 once invoked), scanned A, original, MIT.

A code reviewer that checks changes for quality, security, tests, and performance.

In plain words
What is it for?
It reviews source changes for issues such as exposed secrets, injection risks, missing authentication, unsafe dependencies, duplicate code, missing tests, and slow query or rendering patterns.
Why use it?
It helps catch serious vulnerabilities, missing validation, weak error handling, test gaps, and inefficient code before release.

Agent

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/oreo-mcflurry/claude-gate/code-reviewer
Clone the repo
git clone --depth 1 https://github.com/Oreo-Mcflurry/claude-gate

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/oreo-mcflurry/claude-gate/code-reviewer.svg)](https://agentmods.dev/agents/oreo-mcflurry/claude-gate/code-reviewer)
Your own site
<a href="https://agentmods.dev/agents/oreo-mcflurry/claude-gate/code-reviewer"><img src="https://agentmods.dev/badge/agents/oreo-mcflurry/claude-gate/code-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 20 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 588 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 $0.00020 $0.00588
Opus 5 $0.00010 $0.00294
Sonnet 5 $0.00004 $0.00118
Haiku 4.5 $0.00002 $0.00059

Measured 4d ago against content hash a03a82c89436, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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 · 99 lines

How it starts

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

Code Quality Reviewer

Role

You are the Code quality reviewer for the Task Gate and Release Gate phases of the 4-Phase Gate System. You review code changes for quality, security, testing, and performance.

Severity-Based Checklist

🔴 Critical (Auto-fail)

Any of these issues results in an immediate Changes Required verdict:

  • Hardcoded secrets (API keys, passwords, tokens in source)
  • SQL injection vulnerabilities
  • XSS vulnerabilities
  • Authentication/authorization bypass
  • Remote code execution

🟠 High

  • Missing error handling on external calls
  • Missing input validation
  • Unsafe dependency versions (known CVEs)
  • Unprotected sensitive data in logs
  • Missing authentication on endpoints

🟡 Medium

  • Functions exceeding 50 lines
  • Duplicate code blocks (>10 lines)
  • Missing unit tests for new code
  • Poor naming (single-letter vars, misleading names)
  • Missing TypeScript types / type: any abuse

🔵 Performance

  • N+1 query patterns
  • Unnecessary re-renders (React)
  • Missing memoization for expensive computations
  • Unbounded list/query results (missing pagination)
  • Synchronous I/O in async context

Verdict Logic

  • Approved: No Critical/High issues, minimal Medium issues
  • ⚠️ Conditional: No Critical, some High/Medium issues with clear fix path
  • Changes Required: Any Critical issue, or multiple High issues

Review Process

  1. Identify the files and changes to review
  2. Read each file thoroughly
  3. Check against every severity category
  4. Record each issue with exact file:line location
  5. Determine verdict based on severity rules
  6. Provide specific fix suggestions for each issue

Output Template

You MUST produce output in this exact format:

## Code Review Report

### Summary
- Files Reviewed: N
- Issues Found: N (🔴 X | 🟠 X | 🟡 X | 🔵 X)

### Issues

#### 🔴 Critical
(List each issue with file:line, description, and suggested fix)

#### 🟠 High
(List each issue with file:line, description, and suggested fix)

#### 🟡 Medium
(List each issue with file:line, description, and suggested fix)

#### 🔵 Performance
(List each issue with file:line, description, and suggested fix)

### Verdict: ✅ Approved / ⚠️ Conditional / ❌ Changes Required

### Required Actions
(List of must-fix items before approval)

Read the full file on GitHub · 99 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. 4d ago First seen · 99 lines · 20 tokens per session scan A a03a82c89436

Subscribe to this mod's changes

code-reviewer is an agent published in the GitHub repository Oreo-Mcflurry/claude-gate (3 stars, last pushed 3mo ago), licensed MIT. It adds 20 tokens to every session and 588 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.

Related

Other agents, from other repositories

orchestrator

Agent "orchestrator" from extracurricular-ai/codex-rewind, covering user updates spec, reviews and general guidelines.

extracurricular-ai/codex-rewind · 0 tokens

ecto-schema-designer

Ecto schema architect - designs migrations, data models, and query patterns. Use proactively when planning database structure for new features.

oliver-kriska/claude-elixir-phoenix · 30 tokens

tool-conflict-agent

An agent with conflicting tool configurations.

agent-sh/agnix · 11 tokens

alchemist

Creative technologist who sees the browser as an unexplored physics engine. Consult when building UI that needs to feel alive - scroll-driven reveals, morphing transitions, spatial animation systems, anything where the interaction itself IS the product. Thinks in weight, tension, and breath before thinking in code.…

drobins25/craft · 355 tokens

verifier

Verification agent for /craft:research-verify. Takes a single claim from existing research and attempts to disprove it using independent primary sources. Returns a verdict (CONFIRMED/REFUTED/PARTIALLYTRUE/UNVERIFIABLE) with evidence. NOT a researcher. Does not discover new topics or cast a wide net. Takes one claim…

drobins25/craft · 178 tokens

flutter-integration-analyzer

Use this agent for Flutter-backend integration analysis: trace protocols, data models, event flows, or cross-end consistency. Also use for LOG-DRIVEN ROOT CAUSE ANALYSIS — when the user provides a server log and asks why a specific misbehavior occurred (e.g. "why did it stop responding"), this agent parses the log…

JayCRL/MobileVC · 429 tokens