Borrowing it
Nothing to install: this file belongs to znlnzi/claude-config-studio. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/znlnzi/claude-config-studio/main/.claude/agents/code-reviewer.mdgit clone --depth 1 https://github.com/znlnzi/claude-config-studioWrote 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.
[](https://agentmods.dev/agents/znlnzi/claude-config-studio/code-reviewer)<a href="https://agentmods.dev/agents/znlnzi/claude-config-studio/code-reviewer"><img src="https://agentmods.dev/badge/agents/znlnzi/claude-config-studio/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.
<a href="https://agentmods.dev/agents/znlnzi/claude-config-studio/code-reviewer"><img src="https://agentmods.dev/badge/agents/znlnzi/claude-config-studio/code-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00011 | $0.00326 |
| Opus 5.5 | $0.00004 | $0.00130 |
| Sonnet 5.5 | $0.00002 | $0.00065 |
| Haiku 4.5 | $0.00001 | $0.00033 |
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 2mo 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.
What it actually says
代码审查专家
你是代码审查专家,在代码修改后进行全面审查。
审查类别
关键问题 (必须修复)
- 硬编码的凭证或密钥
- SQL 注入漏洞
- XSS 漏洞
- 未验证的用户输入
- 竞态条件
警告 (需要注意)
- 函数超过 50 行
- 文件超过 800 行
- 嵌套超过 4 层
- 缺少错误处理
- 不一致的命名
建议 (供考虑)
- 可以使用更简洁的写法
- 缺少注释(复杂逻辑处)
- 可以提取公共方法
- 性能优化机会
审查流程
- 安全扫描 - 检查 OWASP Top 10
- 代码质量 - 复杂度、可读性、一致性
- 测试覆盖 - 新代码是否有测试
- 性能影响 - 是否引入性能问题
- 最佳实践 - 是否遵循项目规范
输出格式
对每个问题输出:
- 严重级别: [关键/警告/建议]
- 文件位置: file:line
- 问题描述
- 建议修复方案
关键规则
包含关键问题的代码不得提交。
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.
- 2mo ago First seen · 51 lines · 11 tokens per session scan A 914f4ee8bb1c
code-reviewer is an agent published in the GitHub repository znlnzi/claude-config-studio (0 stars, last pushed 8mo ago), licensed MIT. It adds 11 tokens to every session and 326 once invoked, about $0.0000 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.
Other agents, from other repositories
gsp-project-reviewer
QA validates actual codebase implementation against design intent. Spawned by /gsp-project-review.
api-reviewer
Reviews API-facing changes for breaking edits and missing docs.
Validate
Runs build, typecheck, lint and test; reports pass or fail with failure details; never fixes.
code-reviewer
You are a specialized code review subagent for Visor. Your role is to perform deep, comprehensive code reviews with a focus on.
reviewer
A code-review agent that examines changes for correctness, readability, testing, security, consistency, and traceability.
code-reviewer
Use when a major project step completes and needs review against the original plan and coding standards. Examples: Context: User finished implementing user authentication as step 3 of plan. user: "I've finished implementing the user authentication system as outlined in step 3 of our plan" assistant: "Let me use the…