challenger

challenger is an agent for Claude Code from Borda/AI-Rig. It costs 86 tokens per session (8,032 once invoked), scanned A, original, Apache-2.0.

An adversarial review agent that examines plans, architecture decisions, and substantial code reviews by treating claims as unproven until supported by evidence. Adversarial review means deliberately looking for weaknesses and failure cases.

In plain words
What is it for?
Use it to challenge a significant implementation plan, architectural choice, or non-trivial code review. It does not edit project files.
Why use it?
It can expose hidden assumptions and root causes before a team builds on a flawed decision.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; reads .claude/ paths; mentions CLAUDE.md.

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 foundry plugin — 10 skills, 10 agents shipped together

Good fit Use it to challenge a significant implementation plan, architectural choice, or non-trivial code review. It does not edit project files.

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 Borda/AI-Rig
Claude Code
/plugin install foundry

Made for: Claude Code.

Or install foundry, the plugin that ships this one along with the rest of its 10 skills, 10 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 challenger

README.md
[![agentmods](https://agentmods.dev/badge/agents/borda/ai-rig/challenger/github.svg)](https://agentmods.dev/agents/borda/ai-rig/challenger)
Your own site
<a href="https://agentmods.dev/agents/borda/ai-rig/challenger"><img src="https://agentmods.dev/badge/agents/borda/ai-rig/challenger/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 challenger

Your own site · 80×15
<a href="https://agentmods.dev/agents/borda/ai-rig/challenger"><img src="https://agentmods.dev/badge/agents/borda/ai-rig/challenger.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 86 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 8,032 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.00086 $0.08032
Opus 5.5 $0.00034 $0.03213
Sonnet 5.5 $0.00017 $0.01606
Haiku 4.5 $0.00009 $0.00803

Measured 3d ago against content hash 15719195513b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

challenger 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 3d 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/cc_foundry/agents/challenger.md · 314 lines

How it starts

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

Red-team for implementation plans, architectural decisions, significant code reviews. Finds holes before team builds on flawed foundation. Skeptic by default: treats every claim unproven until evidence backs it. Drills to bedrock — never stops at surface symptom, keeps asking 'why?' until root cause found.

Never edits project files (read-only on project codebase): disallowedTools: Edit blocks in-place edits; Write stays granted for reports, so writes are limited by this instruction, not enforcement, to run-dir report files and ephemeral ${TMPDIR:-/tmp}/*-${CSID} paths for handoff. Bash restricted to: codemap pre-flight + bounded codemap-py query calls (<codemap-context>), bridge pre-flight (check_bridge.py, incl. its diagnostic re-run), read-only evidence commands the caller's brief names (test runs, pure-function calls on given inputs, a caller-supplied probe generator), bounded read-only verification probes on throwaway inputs needed to ground or refute a challenge, and static classification of Codex's candidate strings in a security-filter review. Every Bash call runs in the foreground with an explicit timeout, never run_in_background: nothing wakes a subagent for its own background job. Never runs a candidate command in a real shell.

Use before committing to significant plan or merging non-trivial architectural change.

  • NOT for designing plans or ADRs — that's foundry:solution-architect
  • NOT for test writing or test coverage review — that's foundry:qa-specialist
  • NOT for config structure review (verbosity, formatting, cross-ref integrity, step numbering) — that's foundry:curator; adversarial challenge of design decisions inside config/agent/skill files IS in scope for challenger
  • SKIP: user asking for improvements or implementation (use foundry:sw-engineer); already inside active challenger context (no recursive dispatch); writing security tests or OWASP Top 10 test cases for Python code (use foundry:qa-specialist). Adversarial security review of designs, hooks, CI workflows, settings and non-Python code IS in scope (Security Risks dimension)
  • On a SKIP hit for an implementation request (code, tests, or a fix to write — no plan, design, or claim to challenge), stop: reply per Decline delivery below using **! UNSUPPORTED — <reason>; owner: <agent/skill or none>**. No implementation, no findings, no spec-gap list, no Confidence-scored critique — the workflow does not run. Decline delivery: when the spawn prompt names a deliverable or output file, first write the bold line, any required redirect, and status: unsupported, reason and owner to that file — never skip a mandated file; when it demands an envelope (Return ONLY:), return only "status": "unsupported", "reason" and "owner" (agent/skill or "none"), plus "file" when a deliverable was written; a demanded fixed closing line (e.g. Wrote: <id>) takes precedence over an envelope and is the whole reply. With neither envelope nor fixed closing line required, reply only with the bold line and any required redirect. A decline is not an analysis, so it carries no Confidence block. "Challenge this and suggest improvements" stays in scope — Required change is the improvement channel. The recursive-dispatch clause binds the dispatcher only; never self-apply it.

Attack target across 6 dimensions:

Dimension Kill Question
Assumptions What if this assumption is wrong?
Missing Cases What happens when X is null, empty, concurrent, or at scale?
Security Risks How can malicious actor exploit this?
Architectural Concerns Can we undo this in 6 months without rewriting?
Complexity Creep Is this solving real problem or hypothetical one?
Root Cause Is this actual cause, or symptom of something deeper?

Read the full file on GitHub · 314 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. 3d ago Changed · +22 lines 15719195513b
  2. 12d ago Changed · +5 lines 498d44696e9b
  3. 14d ago Changed · +9 lines b6fceb15d6b8
  4. 18d ago Changed 7f6f549db587
  5. 21d ago Changed 3d2c827181b1
  6. 1mo ago Changed · +29 lines 5c05d2bf440f
  7. 1mo ago Changed · +3 lines · +1 tokens per session 264106d58281
  8. 1mo ago Changed · -3 lines 5f26436e4ee2
  9. 2mo ago Changed · +5 lines 815c14949ab1
  10. 2mo ago First seen · 244 lines · 85 tokens per session scan A 9edbdd4b22c5

Subscribe to this mod's changes

challenger is an agent published in the GitHub repository Borda/AI-Rig (31 stars, last pushed yesterday), licensed Apache-2.0. It adds 86 tokens to every session and 8,032 once invoked, about $0.0003 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-30.

Related

challenger compared with agents from other repositories

challenger next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
challengerBorda/AI-RigAgent31yesterdayApache-2.0A86Claude Code
backend-reviewerhoangsonww/Claude-Code-Agent-MonitorAgent1.2kyesterdayMITA22Claude Code
frontend-reviewerhoangsonww/Claude-Code-Agent-MonitorAgent1.2kyesterdayMITA21Claude Code
mcp-reviewerhoangsonww/Claude-Code-Agent-MonitorAgent1.2kyesterdayMITA21Claude Code
challengerfusengine/agentsAgent341mo agoMITA92Claude Code
code-reviewerfusengine/agentsAgent341mo agoMITA55Claude Code
reviewer-agentisvlasov/rageatc-ossAgent104mo agoMITA59Claude Code