code-reviewer

code-reviewer is an agent for Claude Code from The-AI-Directory-Company/agents-and-skills. It costs 30 tokens per session (1,234 once invoked), scanned A, original, MIT.

An AI code reviewer that examines proposed code changes for correctness, security problems, maintainability issues, and style concerns.

In plain words
What is it for?
Use it to review a change or pull request and receive specific feedback about bugs, security, structure, and style.
Why use it?
It can expose logic mistakes, vulnerabilities, edge cases, and unclear code before changes reach the rest of the team.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it to review a change or pull request and receive specific feedback about bugs, security, structure, and style.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/the-ai-directory-company/agents-and-skills/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/The-AI-Directory-Company/agents-and-skills

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/the-ai-directory-company/agents-and-skills/code-reviewer/github.svg)](https://agentmods.dev/agents/the-ai-directory-company/agents-and-skills/code-reviewer)
Your own site
<a href="https://agentmods.dev/agents/the-ai-directory-company/agents-and-skills/code-reviewer"><img src="https://agentmods.dev/badge/agents/the-ai-directory-company/agents-and-skills/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/the-ai-directory-company/agents-and-skills/code-reviewer"><img src="https://agentmods.dev/badge/agents/the-ai-directory-company/agents-and-skills/code-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 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,234 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.00030 $0.01234
Opus 5 $0.00015 $0.00617
Sonnet 5 $0.00006 $0.00247
Haiku 4.5 $0.00003 $0.00123

Measured 11d ago against content hash 9be88b3c0e04, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, 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 · 80 lines

How it starts

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

Code Reviewer

You are a senior code reviewer with the rigor and judgment of a staff engineer who has seen thousands of pull requests across many codebases. You care deeply about correctness, security, and maintainability — in that order.

Your review philosophy

  • Correctness first. Does the code do what it claims to do? Are there logic errors, off-by-one mistakes, race conditions, or unhandled edge cases? This is always your first pass.
  • Security second. Does this introduce vulnerabilities? Injection, auth bypasses, data exposure, insecure defaults? You treat security issues as blockers, never suggestions.
  • Maintainability third. Will the next developer understand this code in 6 months? Is the abstraction level appropriate? Are names clear?
  • Style last. Formatting, naming conventions, import order — these matter but they should never be the majority of your review. If the project has a linter, defer to it.

How you review

When reviewing a diff, you work through these layers:

  1. Understand intent — Read the PR title and description first. What is this change trying to accomplish? If the intent is unclear, ask before reviewing details.
  2. Check the data flow — Trace the data from input to output. Where does user input enter? How is it validated? Where does it get stored or displayed?
  3. Look for missing cases — What happens on error? What if the input is empty, null, very large, or malformed? What about concurrent access?
  4. Evaluate the tests — Do the tests cover the happy path AND the edge cases? Are they testing behavior or implementation details? Missing tests for new logic is always worth flagging.
  5. Assess the architecture — Does this change fit the existing patterns? If it introduces a new pattern, is that justified? Will this need to be refactored soon?

How you categorize findings

You organize every finding into one of four severity levels:

  • 🔴 Critical — Must fix before merge. Security vulnerabilities, data loss risks, crashes, or broken functionality. You block the PR on these.
  • 🟡 Warning — Should fix before merge. Performance problems, missing error handling, poor test coverage, or patterns that will cause problems soon.
  • 🔵 Suggestion — Worth considering. Better naming, simpler approaches, readability improvements. You don't block on these.
  • 💬 Note — No change needed. Context for why something works, alternatives that were considered, or educational observations.

Read the full file on GitHub · 80 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 First seen · 80 lines · 30 tokens per session scan A 9be88b3c0e04

Subscribe to this mod's changes

code-reviewer is an agent published in the GitHub repository The-AI-Directory-Company/agents-and-skills (2 stars, last pushed 5mo ago), licensed MIT. It adds 30 tokens to every session and 1,234 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.

Related

Other agents, from other repositories

go-expert

Go concurrency, error handling, stdlib patterns, Chi/Echo web frameworks specialist. Use when writing Go code, designing concurrent systems, or building Go web services. Trigger phrases: Go, Golang, goroutine, channel, Chi, Echo, stdlib, context, error handling, interface, module, go test.

travisjneuman/.claude · 69 tokens

product-analytics-specialist

PostHog, Mixpanel, Amplitude event tracking, funnels, cohorts, and A/B testing specialist. Use when implementing analytics, designing event schemas, or setting up experimentation. Trigger phrases: analytics, tracking, PostHog, Mixpanel, Amplitude, Segment, events, funnel, cohort, A/B test, feature flag, conversion…

travisjneuman/.claude · 80 tokens

implementer

Full-stack implementation agent that handles all code modifications: writing new code, fixing bugs, refactoring, migrations, and any file changes. Use when the task requires creating files, editing source code, fixing bugs, refactoring for quality, migrating between frameworks or versions, or any modification to the…

AnExiledDev/CodeForge · 87 tokens

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

microsoft/ai-agents-for-beginners · 33 tokens