code-review

code-review is a skill for Claude Code, Codex from GregoryHo/arcforge. It costs 48 tokens per session (1,680 once invoked), scanned A, original, MIT.

Review gate for a change about to be handed off. Use when an implementation or task is finished and needs checking against its requirements, before opening a pull request or merging, or when review feedback has come back and needs answering.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Install with agentmods
npx agentmods add skills/gregoryho/arcforge/code-review
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.

Any agent
npx skills add GregoryHo/arcforge --skill code-review
Clone the repo
git clone --depth 1 https://github.com/GregoryHo/arcforge

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/gregoryho/arcforge/code-review/github.svg)](https://agentmods.dev/skills/gregoryho/arcforge/code-review)
Your own site
<a href="https://agentmods.dev/skills/gregoryho/arcforge/code-review"><img src="https://agentmods.dev/badge/skills/gregoryho/arcforge/code-review/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-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/gregoryho/arcforge/code-review"><img src="https://agentmods.dev/badge/skills/gregoryho/arcforge/code-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,680 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.00048 $0.01680
Opus 5.5 $0.00019 $0.00672
Sonnet 5.5 $0.00010 $0.00336
Haiku 4.5 $0.00005 $0.00168

Measured today against content hash cb1fc706ce1d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 today.

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/core/code-review/SKILL.md · 160 lines

How it starts

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

Code Review

Two halves in order: get the change read by someone who did not write it, then answer what comes back. Steps 1–4 send it; Answering the review handles the return.

Step 1 — Run the project's own checks

Run the project's lint, type check, and test commands as that project defines them — read its package.json scripts, Makefile, or contributor guide rather than guessing a command name. A reviewer spending attention on a failure the suite already prints is attention not spent on the change.

  • Done when every check the project defines has run in this working tree and you can state each one's exit status and failure count.

Red or unrunnable checks end the review here: name the command and its failure, then stop. A review dispatched over a broken tree buries that failure under review comments.

Step 2 — Compute the review range

BASE="${TASK_BASE_SHA:-$(git merge-base HEAD "${BASE_BRANCH:-main}")}"
HEAD="$(git rev-parse HEAD)"
git diff --stat "$BASE..$HEAD"

Never HEAD~1. A task carrying more than one commit loses everything but its last commit, and the reviewer then reports on a change nobody made.

Blank fields, the literal strings HEAD~1/HEAD, and "look at my recent changes" are not a range — resolve them even when asked to skip the resolution for speed.

  • Done when BASE and HEAD hold resolved SHAs and git diff --stat printed a non-empty file list.

Step 3 — Dispatch a fresh reviewer

Dispatch one subagent and paste the text below into it with the four slots filled in — the text itself, because a subagent handed a file path resolves it against its own working directory. Fresh means it gets your requirements and your diff and none of your reasoning: a reviewer that already believes the change is correct reviews the belief.

You are reviewing one change. Read it once, then return both parts below.

Requirements under review:
{REQUIREMENTS}

The implementer reported:
{IMPLEMENTER_REPORT}

Read the change with:
  git diff --stat {BASE}..{HEAD}
  git diff -U10 {BASE}..{HEAD}

The implementer's report is a set of unverified claims. Check every requirement
against the code in the diff. A stated rationale ("kept it simple per YAGNI",
"deliberate for now") is itself a claim and never lowers a finding's severity.

Return exactly these two parts, in this order, each with its own verdict line.

## Part 1 — Spec compliance
Verdict: COMPLIANT | ISSUES
Classify every requirement as met, or as one of: Missing (not implemented, or
implemented so it does something else), Extra (in the code, not in the
requirements), Misunderstood (a different problem solved). A requirement that
lives outside this diff and cannot be settled from it is `Cannot verify from
diff` — say what the caller should check and stop there.

## Part 2 — Code quality
Verdict: APPROVED | NEEDS FIXES
Assess every changed function, not only the ones a requirement covers:
separation of concerns, error handling and swallowed errors, resource cleanup on
all paths, edge cases, security, duplication, test quality, file and function
size. Severity is Critical / Important / Minor by actual impact. A defect the
requirements explicitly mandated is still a finding — report it and label it
plan-mandated.

Cite file:line for every finding in both parts, state its impact, and give the
fix. Report only what you read in the diff.

Read the full file on GitHub · 160 lines

Files

What ships with it

1 file 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.

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. today First seen · 160 lines · 48 tokens per session scan A cb1fc706ce1d

Subscribe to this mod's changes

code-review is a skill published in the GitHub repository GregoryHo/arcforge (8 stars, last pushed 12d ago), licensed MIT. It adds 48 tokens to every session and 1,680 once invoked, about $0.0002 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-11-07.

Related

code-review compared with skills from other repositories

code-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
code-reviewGregoryHo/arcforgeSkill812d agoMITA48Claude Code, Codex
autoreviewopenclaw/clawhubSkill9.5kyesterdayMITA17Claude Code, Codex
agent-teams-simplify-and-hardenLeoYeAI/openclaw-master-skillsSkill2.2k6d agoMITA115Claude Code, Codex
omh-code-reviewrlaope/oh-my-hermesSkill5.2kyesterdayMITA48Claude Code, Codex
revdiff-planumputun/revdiffSkill945yesterdayMITA84Claude Code
explore-unknownsdzhng/skillsSkill1.4k2d agoMITA162Claude Code, Codex
re0-mergeLilMGenius/paperthinSkill1.4k4d agoMITA70Claude Code