adversarial-spec plugin
A Claude Code plugin that refines a spec through a debate between several models until they reach consensus
- 558 ★ on the repository
- Last commit
- MIT
Extended access
Why this level
- Sends the spec to external models from several providers
- External model calls are paid and grow with the number of rounds
Install
- Works in
In your terminal, with SkillFoxx CLI
npx skillfoxx add plugins/adversarial-specDetects the agents on your machine, shows the access level and pins the version.
Other ways to install
Access and checks
How we reviewExtended accessThe tool runs code or makes network calls and only reads external data.
- Sends the spec to external models from several providers
- External model calls are paid and grow with the number of rounds
This is third-party code. Review the repository files before installing.
What it does
The plugin builds a product spec through adversarial review by several models. Claude drafts a PRD or a technical spec, then other models critique the document in parallel and Claude adds its own critique. Then a loop runs: synthesize the feedback, revise and repeat until all models and Claude agree. After that comes your review period, where you can request changes or extra rounds. The result is a document that has been examined from several angles.
Who it is for. For developers and product managers who want a spec vetted from several angles.
Good fit when
- You want to find gaps and weak spots in a spec
- You want a PRD or tech spec vetted by several models
- You want to put a draft through adversarial review
Not a fit when
- You have no key for any external model provider
- You are not ready for the cost of external model calls
Example request
Review the spec for a Redis rate limiter service through a model debate and drive it to consensusLimitations
It needs Python 3.10 or newer, the litellm package and a key for at least one external model provider. Some providers, such as OpenAI and Anthropic, are not reachable from Russia without a VPN, while others may work, so availability depends on your choice. External model calls are paid, and the cost depends on the number of debate rounds. For enterprise needs it supports routing through AWS Bedrock.
How to disable. Remove the plugin with claude plugin remove adversarial-spec.
FAQ
How many keys do I need?
A key for one provider is enough. Through OpenRouter you can reach several providers with a single key.
When does the debate loop stop?
When all connected models and Claude agree, after which your review period begins.
How is adversarial-spec different from an ordinary spec review?
Claude writes a draft PRD or technical spec, then other models critique the document in parallel and Claude revises it. The loop continues until the models reach agreement.
What is adversarial review and how do I install adversarial-spec?
It is checking a document by having several models argue. Install in Claude Code: claude plugin marketplace add zscole/adversarial-spec, then claude plugin install. Other models need their own API keys.
Discussion
No questions or reviews yet.
Related
PluginsA Claude Code plugin: spec-driven development over a single SPEC.md file, a loop of seven commands with no sub-agents
A plugin for Claude Code and Codex: turns a feature request into a spec and executes it task by task with fresh context
Claude Code plugins for spec-driven development: specify, implement and review commands plus specialist agents
ProductSpec sets the format of a product spec, and its skills, CLI and MCP server guide an agent through it and check the result
A plugin with three skills for large development work: project analysis, phased tasks tracked as GitHub Issues, parallel agents and code review
A plugin for Claude Code: you read one spec and parallel agents ship it to a commit with green tests.
README in short
The README describes a Claude Code plugin that refines a spec through a debate between several models. Claude drafts, external models and Claude itself critique, feedback is synthesized and the document is rewritten until consensus. Installation is via claude plugin marketplace add and claude plugin install, and it needs Python and the litellm package. It supports many providers via key variables, with an OpenRouter mode and routing through AWS Bedrock. MIT licensed.