Marketplace for AI-to-AI peer review plugins. Multiple perspectives catch more issues than one.
npx claudepluginhub jcputney/agent-peer-reviewSymmetric two-AI peer review using OpenAI Codex CLI. Both AIs review independently in a blind pass, then debate per-issue with terminal states until convergence. Catches significantly more issues than single-pass validation.
A Claude Code plugin marketplace for AI-to-AI peer validation. Multiple perspectives catch more issues than one.
Peer validation using OpenAI Codex CLI. Validates Claude's designs, code reviews, and recommendations by getting a second opinion before presenting them to users.
# Add this marketplace
/plugin marketplace add jcputney/agent-peer-review
# Install the Codex peer review plugin
/plugin install codex-peer-review
Account Requirements:
Install Codex CLI:
# Install Codex CLI
npm i -g @openai/codex
# Authenticate (opens browser for OAuth or prompts for API key)
codex login
Optional - Perplexity MCP (for escalation):
When Claude and Codex disagree and can't resolve through discussion, the plugin escalates to external research. If you have Perplexity MCP configured, it will be used for expert arbitration. Otherwise, the plugin falls back to WebSearch.
/codex-peer-review command for on-demand validationThe plugin reminds Claude to trigger peer review when about to present:
# Review current changes against default branch
/codex-peer-review
# Review against specific branch
/codex-peer-review --base develop
# Validate answer to a broad question
/codex-peer-review "Should we use microservices or monolith for this project?"
| Validation Type | Codex Command | Use When |
|---|---|---|
| Code Review | codex review --base X | Reviewing actual code changes (diffs) |
| Design Validation | codex exec "..." | Validating proposals, plans, architecture |
| Question Answering | codex exec "..." | Answering broad technical questions |
The plugin uses heredoc stdin to minimize permission prompts. On first use, you'll be asked to approve:
| Pattern | Purpose |
|---|---|
codex exec* | Run focused peer review prompts |
codex review* | Review git diffs against branches |
Tip: When prompted, select "Always allow" to avoid repeated prompts.
agent-peer-review/
├── .claude-plugin/
│ └── marketplace.json # Marketplace registry
└── plugins/
└── codex-peer-review/ # Codex CLI peer review plugin
├── .claude-plugin/
│ └── plugin.json # Plugin metadata
├── agents/
│ └── codex-peer-reviewer.md
├── skills/
│ └── codex-peer-review/
│ ├── SKILL.md
│ ├── discussion-protocol.md
│ ├── escalation-criteria.md
│ └── common-mistakes.md
├── commands/
│ └── codex-peer-review.md
└── hooks/
├── hooks.json
├── peer-review-reminder.sh
├── stop-peer-review-check.sh
└── plan-peer-review-check.sh
Key Design: All peer review work runs in a subagent context to keep the main conversation clean.