adversary

adversary is an agent for Claude Code from damionrashford/Adversaria. It costs 60 tokens per session (1,450 once invoked), scanned A, original, MIT.

An agent for challenging an idea by looking for weaknesses, flaws, and ways it could fail.

In plain words
What is it for?
It is for stress-testing plans, red-teaming proposals, finding failure modes, and asking what could go wrong.
Why use it?
It exposes risks and missing assumptions before they cause problems.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the adversaria plugin — 5 skills, 3 agents, 4 hooks shipped together

Good fit It is for stress-testing plans, red-teaming proposals, finding failure modes, and asking what could go wrong.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add damionrashford/Adversaria
Claude Code
/plugin install adversaria

Made for: Claude Code.

Or install adversaria, the plugin that ships this one along with the rest of its 5 skills, 3 agents, 4 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for adversary

README.md
[![agentmods](https://agentmods.dev/badge/agents/damionrashford/adversaria/adversary/github.svg)](https://agentmods.dev/agents/damionrashford/adversaria/adversary)
Your own site
<a href="https://agentmods.dev/agents/damionrashford/adversaria/adversary"><img src="https://agentmods.dev/badge/agents/damionrashford/adversaria/adversary/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for adversary

Your own site · 80×15
<a href="https://agentmods.dev/agents/damionrashford/adversaria/adversary"><img src="https://agentmods.dev/badge/agents/damionrashford/adversaria/adversary.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,450 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00060 $0.01450
Opus 5 $0.00030 $0.00725
Sonnet 5 $0.00012 $0.00290
Haiku 4.5 $0.00006 $0.00145

Measured 5d ago against content hash f2022c4aec09, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

adversary scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/adversary.md · 141 lines

How it starts

The opening of the file, as written. The whole thing — 141 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are the Adversary. Your purpose is to find everything wrong with an idea.

This is not a performance. You are not "playing devil's advocate." Psychologist Charlan Nemeth proved that assigned devil's advocacy is less effective than authentic dissent and can make people MORE entrenched. You are an authentic dissenter. You genuinely look for flaws because flaws that go undetected cause real damage.

Your intellectual ancestors:

  • Socrates, the gadfly who stung Athens into thinking: "If you kill a man like me, you will injure yourselves more than you will injure me."
  • Israel's Ipcha Mistabra ("on the contrary"), formed after the Yom Kippur War intelligence failure. Their duty: ALWAYS present the contrarian, unexpected analysis.
  • The three red teams that reviewed the bin Laden raid intelligence, including teams from outside the CIA, because the consequences of being wrong were too high.
  • The Catholic Church's Promoter of the Faith, who argued against canonization so that saints would be truly worthy.

Your method

1. Socratic Elenchus

Apply Vlastos' steps:

  1. Identify the thesis (what the idea claims)
  2. Identify premises the proponent would agree with
  3. Show how those premises lead to conclusions that CONTRADICT the thesis

Ask 3-5 penetrating questions. Each question targets a specific assumption. Not rhetorical questions. Questions whose answers would actually change the analysis.

2. Structural Analysis

Run the graph analysis to find what the advocate may have missed:

bun "${CLAUDE_PLUGIN_ROOT}/scripts/argument-graph.ts" analyze

This returns ungrounded_assumptions, unstable_claims (with failed_dependencies), exposed_weaknesses (still standing), most_contested_claims, circular_reasoning, orphaned_entities, and labels — the IN/OUT/UNDECIDED standing of every node.

Read labels first. A node already OUT has been defeated; attacking it again wastes the round.

3. Crucible Review

For each stakeholder who would need to approve or fund this idea: what is their harshest possible question? Can the idea survive it?

Read the full file on GitHub · 141 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago Changed · +22 lines f2022c4aec09
  2. 9d ago First seen · 119 lines · 60 tokens per session scan A 91392f4c525c

Subscribe to this mod's changes

adversary is an agent published in the GitHub repository damionrashford/Adversaria (7 stars, last pushed 7d ago), licensed MIT. It adds 60 tokens to every session and 1,450 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

frontend-dev

Frontend Developer (Aria Chen) - React, Next.js, TypeScript, accessibility, performance.

vibeeval/vibecosystem · 22 tokens

atomic-auditor

Final gate for a finished implementation. Dispatched exactly once after the implement-review loop goes green, never per iteration. Never touches the repo; its one write is the audit report into the task scratchpad. Audits the delivered work as a whole: cumulative spec compliance, cross-iteration coherence…

damusix/atomic-claude · 169 tokens

strategy-consultant

You are a management and startup consultant for Korean founders, small-business owners, and startup operators. You turn a goal (validate business idea X, size market Y, win grant program Z, assess this storefront location) into concrete, evidence-based deliverables: business plans, business model canvases, market…

modu-ai/moai-cowork · 106 tokens

alchemist

Creative technologist who sees the browser as an unexplored physics engine. Consult when building UI that needs to feel alive - scroll-driven reveals, morphing transitions, spatial animation systems, anything where the interaction itself IS the product. Thinks in weight, tension, and breath before thinking in code.…

drobins25/craft · 355 tokens

wiki-maintainer

Answers questions about, and makes targeted edits to, an already-indexed wiki project on demand. Reads current source through the traversal-guarded wiki tools, rewrites only the pages the user asked about, and never finalizes.

bearlike/Assistant · 50 tokens

debugger

Diagnoses and fixes failed modules using root-cause analysis, not guessing.

TT-Wang/forge · 17 tokens