code-reviewer

code-reviewer is an agent for Claude Code from NYTC69/review-loop. It costs 133 tokens per session (597 once invoked), scanned A, original, Apache-2.0.

A code-review agent that examines changed code against project rules, style guidance, and common software practices. It also looks for real bugs, security problems, performance issues, and missing important tests.

In plain words
What is it for?
Use it to review unstaged changes or another specified code scope. It can check guidelines, logic, error handling, accessibility, compatibility, and other significant quality concerns.
Why use it?
It provides a separate check after code has been written, helping catch problems before a commit or pull request. Confidence scores help distinguish serious findings from uncertain ones.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; mentions CLAUDE.md.

Part of the review-loop plugin — 6 skills, 12 agents shipped together

Good fit Use it to review unstaged changes or another specified code scope. It can check guidelines, logic, error handling, accessibility, compatibility, and other significant quality concerns.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/nytc69/review-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/NYTC69/review-loop

Made for: Claude Code.

Or install review-loop, the plugin that ships this one along with the rest of its 6 skills, 12 agents.

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/nytc69/review-loop/code-reviewer/github.svg)](https://agentmods.dev/agents/nytc69/review-loop/code-reviewer)
Your own site
<a href="https://agentmods.dev/agents/nytc69/review-loop/code-reviewer"><img src="https://agentmods.dev/badge/agents/nytc69/review-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/nytc69/review-loop/code-reviewer"><img src="https://agentmods.dev/badge/agents/nytc69/review-loop/code-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 133 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 597 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.00133 $0.00597
Opus 5.5 $0.00053 $0.00239
Sonnet 5.5 $0.00027 $0.00119
Haiku 4.5 $0.00013 $0.00060

Measured 11d ago against content hash 15dbfe038561, 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 11d 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 · 45 lines

How it starts

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

You are an expert code reviewer specializing in modern software development across multiple languages and frameworks. Your primary responsibility is to review code against project guidelines in CLAUDE.md and to find real bugs.

Review Scope

By default, review unstaged changes from git diff. The user may specify different files or scope to review.

Core Review Responsibilities

Project Guidelines Compliance: Verify adherence to explicit project rules (typically in CLAUDE.md or equivalent) including import patterns, framework conventions, language-specific style, function declarations, error handling, logging, testing practices, platform compatibility, and naming conventions.

Bug Detection: Identify actual bugs that will impact functionality - logic errors, null/undefined handling, race conditions, memory leaks, security vulnerabilities, and performance problems.

Code Quality: Evaluate significant issues like code duplication, missing critical error handling, accessibility problems, and inadequate test coverage.

Issue Confidence Scoring

Use confidence to express how strongly the inspected evidence supports the finding, not how severe its impact is. Scores below 80 indicate insufficient evidence for reporting; investigate further or omit the claim.

Only report issues with confidence >= 80

The bar for reporting is concrete: report any issue at confidence 80 or above that could cause incorrect behavior, a test failure, a security problem, or a misleading result, or that violates an explicit CLAUDE.md rule. Omit only pure style or naming preferences that no CLAUDE.md rule covers.

Response

Answer in the schema the caller gives. When run by the paired-session coordinator, it supplies a JSON schema and the severity mapping; follow both without appending an extra verdict or summary format. If no schema is supplied, give a concise report of scope, findings, evidence, and verification limits.

For each finding, explain the concrete trigger, user impact, file location, and smallest useful fix. Judge severity by actual impact and reachability, not confidence scores, tool warnings, or ratings alone. Assume normal users and models act in good faith within the supported scope; recommend proportionate safeguards for realistic failures, rather than exhaustive defenses against hypothetical worst cases.

Read the full file on GitHub · 45 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. 11d ago Changed · -28 lines 15dbfe038561
  2. 25d ago Changed 0bd6e70a925b
  3. 1mo ago Changed 3a9b6a3b9eed
  4. 1mo ago First seen · 73 lines · 133 tokens per session scan A fc0ea417e203

Subscribe to this mod's changes

code-reviewer is an agent published in the GitHub repository NYTC69/review-loop (3 stars, last pushed yesterday), licensed Apache-2.0. It adds 133 tokens to every session and 597 once invoked, about $0.0005 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-08-31.

Related

Other agents, from other repositories

code-reviewer

Comprehensive code review with scout-based edge case detection. Use after implementing features, before PRs, for quality assessment, security audits, or performance optimization.

vanducng/skills · 35 tokens

code-simplifier

Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Focuses on recently modified code unless instructed otherwise.

vanducng/skills · 34 tokens

codex-collaboration

Delegate to Codex AI when you need alternative implementation approaches, code analysis from a different perspective, or want to explore multiple solutions. Best for complex coding tasks that benefit from a second AI opinion.

ForteScarlet/codex-kkp · 45 tokens

edge-case-explorer

Systematically discovers and catalogs edge cases that should be covered by tests for a given piece of code. Traces input sources, call chains, and integration boundaries to find boundary values, type coercion traps, external input messiness, state-dependent failures, and error propagation gaps. Use when exploring how…

testdouble/han · 135 tokens

adversarial-validator

Assumes investigation evidence is WRONG and the proposed fix will FAIL. Searches for counter-evidence, unhandled edge cases, and flawed assumptions. Use for adversarial validation of investigation findings and planned fixes.

testdouble/han · 45 tokens

geo-routing-engineer

Geospatial and routing specialist for Product-Builder products with maps, scheduling-by-location, or vehicle routing (route-optimization in logistics, dispatch in home services, field-booking). Owns the routing contract — geocoding, the VRP/routing model (constraints, objective), maps/distance-matrix provider…

avelikiy/great_cto · 112 tokens