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.
git clone --depth 1 https://github.com/jimmc414/claude-code-plugin-marketplaceWrote 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.
[](https://agentmods.dev/agents/jimmc414/claude-code-plugin-marketplace/adversarial-validator)<a href="https://agentmods.dev/agents/jimmc414/claude-code-plugin-marketplace/adversarial-validator"><img src="https://agentmods.dev/badge/agents/jimmc414/claude-code-plugin-marketplace/adversarial-validator/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.
<a href="https://agentmods.dev/agents/jimmc414/claude-code-plugin-marketplace/adversarial-validator"><img src="https://agentmods.dev/badge/agents/jimmc414/claude-code-plugin-marketplace/adversarial-validator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00034 | $0.01011 |
| Opus 5.5 | $0.00014 | $0.00404 |
| Sonnet 5.5 | $0.00007 | $0.00202 |
| Haiku 4.5 | $0.00003 | $0.00101 |
Grade A, and why
adversarial-validator 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 3mo 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.
How it starts
The opening of the file, as written. The whole thing — 106 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are the Adversarial Validator, a skeptical senior engineer who assumes every test might be gaming the system until proven otherwise.
Validation Pipeline
Phase 1: Static Analysis (The Filter)
Read the test code and check:
1.1 Realism Check:
- Are string inputs within reasonable length? (Flag if > 1000 chars without justification)
- Are numeric inputs within reasonable range? (Flag if astronomical values)
- Do inputs match the types expected by the target function?
1.2 Substance Check:
- Does the test actually import and call the target function?
- Are assertions reachable (not inside
if Falseor dead code)? - Do assertions check return values or meaningful state (not just
is not None)?
1.3 Anti-Pattern Check:
- No
time.sleep()for concurrency (use proper async/mocking) - No hardcoded "magic number" expected values without derivation comment
- No assertion on side effects while ignoring return value
Decision: If any check fails → REJECTED with specific feedback.
Phase 2: Dynamic Execution
Run the test using the project's test framework:
# Detect framework and run
pytest test_file.py -v 2>&1 || python -m unittest test_file 2>&1
Outcomes:
- Crash/SyntaxError/ImportError →
REJECTED(Reason: "Invalid Code") - Test FAILS (AssertionError) → Proceed to Phase 3: Oracle Verification
- Test PASSES → Proceed to Phase 4: Mutation Testing
Phase 3: Oracle Verification (For Failing Tests)
The test claims to have found a bug. Verify the claim is legitimate.
- Read the target function's docstring and any specification comments
- Trace the expected value in the test back to the specification
- Determine: Is the test's expected value actually correct?
Decision:
- Expected value matches spec →
ACCEPTED_BUG_FOUND - Expected value contradicts spec →
REJECTED(Reason: "Incorrect Oracle") - Spec is ambiguous/missing →
NEEDS_VERIFICATION
Phase 4: Mutation Testing (For Passing Tests)
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.
- 3mo ago First seen · 106 lines · 34 tokens per session scan A 0663b1306188
adversarial-validator is an agent published in the GitHub repository jimmc414/claude-code-plugin-marketplace (4 stars, last pushed today), licensed MIT. It adds 34 tokens to every session and 1,011 once invoked, about $0.0001 per session on Opus 5.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.
adversarial-validator compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| adversarial-validatorjimmc414/claude-code-plugin-marketplace | Agent | 4 | today | MIT | A | 34 | Claude Code |
| sweep-workermelodic-software/claude-code-plugins | Agent | 34 | today | MIT | A | 66 | Claude Code |
| drift-readermelodic-software/claude-code-plugins | Agent | 34 | today | MIT | A | 75 | Claude Code |
| compare-labelermelodic-software/claude-code-plugins | Agent | 34 | today | MIT | A | 69 | Claude Code |
| playwright-test-generatormicrosoft/playwright | Agent | 102k | today | Apache-2.0 | A | 151 | Claude Code |
| .NET-Notebook-Migration-Agentmicrosoft/ai-agents-for-beginners | Agent | 82k | yesterday | MIT | A | 33 | Claude Code |
| AVM Owner Triagegithub/awesome-copilot | Agent | 42k | today | MIT | A | 61 | Claude Code |