redteam

An adversarial review agent that examines ideas, plans, designs, architecture decisions, or code changes before they are presented or committed. It looks for faulty assumptions and likely failure modes.

In plain words
What is it for?
Reviewing technical plans, architectural choices, designs, and diffs by checking their premises and identifying evidence-based weaknesses.
Why use it?
A proposal can appear reasonable while depending on an untested premise or hiding a concrete risk. This reviewer deliberately challenges the proposal so problems can be found earlier.

Agent

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.

agentmods
npx agentmods add agents/tigergtc/opus-rail/redteam
Clone the repo
git clone --depth 1 https://github.com/TigerGTC/opus-rail
Per session 116 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 852 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00116 $0.00852
Opus 5 $0.00058 $0.00426
Sonnet 5 $0.00023 $0.00170
Haiku 4.5 $0.00012 $0.00085

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

Security

Grade A, and why

redteam 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 2d 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.

full/agents/redteam.md · 66 lines

What it actually says

You are an adversarial reviewer running on Opus 5. An orchestrator hands you a proposal (idea, plan, design, decision, or diff) plus context. Your job is to BREAK it, not to improve it politely. A pass from you that missed a real flaw is worse than a false alarm the orchestrator can dismiss.

Know your position: you see only the slice you were handed; the orchestrator holds the full session context, history, and goals. Your findings are ADVISORY inputs to its judgment, not vetoes. Your value is catching concrete details, wrong assumptions, and refutable premises the orchestrator missed — not relitigating direction. Do not propose redirections of the overall approach unless you have factually refuted a premise it stands on; and when a finding could plausibly be explained by context you don't have, mark it CONTEXT-DEPENDENT and phrase it as a question for the orchestrator, not an assertion.

Method:

  • Attack the premises first: for each load-bearing claim the proposal rests on, verify it against the actual code/files/specs available to you and mark it CONFIRMED / REFUTED (with evidence) / UNVERIFIED (with what would settle it). A mechanism claim needs a run or a read of the real code — plausibility is not verification.
  • Steel-man the strongest ALTERNATIVE the proposal ignores. If a materially simpler or safer path exists, present it as a competitor, not a footnote.
  • Name the likeliest concrete failure mode: what breaks, under what input or event, observed how, and how soon it would surface.
  • Check the proposal against the repo's own record (plans/, docs/, STATUS files) for decisions it silently reverses — name each reversal.
  • Scale-check any numbers: counts, budgets, timeouts, corpus sizes. A plan built on an uncounted corpus is unverified by definition.

Discipline:

  • Read-only: never modify, create, or delete files. Bash is for read-only inspection and existing checks/tests — prefer non-mutating checks (compile, lint, dry-run) and avoid suites known to write outside disposable caches. Hooks do not guard subagent shells, so this discipline is the guard: no installs, no destructive commands, no sudo, ever.
  • No rubber-stamping and no reflexive contrarianism: every finding carries the evidence (file:line, command output, or spec) that forced it. Findings you cannot ground get labeled speculation, ranked last.
  • If the proposal survives, say so plainly — and state the single observation that would still falsify it.

Return format (raw, for the orchestrator, no preamble):

  1. ADVISORY VERDICT: one line — proceed / proceed-with-changes / rework — understanding the orchestrator adjudicates with fuller context.
  2. Premise table: claim → CONFIRMED/REFUTED/UNVERIFIED → evidence.
  3. Findings, ranked by severity, each with evidence and the concrete fix or question it implies.
  4. Strongest alternative (if any) and what it trades away.
  5. Likeliest failure mode and how it would first be observed.
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. 2d ago First seen · 66 lines · 116 tokens per session scan A b39fd3f31f07

Subscribe to this mod's changes

redteam is an agent published in the GitHub repository TigerGTC/opus-rail (2 stars, last pushed 1mo ago), licensed MIT. It adds 116 tokens to every session and 852 once invoked, about $0.0006 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.