peer-review

peer-review is a skill for Claude Code from jkm-4314/claude-code-skills. It costs 47 tokens per session (5,458 once invoked), scanned C, original, MIT.

A review procedure that asks Codex to independently inspect a specification or code change. It repeats review until the work and review agree it is ready.

In plain words
What is it for?
Use it after writing a specification or completing code, or invoke it in spec or code mode for a focused review.
Why use it?
It adds a second perspective to catch unclear requirements, defects, or missing details before delivery.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions Claude Code; runs codex exec.

Good fit Use it after writing a specification or completing code, or invoke it in spec or code mode for a focused review.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jkm-4314/claude-code-skills/peer-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 jkm-4314/claude-code-skills --skill peer-review
Clone the repo
git clone --depth 1 https://github.com/jkm-4314/claude-code-skills

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/jkm-4314/claude-code-skills/peer-review/github.svg)](https://agentmods.dev/skills/jkm-4314/claude-code-skills/peer-review)
Your own site
<a href="https://agentmods.dev/skills/jkm-4314/claude-code-skills/peer-review"><img src="https://agentmods.dev/badge/skills/jkm-4314/claude-code-skills/peer-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 peer-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/jkm-4314/claude-code-skills/peer-review"><img src="https://agentmods.dev/badge/skills/jkm-4314/claude-code-skills/peer-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,458 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00047 $0.05458
Opus 5.5 $0.00019 $0.02183
Sonnet 5.5 $0.00009 $0.01092
Haiku 4.5 $0.00005 $0.00546

Measured 3mo ago against content hash cf17dd89e920, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

peer-review scanned grade C with 1 finding 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 3mo 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf "$REVIEW_DIR"
peer-review/SKILL.md · 450 lines

How it starts

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

Peer Review

📦 This skill is also part of a larger collection: claude-code-skills — project bootstrap, persistent session memory, and peer review. Clone the repo if you want all of them.

Orchestrate iterative review of specs or code by Codex (GPT-5.5) until both Claude and Codex agree the work is production-ready.

Installation

  1. Prerequisites:

    • Claude Code installed and configured
    • Codex CLI v0.125.0 or later in PATH, authenticated against an OpenAI account that can call gpt-5.5
    • Run codex --version to verify
  2. Install the skill:

    • Save this SKILL.md to ~/.claude/skills/peer-review/SKILL.md (Linux/macOS) or %USERPROFILE%\.claude\skills\peer-review\SKILL.md (Windows)
    • Restart Claude Code, or start a new session, so the skill is discovered
  3. Optional — slash command:

    • Invoke explicitly with /peer-review spec or /peer-review code
    • Otherwise the skill triggers automatically after spec writing or code completion (unless the user opts out)
  4. Verify: Ask Claude "run the peer-review skill on this spec" and confirm Codex is invoked.

Modes

  • spec — Review a specification document
  • code — Review code changes (git diff)

Determine mode from context or from the argument passed (e.g., /peer-review spec).

Bypass

Do NOT run this skill ONLY if:

  • User explicitly said one of: "skip review", "no review", "don't review", "bypass review"
  • User has previously marked THIS SPECIFIC PROJECT as non-production in conversation

Do NOT infer bypass. When in doubt, ask: "Should I run the Codex review for this?"

Orchestration

Step 0: Preflight Validation

Before the first review round, verify Codex CLI availability:

codex --version
  • If codex is not in PATH: hard fail — report "Codex CLI not found" and abort
  • If version is below 0.125.0: hard fail — required flags (--ignore-user-config, -o) may not exist
  • If critical flags are unavailable: hard fail — sandbox enforcement would be compromised

Read the full file on GitHub · 450 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. 3mo ago First seen · 450 lines · 47 tokens per session scan C cf17dd89e920

Subscribe to this mod's changes

peer-review is a skill published in the GitHub repository jkm-4314/claude-code-skills (4 stars, last pushed 6mo ago), licensed MIT. It adds 47 tokens to every session and 5,458 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

peer-review compared with skills from other repositories

peer-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
peer-reviewjkm-4314/claude-code-skillsSkill46mo agoMITC47Claude Code
lint-drupal-modulej4rk0r/claude-skillsSkill34mo agoMITA225Claude Code
codex-pr-reviewj4rk0r/claude-skillsSkill34mo agoMITA113Claude Code
codex-diff-developj4rk0r/claude-skillsSkill34mo agoMITA156Claude Code
la-chanclamcasillas17/mexican-momSkill23mo agoMITA61Claude Code
frijoles-en-el-tuppermcasillas17/mexican-momSkill23mo agoMITA65Claude Code
pero-tu-primomcasillas17/mexican-momSkill23mo agoMITA60Claude Code