adversarial-orchestrator

adversarial-orchestrator is an agent for Claude Code from jimmc414/claude-code-plugin-marketplace. It costs 43 tokens per session (592 once invoked), scanned A, original, MIT.

An automated coordinator for creating and checking adversarial tests—tests designed to reveal bugs through realistic but difficult inputs.

In plain words
What is it for?
Use it to analyze code, generate candidate vulnerability tests, validate them in up to three rounds, and report an accepted bug or strong test.
Why use it?
It reduces the manual work of generating test ideas, checking whether they are valid, and refining rejected tests.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the adversarial-testing plugin — 2 skills, 3 agents shipped together

Good fit Use it to analyze code, generate candidate vulnerability tests, validate them in up to three rounds, and report an accepted bug or strong test.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/jimmc414/claude-code-plugin-marketplace/adversarial-orchestrator
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/jimmc414/claude-code-plugin-marketplace

Made for: Claude Code.

Or install adversarial-testing, the plugin that ships this one along with the rest of its 2 skills, 3 agents.

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 adversarial-orchestrator

README.md
[![agentmods](https://agentmods.dev/badge/agents/jimmc414/claude-code-plugin-marketplace/adversarial-orchestrator.svg)](https://agentmods.dev/agents/jimmc414/claude-code-plugin-marketplace/adversarial-orchestrator)
Your own site
<a href="https://agentmods.dev/agents/jimmc414/claude-code-plugin-marketplace/adversarial-orchestrator"><img src="https://agentmods.dev/badge/agents/jimmc414/claude-code-plugin-marketplace/adversarial-orchestrator.svg" alt="Measured on agentmods" height="20"></a>
Per session 43 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 592 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.00043 $0.00592
Opus 5 $0.00022 $0.00296
Sonnet 5 $0.00009 $0.00118
Haiku 4.5 $0.00004 $0.00059

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

Security

Grade A, and why

adversarial-orchestrator 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 8d 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.

plugins/adversarial-testing/agents/adversarial-orchestrator.md · 84 lines

How it starts

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

You are the Adversarial Test Orchestrator. You coordinate the adversarial testing workflow.

Workflow

Step 1: Initial Analysis

Task the adversarial-generator to analyze the target code:

  • Identify functions to test
  • Map contracts and realism bounds
  • Generate initial vulnerability hypotheses

Step 2: Generation-Validation Loop

Execute up to 3 iterations:

FOR iteration IN 1..3:
    1. Task adversarial-generator:
       - Generate a candidate test
       - Provide any feedback from previous rejection

    2. Task adversarial-validator:
       - Validate the generated test
       - Run 4-phase pipeline

    3. Parse validator JSON response:
       - ACCEPTED_BUG_FOUND: Report success, output test + bug description. STOP.
       - ACCEPTED_STRONG_TEST: Report success, output test. STOP.
       - REJECTED: Extract feedback, continue to next iteration.
       - NEEDS_VERIFICATION: Ask user to clarify spec. PAUSE.

IF 3 iterations exhausted without acceptance:
    Report: "No valid adversarial test found. Possible reasons:
    - Code may be robust against common attack patterns
    - Target function may have limited vulnerability surface
    - Consider manual review of [list attempted approaches]"

Step 3: Output

For accepted tests, provide:

## Adversarial Test Result

**Status:** [BUG_FOUND / STRONG_TEST]
**Target:** `path/to/file.py::function_name`
**Iterations:** N

### Test Code
[Complete test file]

### Bug Description (if BUG_FOUND)
- **What:** [Description of the bug]
- **Impact:** [What would happen in production]
- **Fix Suggestion:** [How to fix it]

### Validation Summary
- Realism: Within 3-sigma bounds
- Oracle: Verified against specification
- Mutation: [Killed / N/A]

Constraints

  • Maximum 3 iterations - Stop to avoid resource waste
  • No direct code execution - Always use the Validator agent
  • Respect NEEDS_VERIFICATION - Don't guess at ambiguous specs
  • Track all attempts - Report what was tried if ultimately unsuccessful

Read the full file on GitHub · 84 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. 8d ago First seen · 84 lines · 43 tokens per session scan A 5c6217c1d702

Subscribe to this mod's changes

adversarial-orchestrator is an agent published in the GitHub repository jimmc414/claude-code-plugin-marketplace (4 stars, last pushed yesterday), licensed MIT. It adds 43 tokens to every session and 592 once invoked, about $0.0002 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

ecosystem-specialist

Multi-language build, test, and lint specialist. Detects which ecosystems a change set touches and runs the correct verification commands for each. Use proactively after code changes, or when the user says 'build', 'test', 'lint', or 'check'.

melodic-software/claude-code-plugins · 56 tokens

test-generator

Generates comprehensive test suites using TDD patterns. Use when writing tests, improving coverage, or implementing test-first development.

travisjneuman/.claude · 27 tokens

test-generator

Test generator for Shopware 6 tests. Execution environment for test generation skills — do not invoke directly. Skills fork into this agent via context: fork. Does not review tests — use the appropriate reviewer agent for that.

shopwareLabs/ai-coding-tools · 47 tokens

test-expert-csk

Test expert. Use proactively after new handler/endpoint/agent behavior is added: writes and runs unit/integration tests and guarantees the DoD's "tests are green".

byerlikaya/claude-starter-kit · 41 tokens

implementer

Scope-fenced implementation worker dispatched per phase by /implementation:implement-dispatch (directly, or chained from callers such as /work-items:work): executes exactly one brief inside its assigned or self-provisioned worktree, commits and pushes early, and returns a verdict plus identifiers. Not intended for…

melodic-software/claude-code-plugins · 70 tokens

test-engineer

Writes and runs unit tests verifying the change and preventing regressions. Follows project test framework conventions.

asysta-act/agent-flow · 24 tokens