Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By robertoecfv0.9.9MITIn 1 marketplace
Gets a second opinion on plans and code diffs from a different AI agent than the one you are using, flagging only material issues. Needs an authenticated external CLI such as Codex, Claude or Grok, or it falls back to degraded mode.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
v0.9.9: Cross-host adversarial review for coding workflows. Works in Claude Code, Codex, Pi, and Grok from the same source: detects which agent host you're running in and routes the heavy critique to the OTHER agent.
Critique discipline (v0.8.1): break confidence rather than validate; expensive attack surfaces first; material-only findings; mandatory simplicity counterfactuals; steerable focus; terse ship/no-ship summary. Lessons adapted from OpenAI Codex Companion and Matt Pocock's engineering skills.
Routing uses three tiers: T1 Claude and Codex review each other, T2 is the
Pi chain (opencode-go DeepSeek V4.1 Flash, GLM 5.3, then Grok 4.7), and T3 is
the Gemini Antigravity ladder as last resort. Reviewers get read-only tools.
On host Claude, Codex-authored work is reviewed by the Claude main loop itself.
Outside host Claude the Codex reviewer defaults to GPT-6 Astra medium; the
architect selects high only for auth, sensitive data, migrations, concurrency,
or changes spanning multiple modules. The Gemini ladder is gemini-3.8-flash-high,
gemini-3.7-flash-high, then gemini-3.1-pro-high.
Every plan and code review now asks whether the same required behavior and safety can be delivered with fewer concepts, layers, seams, entry points, or configuration surfaces. It checks YAGNI, pass-through layers, hypothetical adapters, duplicate ownership, and missed reuse of existing in-repo modules.
Effect is conditional, not a framework preference: when the repository already has a canonical Effect implementation for the concern, the reviewer challenges a parallel implementation. It does not recommend introducing Effect merely to reduce line count or enforce framework consistency. Fewer lines are a clue, never the verdict.
The partner reviews, never the host.
Two models examining the same artifact from different angles catch more issues than either alone. Each has different training biases, blind spots, and reasoning patterns. Disagreements between the two surface the highest-value findings - the ones a single reviewer would miss.
This plugin enforces that principle automatically:
claude -p
first; Claude, Pi, or Grok authors use Codex Astra first. Then T2, then T3.ADVERSARIAL_REVIEW_CODEX_EFFORT=high only for auth, sensitive data,
migrations, concurrency, or changes spanning multiple modules.-p, --sandbox, and --mode plan.SKILL.md (same file in both hosts)
│
├─ host runs lib/call-external.sh
│ │
│ ├─ lib/detect-host.sh (override -> env -> PPID walk)
│ ├─ partner = NOT host
│ ├─ ADVERSARIAL_REVIEW_DEPTH = 1 (anti-recursion guard)
│ ├─ select ordered partners from host + artifact + author
│ ├─ try Codex, Claude, direct xAI, or Pi in that route's order
│ ├─ on fail -> Gemini Antigravity ladder
│ └─ on fail -> degraded mode (exit 2)
│
├─ host runs its own independent analysis (no peeking at partner output)
├─ cross-validate: tag findings [cross-validated] / [external-only] / [host-only]
└─ return unified output (P0-P3 severity, evidence, recommendation, partner-attribution)
No haiku courier subagent (removed in 0.5.0 - added complexity without value). The main session does the dispatch and synthesis directly.
| Skill | What it does |
|---|---|
/adversarial-review:adversarial-review | Single entry point. Classifies input (plan, code, prompt) and runs the matching procedure: plan critique with revised plan, red-team code review with patch, or prompt-engineering analysis (external critique plus host adjudication). |
In Codex, after running the install script, the same skills are available
as $<skill-name> (Codex prompt-prefix convention).
# Add the marketplace and install the plugin
claude plugin marketplace add ~/repos/skills/plugins/adversarial-review
claude plugin install adversarial-review@adversarial-review
# Reload in current session
/reload-plugins
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub robertoecf/adversarial-review --plugin adversarial-reviewPlugins from other owners that cover similar ground