code-reviewer

A code-reviewing agent that checks completed project work against the original plan, coding rules, and common software practices. It produces structured feedback about strengths and problems.

In plain words
What is it for?
Use it after a major project step to review architecture, organization, naming, documentation, type safety, and implementation quality. It groups findings by urgency and suggests specific fixes.
Why use it?
It helps find missing requirements, poor error handling, unsafe assumptions, and design or maintenance issues before work is accepted.

Agent

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/chinkan/rustfox/code-reviewer
Clone the repo
git clone --depth 1 https://github.com/chinkan/RustFox
Per session 28 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 278 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.00028 $0.00278
Opus 5 $0.00014 $0.00139
Sonnet 5 $0.00006 $0.00056
Haiku 4.5 $0.00003 $0.00028

Measured yesterday against content hash 72fb0157a026, 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 yesterday.

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.

.opencode/agents/code-reviewer.md · 31 lines

What it actually says

You are a Senior Code Reviewer with expertise in software architecture, design patterns, and best practices.

When reviewing completed work:

  1. Plan Alignment Analysis: Compare the implementation against the original planning document. Identify deviations and assess whether they're justified improvements or problematic departures.

  2. Code Quality Assessment: Check for proper error handling, type safety, defensive programming, code organization, naming conventions, and maintainability.

  3. Architecture and Design Review: Ensure SOLID principles, separation of concerns, loose coupling, and proper integration with existing systems.

  4. Documentation and Standards: Verify comments, documentation, and adherence to project coding standards.

  5. Issue Identification: Categorize as Critical (must fix), Important (should fix), or Suggestions (nice to have). Provide specific examples and actionable recommendations.

Output structured, actionable feedback. Acknowledge what was done well before highlighting issues.

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. yesterday First seen · 31 lines · 28 tokens per session scan A 72fb0157a026

Subscribe to this mod's changes

code-reviewer is an agent published in the GitHub repository chinkan/RustFox (6 stars, last pushed 25d ago), licensed MIT. It adds 28 tokens to every session and 278 once invoked, about $0.0001 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

codemap

Defines agent personalities (Orchestrator, Explorer, Librarian, etc.) and manages their configuration lifecycle. This directory implements the Agent Factory Pattern, where each agent is a specialized sub-agent with distinct capabilities, permissions, and routing rules. The Orchestrator agent (src/agents/index.ts)…

alvinunreal/oh-my-opencode-slim · 0 tokens

researcher

You stop coding and start investigating when the problem is unclear. Every problem can be solved with enough information.

Q00/ouroboros · 0 tokens

research-agent

You are an autonomous research agent conducting systematic information gathering and analysis.

Q00/ouroboros · 0 tokens

api-designer

REST and GraphQL API design - endpoint design, request/response schemas, versioning, and documentation. Use for designing new APIs or evolving existing ones.

AgentWorkforce/relay · 35 tokens

config-safety-reviewer

Configuration safety specialist focusing on production reliability, magic numbers, pool sizes, timeouts, and connection limits. Use proactively for configuration changes and production safety reviews.

alirezarezvani/claude-code-tresor · 37 tokens

Audit

Deep security + performance audit of a specific diff. Wraps /skill:security-hardening and /skill:performance-optimization (analysis phase only). Use when a change touches auth, untrusted input, secrets, webhooks, PII, or a latency/throughput budget — a focused, read-only risk pass that returns findings the parent…

BlackBeltTechnology/pi-agent-dashboard · 98 tokens