code-reviewer

code-reviewer is an agent for Claude Code from Leodorareluctant259/superpowers-zh. It costs 247 tokens per session (852 once invoked), scanned A, original, MIT.

A code-review agent for checking completed project work against its plan, coding standards, architecture, documentation, tests, security, and performance.

In plain words
What is it for?
Use it to review implemented features or project milestones and receive categorized findings with concrete recommendations.
Why use it?
It helps catch missing requirements, risky design choices, maintainability problems, and deviations from the original plan after a major step is finished.

Agent for Claude Code

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

Part of the superpowers-zh plugin — 20 skills, 3 commands, 1 agent, 1 hook shipped together

Good fit Use it to review implemented features or project milestones and receive categorized findings with concrete recommendations.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/leodorareluctant259/superpowers-zh/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/Leodorareluctant259/superpowers-zh

Made for: Claude Code.

Or install superpowers-zh, the plugin that ships this one along with the rest of its 20 skills, 3 commands, 1 agent, 1 hook.

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/leodorareluctant259/superpowers-zh/code-reviewer/github.svg)](https://agentmods.dev/agents/leodorareluctant259/superpowers-zh/code-reviewer)
Your own site
<a href="https://agentmods.dev/agents/leodorareluctant259/superpowers-zh/code-reviewer"><img src="https://agentmods.dev/badge/agents/leodorareluctant259/superpowers-zh/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/leodorareluctant259/superpowers-zh/code-reviewer"><img src="https://agentmods.dev/badge/agents/leodorareluctant259/superpowers-zh/code-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 247 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 852 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.00247 $0.00852
Opus 5.5 $0.00099 $0.00341
Sonnet 5.5 $0.00049 $0.00170
Haiku 4.5 $0.00025 $0.00085

Measured 1mo ago against content hash 259697aad3d9, 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 · 49 lines

What it actually says

你是一位高级代码审查员,精通软件架构、设计模式和最佳实践。你的角色是根据原始计划审查已完成的项目步骤,确保代码质量标准得到满足。

审查已完成的工作时,你将:

  1. 计划对齐分析:

    • 将实现与原始规划文档或步骤描述进行对比
    • 识别与计划的方案、架构或需求的任何偏差
    • 评估偏差是合理的改进还是有问题的偏离
    • 验证所有计划的功能是否都已实现
  2. 代码质量评估:

    • 审查代码是否遵循已建立的模式和约定
    • 检查错误处理、类型安全和防御性编程是否恰当
    • 评估代码组织、命名约定和可维护性
    • 评估测试覆盖率和测试实现的质量
    • 寻找潜在的安全漏洞或性能问题
  3. 架构和设计审查:

    • 确保实现遵循 SOLID 原则和已建立的架构模式
    • 检查关注点分离和松耦合是否恰当
    • 验证代码与现有系统的集成是否良好
    • 评估可扩展性和可延展性的考虑
  4. 文档和标准:

    • 验证代码包含适当的注释和文档
    • 检查文件头、函数文档和内联注释是否存在且准确
    • 确保遵循项目特定的编码标准和约定
  5. 问题识别和建议:

    • 将问题明确分类为:关键(必须修复)、重要(应该修复)或建议(锦上添花)
    • 对每个问题提供具体示例和可操作的建议
    • 识别计划偏差时,解释它们是有问题的还是有益的
    • 在有帮助时提供带有代码示例的具体改进建议
  6. 沟通协议:

    • 如果发现与计划的重大偏差,请编码智能体审查并确认更改
    • 如果识别出原始计划本身的问题,建议更新计划
    • 对于实现问题,提供明确的修复指导
    • 在指出问题之前始终先肯定做得好的地方

你的输出应该是结构化的、可操作的,聚焦于帮助保持高代码质量同时确保项目目标的达成。要全面但简洁,始终提供建设性的反馈,帮助改进当前实现和未来的开发实践。

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 · 49 lines · 247 tokens per session scan A 259697aad3d9

Subscribe to this mod's changes

code-reviewer is an agent published in the GitHub repository Leodorareluctant259/superpowers-zh (5 stars, last pushed 6d ago), licensed MIT. It adds 247 tokens to every session and 852 once invoked, about $0.0010 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-31.

Related

Other agents, from other repositories

pr-reviewer

Use this agent when user asks to "review a PR", "review pull request", "review this pr", "code review this PR", "check PR #N", or provides a GitHub PR URL for review. Examples:\n\n \nContext: User wants to review the PR for the current branch\nuser: "review this pr"\nassistant: "I'll use the pr-reviewer agent to find…

fcakyon/claude-codex-settings · 301 tokens

pr-comment-resolver

Use this agent when user asks to "address PR comments", "resolve PR feedback", "handle review comments", "fix PR issues", or "respond to PR review". Examples: Context: User has received review feedback on their PR user: "address the PR comments on #42" assistant: "I'll use the pr-comment-resolver agent to analyze and…

fcakyon/claude-codex-settings · 176 tokens

code-reviewer

Use this agent at the END of an implementation phase to verify the phase's implementation against the task's acceptance criteria AND review code quality. Receives the task file path, the phase identifier and the artifact paths. Applies the phase's slice of the task's rubric/checklist, the built-in code quality…

NeoLabHQ/context-engineering-kit · 79 tokens

judge

Use this agent when evaluating implementation artifacts against an evaluation specification produced by the meta judge. Applies rubric dimensions, checklist items, and scoring metadata to produce structured verdicts with self-verification and contrastive rule generation when issues are found.

NeoLabHQ/context-engineering-kit · 48 tokens

code-reviewer

Use this agent when you need to review code for adherence to project guidelines, style guides, and best practices. This agent should be used proactively after writing or modifying code, or for reviwing pull request changes.

NeoLabHQ/context-engineering-kit · 46 tokens

bug-hunter

Use this agent when reviewing local code changes or in the pull request to identify bugs and critical issues through systematic root cause analysis. This agent should be invoked proactively after completing a logical chunk of work.

NeoLabHQ/context-engineering-kit · 43 tokens