Contrarian
Devil's advocate for coding agents. Stress-tests plans, architecture and decisions with a steel-man, an assumption audit and a pre-mortem, then gives severity-rated findings…
Install: claude plugin install contrarian@contrarian
Works with Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode · 43 GitHub stars
Install
claude plugin install contrarian@contrarianInstall command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →Contrarian A devil's advocate for coding agents. It stress-tests plans before reality does.
Connect on LinkedIn!
When everyone agrees on a plan, your coding agent agrees too. Contrarian's job is to assume the consensus is wrong and find out what that world looks like. It steel-mans the proposal first, audits the unstated assumptions, runs a pre-mortem, and checks each objection before it calls it serious.
Use it for pre-mortems, architecture reviews, decision validation, or "should we even do this?" questions. It also works on plans that have nothing to do with code. It isn't a code reviewer: it challenges strategy, approach, and hidden risks.
It ships two ways. Claude Code gets a contrarian subagent and a contrarian skill. Every other harness gets the skill, which tells the agent to run the analysis in a fresh subagent when it can. It installs in Claude Code, Claude Desktop and claude.ai, Codex, Antigravity CLI, Cursor, Devin CLI, Factory Droid, Gemini CLI, GitHub Copilot CLI, Grok Build CLI, Hermes Agent, Kimi Code, OpenCode, Pi, Qwen Code, Muse, and Muse Code.
Install
Claude Code
claude plugin marketplace add aaddrick/contrarian
claude plugin install contrarian@contrarian
This adds the contrarian:contrarian subagent and the contrarian:contrarian skill. Ask Claude to "run the contrarian agent on this plan", or load the skill by hand:
/contrarian:contrarian
To skip the plugin and keep only the subagent, copy the agent file into your user or project agents folder:
curl -fsSL --create-dirs -o ~/.claude/agents/contrarian.md https://raw.githubusercontent.com/aaddrick/contrarian/main/.claude/agents/contrarian.md
Claude Desktop, Cowork, and claude.ai
Step 1. Open Customize > Plugins, select Add, then Add marketplace.
Step 2. Choose Add from a repository.
Step 3. Enter aaddrick/contrarian. Leave Sync automatically on so the plugin updates when this repository does. Then select Sync.
Step 4. Select Add next to Contrarian.
Step 5. Claude confirms the plugin is installed. It also appears in the desktop app and Cowork on the same account.
Codex CLI and Codex app
Add the marketplace and install the plugin:
codex plugin marketplace add aaddrick/contrarian
codex plugin add contrarian@contrarian
Check that it installed:
codex plugin list
The Codex app reads the same Codex config, so the plugin shows up there too. Open Plugins in the sidebar to see it.
Start a new thread. Codex loads the skill when the task matches. To load it by hand, type:
$contrarian:contrarian
Antigravity CLI
agy plugin install https://github.com/aaddrick/contrarian
Check that it installed:
agy plugin list
Start a new session. Antigravity CLI loads the skill when the task matches. To load it by hand, type:
/contrarian:contrarian
Coming from Gemini CLI? If agy plugin import gemini brought this extension over, run the install command above anyway so the current copy replaces the imported one.
Cursor
In Cursor Agent chat, type:
/add-plugin https://github.com/aaddrick/contrarian
Similar plugs
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local…
Why use many token when few token do trick. Viral skill + proxy for coding agents that cuts 65% of tokens by talking like a caveman.
Persistent Context Across Sessions for Every Agent, Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future…
Production-grade engineering skills for AI coding agents.