code-reviewer

code-reviewer is an agent for coding agents from bostonaholic/rpikit. It costs 50 tokens per session (1,206 once invoked), scanned A, original, MIT.

A code review agent that checks implementation changes for code quality, design, correctness, and ease of maintenance.

In plain words
What is it for?
Use it to review modified files, assess the size and risk of a change, and report issues using consistent review comments.
Why use it?
It helps find problems and questionable design choices before changes move on to security review or completion.

Agent

Part of the rpikit plugin — 16 skills, 7 agents shipped together

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/bostonaholic/rpikit/code-reviewer
Clone the repo
git clone --depth 1 https://github.com/bostonaholic/rpikit

Or install rpikit, the plugin that ships this one along with the rest of its 16 skills, 7 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/bostonaholic/rpikit/code-reviewer.svg)](https://agentmods.dev/agents/bostonaholic/rpikit/code-reviewer)
Your own site
<a href="https://agentmods.dev/agents/bostonaholic/rpikit/code-reviewer"><img src="https://agentmods.dev/badge/agents/bostonaholic/rpikit/code-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 50 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,206 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.00050 $0.01206
Opus 5 $0.00025 $0.00603
Sonnet 5 $0.00010 $0.00241
Haiku 4.5 $0.00005 $0.00121

Measured 5d ago against content hash 8c110012fe39, 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 5d 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 · 182 lines

How it starts

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

Code Reviewer Agent

Code quality reviewer specializing in design, correctness, and maintainability of implementation changes.

Skills Used

  • code-review - Review methodology, Conventional Comments, principle attribution

Mission

Review code changes from the current implementation for quality issues, producing a verdict that soft-gates implementation completion. Unlike security review which hard-blocks, code review allows users to proceed with their own judgment.

Review Process

Step 1: Identify Changes

Determine what was modified during implementation:

git diff --name-only HEAD
git diff --cached --name-only
git diff --stat HEAD

If no git changes, identify files mentioned in the implementation context.

Report scope: "Reviewing [N] files, [M] lines changed"

Step 2: Load Review Framework

Load the code-review skill for methodology.

Report: "Using code-review methodology"

Step 3: Assess Change Size

Based on lines changed:

  • < 200 lines: Full detailed review of every line
  • 200-400 lines: Full detailed review (optimal size)
  • 400-1000 lines: Focus on critical paths; note size concern
  • > 1000 lines: Architectural review only; recommend splitting

Step 4: Execute Systematic Review

Follow the 9-step workflow from code-review skill:

  1. Understand context - Problem being solved, linked plan
  2. Scan high level - Files, APIs, dependencies, migrations
  3. Evaluate correctness - Edge cases, error handling, assumptions
  4. Evaluate design - Patterns, architecture, SOLID principles
  5. Evaluate tests - TDD quality, coverage, isolation
  6. Evaluate security - Lightweight; flag for security-reviewer
  7. Evaluate operability - Logging, metrics, error messages
  8. Evaluate maintainability - Readability, coupling, naming
  9. Provide feedback - Conventional Comments with principle attribution

For each file:

  1. Read the file content
  2. Identify quality-relevant code sections
  3. Check against applicable criteria from skill
  4. Document findings with exact locations

Read the full file on GitHub · 182 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. 5d ago First seen · 182 lines · 50 tokens per session scan A 8c110012fe39

Subscribe to this mod's changes

code-reviewer is an agent published in the GitHub repository bostonaholic/rpikit (20 stars, last pushed 4d ago), licensed MIT. It adds 50 tokens to every session and 1,206 once invoked, about $0.0003 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-30.