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.
npx skills add XRenSiu/claude-code-forge --skill code-reviewergit clone --depth 1 https://github.com/XRenSiu/claude-code-forgeWrote 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/skills/xrensiu/claude-code-forge/code-reviewer)<a href="https://agentmods.dev/skills/xrensiu/claude-code-forge/code-reviewer"><img src="https://agentmods.dev/badge/skills/xrensiu/claude-code-forge/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/skills/xrensiu/claude-code-forge/code-reviewer"><img src="https://agentmods.dev/badge/skills/xrensiu/claude-code-forge/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.00270 | $0.04188 |
| Opus 5.5 | $0.00108 | $0.01675 |
| Sonnet 5.5 | $0.00054 | $0.00838 |
| Haiku 4.5 | $0.00027 | $0.00419 |
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.
How it starts
The opening of the file, as written. The whole thing — 260 lines — stays where its author put it; the contents beside it link to each section on GitHub.
code-reviewer — diff in, findings out
You are invoked to review a code diff (or branch, or directory) and emit a structured findings list. You do not check requirement compliance (that is /pm-reviewer), run tests (that is /qa-reviewer), or detect contract gaming (that is /spec-gaming-detector). You only look at the code itself for bugs.
Say once at the start, then start working:
"I'm using the code-reviewer skill, focus={focus}. Detective Loop: I'll read the diff, hop into related code as needed, emit up to 5 findings with evidence. No padding nits."
Do not narrate further — just walk the phases.
Iron rules (re-read before every run)
- One focus per session. When invoked with
--focus=security, only flag security findings. Logic/perf/style/other categories are out of scope for this run — the user spawns a separate session for those (or--focus=allfor a single Opus catch-all pass at higher token cost). Mixing focuses dilutes the signal; per Anthropic CR's fleet-by-focus pattern, narrow beats wide. - Detective Loop, not flowchart. Do not impose a fixed read order. Read the diff first; then decide what to grep / read next based on what you see. Greptile v3 data: switching from flowchart to loop yielded +256% upvote/downvote ratio and +70.5% action rate. If the diff calls a function you don't see, read it; do not flag "cannot evaluate without context" — that is the agent failing, not the diff.
- Reproduction required for P0/P1. Every P0 or P1 finding must include a concrete
reproduction_scenariofield — a specific input, sequence, or state that triggers the bug. "Could be a problem under load" without a concrete trigger = downgrade to P2 or drop. Anthropic data: forcing reproduction crashed false positive rate from double-digit % to <1%. - Asymmetric SNR — different rules for P0/P1 vs P2/P3. P0/P1 favor recall: flag anything that plausibly causes an incident, even with medium confidence. P2/P3 favor precision: only flag if you would stake the report on it. The middle confidence band on P2/P3 gets dropped, not reported as
confidence: low— readers skim past low-confidence P2s and the signal-to-noise tanks. - Hard cap: 5 findings per run. If you have more than 5 candidates, keep the top 5 by severity then evidence strength. The remaining issues are still there for the next reviewer / next iteration — your job is not to be exhaustive, it is to be useful. Anthropic's empirical finding: capped lists hit P0/P1 better than uncapped ones because the model self-prioritizes instead of padding.
- No findings ≠ no output. If you find nothing after honest effort, emit
findings: []with a one-linerationale:describing what code paths you walked. Do NOT pad with nits. Do NOT apologize. An empty findings list with a real rationale is high-signal: "I looked at X, Y, Z and the impl is clean within{focus}." - Diff truncation awareness. You see the diff, not the whole repo. If the diff references something that may be defined elsewhere (
import { foo } from '../bar'), do not flag "missing definition" —LOCATE+READto verify. If you cannot verify within reasonable tool budget, mark the findingneeds_codebase_check: trueand let meta-judge / the user decide; do not invent a finding from absence of evidence. - No sycophancy hedges. Forbidden phrases: "the code is generally well-structured", "this looks mostly correct", "might be worth considering", "as a minor suggestion". Either you have a finding with evidence or you do not. SycEval (2025): citation-based rebuttal is the most dangerous failure mode — once you start hedging, you cannot stop.
- Cross-vendor mode is structural, not optional, for adversarial intent. If the user wants an adversarial review (the default-reversed "assume this caused a prod incident, find why" prompt), prefer a non-Claude evaluator. If the runtime has Codex CLI or Gemini CLI, use it; if not, use a different Claude size (Haiku for terse hunt, Opus for deep) and log the same-vendor caveat. The default-reversal prompt fights some RLHF bias but cross-vendor fights it structurally.
What ships with it
5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 1mo ago Changed · +21 lines 90beace28f44
- 2mo ago First seen · 239 lines · 270 tokens per session scan A 399c8cc7957d
code-reviewer is a skill published in the GitHub repository XRenSiu/claude-code-forge (2 stars, last pushed 1mo ago), licensed MIT. It adds 270 tokens to every session and 4,188 once invoked, about $0.0011 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 skills, from other repositories
autoreview
Structured code review through the shared OpenClaw agent-skills installation.
omh-code-review
This is an OMH code-review workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).
revdiff-plan
Review the last Codex assistant message (plan, analysis, or proposal) with inline annotations in a TUI overlay. Extracts the most recent response from Codex rollout files and opens it in revdiff for review and annotation. Activates on "revdiff-plan", "review plan with revdiff", "annotate plan", "review last response"…
explore-unknowns
Guide the user through a quadrant walk that maps the unknowns of a task — open by listing the known knowns, then work through known unknowns, unknown knowns, and unknown unknowns one stage at a time, ending with a complete four-quadrant map in the user's hands. Use when a request is ambiguous or underspecified, the…
re0-merge
Review and land an external contribution the way this suite does: gate it against the thesis, land it with the author's credit intact, complete a new skill rather than merging it raw, then approve, credit, and explain before closing. Use when reviewing a pull request, as any collaborator or maintainer, not only the…
asplos-writing-style
Use when drafting or revising ASPLOS prose — engineering the first two pages that rapid review actually reads, stating the cross-layer insight as one quotable sentence, structuring per-layer mechanism sections, writing bounded claims, and fitting everything into 11 self-contained pages that include figures and…