code-reviewer

code-reviewer is a skill for Claude Code, Codex from halexzd686-cloud/SoloFlow. It costs 24 tokens per session (711 once invoked), scanned A, original, MIT.

A code-review workflow written in Chinese that checks software changes for correctness, security, performance, and maintainability. It also defines a report format for critical issues and suggestions.

In plain words
What is it for?
It is for reviewing code changes, identifying critical risks and improvement suggestions, and producing a structured review report.
Why use it?
It gives reviews a consistent checklist for finding bugs, unsafe input handling, exposed secrets, inefficient code, and hard-to-maintain structure.

Skill for Claude CodeCodex

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 skills/halexzd686-cloud/soloflow/code-reviewer
Any agent
npx skills add halexzd686-cloud/SoloFlow --skill code-reviewer
Clone the repo
git clone --depth 1 https://github.com/halexzd686-cloud/SoloFlow

Made for: Claude Code, Codex.

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/skills/halexzd686-cloud/soloflow/code-reviewer.svg)](https://agentmods.dev/skills/halexzd686-cloud/soloflow/code-reviewer)
Your own site
<a href="https://agentmods.dev/skills/halexzd686-cloud/soloflow/code-reviewer"><img src="https://agentmods.dev/badge/skills/halexzd686-cloud/soloflow/code-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 711 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.00024 $0.00711
Opus 5 $0.00012 $0.00356
Sonnet 5 $0.00005 $0.00142
Haiku 4.5 $0.00002 $0.00071

Measured 4d ago against content hash 20d658cfb65b, 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 4d 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.

skills/coding/code-reviewer/SKILL.md · 82 lines

What it actually says

代码审查 Skill

审查维度

1. 正确性 (Critical)

  • 逻辑是否正确?边界条件是否处理?
  • 是否有 off-by-one 错误?空值检查?
  • 异常处理是否完备?

2. 安全性 (Critical)

  • 是否有注入风险(SQL、命令、XSS)?
  • 敏感信息是否暴露(密钥、密码、token)?
  • 权限检查是否完备?

3. 性能 (Suggestion)

  • 是否有不必要的循环或重复计算?
  • 数据库查询是否有 N+1 问题?
  • 内存使用是否合理?

4. 可维护性 (Suggestion)

  • 命名是否清晰表达意图?
  • 函数是否过长或做了太多事?
  • 是否有重复代码可以提取?

输出格式

## 代码审查报告

### Critical(必须修改)
1. [问题描述]
   - 风险: [具体风险]
   - 修复: [代码示例]

### Suggestion(建议优化)
1. [优化建议]
   - 原因: [为什么改]
   - 改进: [代码示例]

### 总结
- Critical: N 项
- Suggestion: M 项
- 总体评价: [一句话]

失败模式

  • 如果 diff 太大(超过 500 行),要求拆分成更小的 PR
  • 如果缺少上下文(不知道这段代码的业务目的),先说明假设
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. 4d ago First seen · 82 lines · 24 tokens per session scan A 20d658cfb65b

Subscribe to this mod's changes

code-reviewer is a skill published in the GitHub repository halexzd686-cloud/SoloFlow (0 stars, last pushed 12d ago), licensed MIT. It adds 24 tokens to every session and 711 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.