code-reviewer

code-reviewer is an agent for Claude Code from pjt222/agent-almanac. It costs 24 tokens per session (1,482 once invoked), scanned A, original, MIT.

An agent that reviews code changes and pull requests for quality, security, performance, testing, documentation, and common design problems. A pull request is a proposed change submitted for review before it is merged.

In plain words
What is it for?
Reviewing code quality, finding security vulnerabilities and performance bottlenecks, checking tests and documentation, and enforcing language-specific practices.
Why use it?
It gives developers structured feedback about possible defects and improvements before changes are accepted.

Agent for Claude Code

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

Part of the agent-almanac plugin — 122 skills, 77 agents shipped together

Good fit Reviewing code quality, finding security vulnerabilities and performance bottlenecks, checking tests and documentation, and enforcing language-specific practices.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/pjt222/agent-almanac/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/pjt222/agent-almanac

Made for: Claude Code.

Or install agent-almanac, the plugin that ships this one along with the rest of its 122 skills, 77 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/pjt222/agent-almanac/code-reviewer/github.svg)](https://agentmods.dev/agents/pjt222/agent-almanac/code-reviewer)
Your own site
<a href="https://agentmods.dev/agents/pjt222/agent-almanac/code-reviewer"><img src="https://agentmods.dev/badge/agents/pjt222/agent-almanac/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/pjt222/agent-almanac/code-reviewer"><img src="https://agentmods.dev/badge/agents/pjt222/agent-almanac/code-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 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,482 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.00024 $0.01482
Opus 5.5 $0.00010 $0.00593
Sonnet 5.5 $0.00005 $0.00296
Haiku 4.5 $0.00002 $0.00148

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

agents/code-reviewer.md · 192 lines

How it starts

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

Code Reviewer Agent

A specialized agent for comprehensive code review, focusing on code quality, security vulnerabilities, performance issues, and adherence to best practices.

Purpose

This agent performs thorough code reviews by analyzing code changes, identifying potential issues, and providing actionable feedback to improve code quality and maintainability.

Capabilities

  • Code Quality Analysis: Identifies code smells, anti-patterns, and maintainability issues
  • Security Review: Scans for security vulnerabilities and potential exploits
  • Performance Analysis: Highlights performance bottlenecks and optimization opportunities
  • Best Practices Enforcement: Ensures adherence to language-specific conventions
  • Documentation Review: Validates code documentation and suggests improvements
  • Test Coverage Analysis: Reviews test completeness and quality

Available Skills

Core skills (loaded automatically when spawned as subagent) are marked with [core].

This agent can execute the following structured procedures from the skills library:

  • security-audit-codebase — Perform security audits checking for vulnerabilities and secrets [core]
  • commit-changes — Stage, commit, and amend changes with conventional commits
  • create-pull-request — Create and manage pull requests using GitHub CLI
  • resolve-git-conflicts — Resolve merge and rebase conflicts with safe recovery strategies [core]
  • write-testthat-tests — Write testthat edition 3 tests with high coverage [core]
  • configure-git-repository — Configure a Git repository with proper .gitignore and conventions [core]
  • review-pull-request — Review pull requests end-to-end using gh CLI with severity-leveled feedback [core]
  • cross-review-project — Structured cross-project code review between two Claude Code instances via Git worktrees

Usage Scenarios

Scenario 1: Pull Request Review

Comprehensive review of pull requests before merging.

Read the full file on GitHub · 192 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 · 192 lines · 24 tokens per session scan A 1958521bd6c5

Subscribe to this mod's changes

code-reviewer is an agent published in the GitHub repository pjt222/agent-almanac (42 stars, last pushed 4d ago), licensed MIT. It adds 24 tokens to every session and 1,482 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-08-30.

Related

Other agents, from other repositories

code-reviewer

Expert code review specialist. Reviews code for quality, security, and maintainability.

rohitg00/skillkit · 19 tokens

java-refactor-expert

Expert Java and Spring Boot code refactoring specialist. Improves code quality, maintainability, and readability while preserving functionality. Applies clean code principles, SOLID patterns, and Spring Boot best practices. Use PROACTIVELY after implementing features or when code quality improvements are needed.

giuseppe-trisciuoglio/developer-kit · 61 tokens

typescript-refactor-expert

Expert TypeScript and modern JavaScript code refactoring specialist. Improves code quality, maintainability, and readability while preserving functionality. Applies clean code principles, SOLID patterns, and TypeScript best practices. Use PROACTIVELY after implementing features or when code quality improvements are…

giuseppe-trisciuoglio/developer-kit · 63 tokens

loom-verifier

Read-only gate runner for a standard loom stage. Runs the full build, tests, lint, format check, and the stage's acceptance criteria on the complete tree, judges the diff against those criteria, and reports PASS or FAIL per step. Writes nothing and never fixes.

cosmix/loom · 58 tokens

spring-boot-code-review-expert

Provides expert Spring Boot code review capability, specializing in Java best practices, patterns, and architectural issues. Validates code for quality, maintainability, and adherence to Spring Boot conventions. Use proactively after code changes or when implementing new features.

giuseppe-trisciuoglio/developer-kit · 55 tokens

the-inspector

Use this agent for independent code inspection — reviews git diffs against requirements, categorizes issues by severity, and delivers a verdict on production readiness. Dispatched by the audit-review skill.

kucherenko/gangsta · 41 tokens