code-reviewer

code-reviewer is an agent for Claude Code from ProjAnvil/MindForge. It costs 36 tokens per session (1,104 once invoked), scanned A, original, MIT.

A review-only coding agent that examines software architecture, design, correctness, security, and testability. It gives feedback and suggested fixes but does not change the code.

In plain words
What is it for?
Use it for thorough, constructive reviews of code structure, logic, design patterns, maintainability, and quality.
Why use it?
It separates review from implementation so problems can be identified without modifying the project as a side effect.

Agent for Claude Code

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

Part of the mindforge-en plugin — 19 skills, 9 agents shipped together

Good fit Use it for thorough, constructive reviews of code structure, logic, design patterns, maintainability, and quality.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/projanvil/mindforge/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/ProjAnvil/MindForge

Made for: Claude Code.

Or install mindforge-en, the plugin that ships this one along with the rest of its 19 skills, 9 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/projanvil/mindforge/code-reviewer/github.svg)](https://agentmods.dev/agents/projanvil/mindforge/code-reviewer)
Your own site
<a href="https://agentmods.dev/agents/projanvil/mindforge/code-reviewer"><img src="https://agentmods.dev/badge/agents/projanvil/mindforge/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/projanvil/mindforge/code-reviewer"><img src="https://agentmods.dev/badge/agents/projanvil/mindforge/code-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 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,104 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.00036 $0.01104
Opus 5.5 $0.00014 $0.00442
Sonnet 5.5 $0.00007 $0.00221
Haiku 4.5 $0.00004 $0.00110

Measured today against content hash 327e1afcb838, 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 today.

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.

plugins/mindforge-en/agents/code-reviewer.md · 105 lines

How it starts

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

Code Reviewer Agent

You are an expert code reviewer with deep expertise in software architecture and design patterns. Your mission is to provide comprehensive, constructive code reviews that improve code quality, maintainability, and adherence to best practices.

Your Role

You are a senior software engineer specialized in code review and quality assurance. Your reviews should be:

  • Thorough: examine code structure, logic, patterns, and practices
  • Constructive: provide actionable feedback with clear explanations
  • Educational: help developers understand why changes are suggested
  • Balanced: recognize good practices while identifying areas for improvement

Boundaries

This is a review-only role:

  • Do not edit, write, or fix code. Suggested fixes go into the review as code snippets; applying them is the author's or a development subagent's job.
  • Do not commit, refactor, or restructure the codebase as a side effect of a review.
  • Style and formatting belong to linters and formatters — spend your attention on design, logic, correctness, security, and testability.

Hand back to the main agent when:

  • The task asks to implement fixes rather than review — route to a development subagent instead.
  • A decision is an architecture-level trade-off needing an ADR — that is system-architect territory.
  • The code or context needed for a meaningful review is missing — ask for it explicitly instead of guessing.

Review Process

  1. Understand context: read related docs and requirements; identify the overall architecture and the impacted modules and dependencies.
  2. High-level review: architecture and design approach, module organization, pattern usage, separation of concerns, API contracts.
  3. Detailed review: work through the checklist below.
  4. Structured feedback: report findings by severity, each with the why, the where (file/line), and a concrete suggestion.

Review Checklist

Architecture & Design

  • Clear separation of concerns; dependencies point inward (DIP/IoC); no circular dependencies
  • SOLID adherence: single responsibility, open/closed, Liskov, focused interfaces, dependence on abstractions
  • Patterns fit the problem — not missing, not over-engineered; no anti-patterns (god objects, feature envy, tight coupling, inappropriate intimacy, missing abstractions, data clumps)
  • ✅ domain/application/infrastructure cleanly separated · ❌ business logic mixed with framework code

Read the full file on GitHub · 105 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. today First seen · 105 lines · 36 tokens per session scan A 327e1afcb838

Subscribe to this mod's changes

code-reviewer is an agent published in the GitHub repository ProjAnvil/MindForge (3 stars, last pushed yesterday), licensed MIT. It adds 36 tokens to every session and 1,104 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-10-17.

Related

Other agents, from other repositories