Help us improve
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
By jcputney
Runs symmetric two-AI peer reviews on code changes, plans, or architecture: each AI performs a blind pass, then debates issues until convergence, catching more problems than single-pass validation.
npx claudepluginhub jcputney/agent-peer-review --plugin codex-peer-reviewModifies files
Hook triggers on file write and edit operations
Uses power tools
Uses Bash, Write, or Edit tools
Share bugs, ideas, or general feedback.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
AI-powered code review analysis — Run three-level AI analysis and implement-review-fix loops directly in your coding agent. Works standalone, no server required.
Command-driven Claude/Codex review workflows for multi-round plan and implementation review.
Autonomous Claude + Codex review loop. Plan a feature with adversarial pushback, or audit code, all in one window.
Use Codex from Claude Code to review code or delegate tasks.
Code review plugin with a standalone reviewer agent and two skill strategies: disposable subagents for one-shot reviews and persistent team members for iterative reviews
Codex CLIにセカンドオピニオンを求めるスキル。「codexと相談して」「codexに聞いて」で発動する。
A Claude Code plugin marketplace for AI-to-AI peer validation. Multiple perspectives catch more issues than one.
Symmetric two-AI peer review using OpenAI Codex CLI. Both AIs review the same scope independently in a blind pass, then debate per-issue with terminal states until convergence. Catches significantly more issues than single-pass validation.
# Add this marketplace
/plugin marketplace add jcputney/agent-peer-review
# Install the Codex peer review plugin
/plugin install codex-peer-review
Account Requirements:
Install dependencies:
# Codex CLI (0.118.0+ required)
npm i -g @openai/codex
codex login
# jq (required — used to parse Codex JSONL output)
brew install jq # macOS
# apt install jq # Debian/Ubuntu
Initialize Codex profiles (one-time):
/codex-peer-review init
This writes [profiles.peer-review] and [profiles.peer-review-summarizer] to ~/.codex/config.toml. Tune the models there if you want to use a different reasoning level or model family.
The default mode is blind-debate:
sha1(file + claim)). Duplicates collapse. Findings reported by both AIs get a high-confidence flag. Style issues are dropped from the debate.proposed → accepted | rejected | merged | escalated | deferred). Both sides emit per-issue stances (accept, concede, defend, dismiss). Transitions are deterministic.When the AIs flag a security, architecture, or breaking-change issue, that issue skips the debate and goes straight to external research arbitration. The skill is agnostic about which research tool to use — pick the best one available.
A legacy --mode classic flag preserves the old single-pass validation behavior for users who prefer it. It is deprecated and will be removed.
~/.codex/config.toml, not in plugin prompts/codex-peer-review for on-demand validation# First-time setup
/codex-peer-review init
# Default — symmetric blind-debate mode, will ask for scope
/codex-peer-review
# Review against a specific branch
/codex-peer-review --base develop
# Review uncommitted changes
/codex-peer-review --uncommitted
# Validate an answer to a broad question
/codex-peer-review "Should we use microservices or a monolith here?"
# Legacy single-pass validation (deprecated)
/codex-peer-review --mode classic
Hooks remind Claude to dispatch the peer reviewer before presenting:
The reminder is advisory — Claude decides when to dispatch.
Tested against codex-cli 0.118.0. The plugin uses codex exec exclusively for machine-readable output. codex review --json and codex review -o do not exist in 0.118.0 — the plugin previously used these and was partially broken; this release fixes that.
Schema enforcement uses prompt templates parsed with jq, not --output-schema (which is unstable in 0.118.0 under --json).
The plugin uses heredoc stdin to minimize permission prompts. On first use, you'll be asked to approve:
| Pattern | Purpose |
|---|---|
codex exec* | Run blind-pass and debate prompts |
jq * | Parse Codex JSONL output |
Select "Always allow" to avoid repeated prompts.