code-review

code-review is a skill for Claude Code, Codex from mengrru/Spherse. It costs 36 tokens per session (838 once invoked), scanned A, original, MIT.

A structured review process for checking committed code changes. It requires evidence from the actual files and examines risks beyond only the lines that changed.

In plain words
What is it for?
Use it to review a commit or file set after implementation, with findings tied to specific file locations.
Why use it?
It helps catch defects, missed project rules, and problems in surrounding code before work is approved.

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/mengrru/spherse/code-review
Any agent
npx skills add mengrru/Spherse --skill code-review
Clone the repo
git clone --depth 1 https://github.com/mengrru/Spherse

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-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/mengrru/spherse/code-review.svg)](https://agentmods.dev/skills/mengrru/spherse/code-review)
Your own site
<a href="https://agentmods.dev/skills/mengrru/spherse/code-review"><img src="https://agentmods.dev/badge/skills/mengrru/spherse/code-review.svg" alt="Measured on agentmods" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 838 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.00036 $0.00838
Opus 5 $0.00018 $0.00419
Sonnet 5 $0.00007 $0.00168
Haiku 4.5 $0.00004 $0.00084

Measured 4d ago against content hash be6458e90f2d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

code-review 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.

.agents/skills/code-review/SKILL.md · 57 lines

How it starts

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

Code Review Skill

Positioning

This skill guarantees the floor of a code review — discipline and repo-specific knowledge — and never the ceiling. It exists to make reviews reliable (no unverified claims, no missed repo red lines, consistent output), not to make them mechanical.

The perspectives and red lines below are minimum coverage, not a boundary. Findings outside them must be reported regardless of dimension. Never conclude "checklist complete ⇒ approved".

Dispatch template

The main agent loads this skill, then dispatches a review sub agent (research-only task) with:

  1. Scope: commit range or file list to review
  2. Context: design doc path if one exists (dev-flow step 2 output); otherwise the requirement summary
  3. Discipline + perspectives + red lines + output contract: inline the sections below into the dispatch prompt
  4. Report language: Chinese

Discipline rules

  • Review-only: the sub agent researches and reports; it never modifies files
  • Verify before claiming: every finding cites file:line evidence from actual code. Check the surrounding reality, not just the diff — most hard errors live outside the changed lines
  • Hunches are allowed, labeled: suspicions without evidence go to a separate "未验证疑点" section, explicitly marked as unverified
  • No rubber-stamping: absence of findings must be stated as "抽查未发现", never as a guarantee

Perspectives (lenses, not steps)

  • Design fidelity: implementation vs design doc — missing pieces, silent deviations, undocumented decisions
  • Correctness: logic, edge cases, error paths, backward compatibility (esp. persisted-data migrations)
  • Boundaries & security: access policy, path safety, contract usage, concurrency (see red lines)
  • Test adequacy: contract tests for cross-layer seams (PM facade / SessionPort methods — consumer packages each need at least one that doesn't mock the tested method); affected-surface coverage for the change
  • Doc-sync triggers: surfaces whose docs need updating (report only — doc updates are handled by the doc-sync skill afterwards, not by the reviewer)

Read the full file on GitHub · 57 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. 4d ago First seen · 57 lines · 36 tokens per session scan A be6458e90f2d

Subscribe to this mod's changes

code-review is a skill published in the GitHub repository mengrru/Spherse (61 stars, last pushed yesterday), licensed MIT. It adds 36 tokens to every session and 838 once invoked, about $0.0002 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-30.

Related

Other skills, from other repositories

agent-harness-fault-injection

Use when an agent workflow needs deterministic recovery evidence for sandbox, MCP/tool, worker, checkpoint, memory, or orchestration failures.

sickn33/agentic-awesome-skills · 34 tokens

foundry-config-setup

Resolve missing setup caused by a hardcoded Foundry project endpoint or model in a sample. Use when a sample fails because it uses a placeholder/hardcoded projectendpoint (for example "https://your-project.services.ai.azure.com") or a hardcoded model instead of reading them from the environment.

microsoft/agent-framework · 65 tokens

error-recovery

Standard recovery patterns for all squad agents. When something fails, adapt — don't just report the failure.

bradygaster/squad · 24 tokens

agentic-workflow-designer

Conversational skill that interviews users to design new agentic workflows.

bradygaster/squad · 19 tokens

security-review

How to review PRs for security — credentials, injection, workflow permissions, supply chain, git operation safety.

bradygaster/squad · 24 tokens

shogun-screenshot

スクリーンショットの取得・加工を行う。ローカルスクショから最新画像を取得、 PlaywrightでWebページをキャプチャ、画像のトリミング・リサイズ、機微情報を黒塗りマスキング。 記事執筆、レポート作成、UI確認、画像加工時に起動。 「スクショ」「スクリーンショット」「画面キャプチャ」「最新のスクショ」「画像加工」「トリミング」「マスク」「写メ」「写メ撮った」「スクショ撮った」で起動。 Do NOT use for: 画像生成(shogun-imagegenを使え)。.

yohey-w/multi-agent-shogun · 149 tokens