Claude Code plugin

Adversarial Spec

A Claude Code plugin that iteratively refines product specifications by debating between multiple LLMs until all models reach consensus.

557 stars 51 forksPlugins & marketplaces Plugin marketplace Source

Install

Install
claude plugin marketplace add zscole/adversarial-spec

Found in the project README. Check it for setup steps after installing.

From source
git clone https://github.com/zscole/adversarial-spec.git

From the README

adversarial-spec

A Claude Code plugin that iteratively refines product specifications through multi-model debate until consensus is reached.

Key insight: A single LLM reviewing a spec will miss things. Multiple LLMs debating a spec will catch gaps, challenge assumptions, and surface edge cases that any one model would overlook. The result is a document that has survived rigorous adversarial review.

Claude is an active participant, not just an orchestrator. Claude provides independent critiques, challenges opponent models, and contributes substantive improvements alongside external models.

Quick Start

How It Works

1. Describe your product concept or provide an existing document
2. (Optional) Start with an in-depth interview to capture requirements
3. Claude drafts the initial document (PRD or tech spec)
4. Document is sent to opponent models (GPT, Gemini, Grok, etc.) for parallel critique
5. Claude provides independent critique alongside opponent feedback
6. Claude synthesizes all feedback and revises
7. Loop continues until ALL models AND Claude agree
8. User review period: request changes or run additional cycles
9. Final converged document is output

Requirements

- Python 3.10+
- litellm package: pip install litellm
- API key for at least one LLM provider

Supported Models

Check which keys are configured:

AWS Bedrock Support

For enterprise users who need to route all model calls through AWS Bedrock (e.g., for security compliance or inference gateway requirements):

When Bedrock is enabled, all model calls route through Bedrock - no direct API calls are made. Use friendly names like claude-3-sonnet which are automatically mapped to Bedrock model IDs.

Configuration is stored at ~/.claude/adversarial-spec/config.json.

OpenRouter Support

OpenRouter provides…
Read the full README on GitHub

How plugins work

  • A plugin bundles slash commands, subagents, skills, hooks, MCP servers and status lines so they install together.
  • Add the marketplace inside Claude Code with /plugin marketplace add zscole/adversarial-spec, then run /plugin to pick what to install.
  • You can turn a plugin off again from /plugin without deleting anything.
Claude Code docs

Details

Language
Python
License
MIT
Last updated
22 January 2026
Topics
anthropicclaude-aiclaude-codeclaude-code-pluginclaude-skillsllmorchestration

FAQ

What is Adversarial Spec?

A Claude Code plugin that iteratively refines product specifications by debating between multiple LLMs until all models reach consensus. It is a plugin for Claude Code, from zscole/adversarial-spec on GitHub.

How do I install Adversarial Spec?

Run claude plugin marketplace add zscole/adversarial-spec, then follow the setup in the README.

Is Adversarial Spec popular?

zscole/adversarial-spec has 557 GitHub stars and 51 forks, and is included in 1 curated Claude Code list. It was last updated on 22 January 2026.

More plugins & marketplaces

Browse the most popular Claude Code mods, all plugins & marketplaces, or the skills and MCP server directories.