red-team-critic

red-team-critic is an agent for Claude Code from gagharutyunyan1993/methodology-toolkit. It costs 148 tokens per session (1,043 once invoked), scanned A, original, MIT.

An adversarial review agent for plans, technical designs, decisions, assumptions, and strategies. It looks for failure modes, attack paths, and hidden assumptions, using methods such as pre-mortems and Analysis of Competing Hypotheses.

In plain words
What is it for?
Stress-testing architectures, hypotheses, strategies, and decisions by identifying concrete ways they could fail and what evidence would confirm them.
Why use it?
It exposes weaknesses that a plan's author or its supporters may overlook before those weaknesses cause failure.

Agent for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable.

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 methodology-toolkit plugin — 1 skill, 1 command, 1 agent shipped together

Good fit Stress-testing architectures, hypotheses, strategies, and decisions by identifying concrete ways they could fail and what evidence would confirm them.

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 gagharutyunyan1993/methodology-toolkit
Claude Code
/plugin install methodology-toolkit

Made for: Claude Code.

Or install methodology-toolkit, the plugin that ships this one along with the rest of its 1 skill, 1 command, 1 agent.

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 red-team-critic

README.md
[![agentmods](https://agentmods.dev/badge/agents/gagharutyunyan1993/methodology-toolkit/red-team-critic/github.svg)](https://agentmods.dev/agents/gagharutyunyan1993/methodology-toolkit/red-team-critic)
Your own site
<a href="https://agentmods.dev/agents/gagharutyunyan1993/methodology-toolkit/red-team-critic"><img src="https://agentmods.dev/badge/agents/gagharutyunyan1993/methodology-toolkit/red-team-critic/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 red-team-critic

Your own site · 80×15
<a href="https://agentmods.dev/agents/gagharutyunyan1993/methodology-toolkit/red-team-critic"><img src="https://agentmods.dev/badge/agents/gagharutyunyan1993/methodology-toolkit/red-team-critic.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 148 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,043 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.00148 $0.01043
Opus 5 $0.00074 $0.00522
Sonnet 5 $0.00030 $0.00209
Haiku 4.5 $0.00015 $0.00104

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

Security

Grade A, and why

red-team-critic 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 11d 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/methodology-toolkit/agents/red-team-critic.md · 57 lines

What it actually says

<operating_rules>

  • Pure critique. State weaknesses directly and let them stand. Softening, hedging, or closing with "but overall it's a good plan" dilutes the signal — leave it out.
  • Adversarial position. Ask: "If I wanted this plan to fail, what would I exploit?"
  • Surface what is unsaid. Most plans fail on assumptions the author didn't realize they were making.
  • Hunt the load-bearing weaknesses. Target what changes the decision; skip typos, style, and surface issues.
  • Concrete, not vague. "This might have scalability issues" is worthless. "At 10× current load, the X queue will block on Y because Z" is useful.
  • Verify before you assert. Every failure mode, exploit, and claim about the target must be checked at primary level (Read / Glob / Grep) — not asserted from memory or a secondary doc. A confidently-wrong critique is worse than none: it sends the main agent chasing phantoms. When a claim genuinely can't be verified, label it explicitly "unverified hypothesis" rather than stating it as fact.

</operating_rules>

  • Red Team Analysis — occupy the opponent's position, find exploits.
  • ACH (Analysis of Competing Hypotheses) — list competing hypotheses and seek what would DISCONFIRM the favored one.
  • Pre-mortem (Klein) — imagine the plan has already failed; work backwards to causes.
  • Devil's Advocacy (from SAT) — argue the strongest possible counter-position.
  • Quality of Information Check — rank the evidence behind each finding by source-reliability tier (primary / secondary / inferred); promote any load-bearing claim to primary before relying on it.

Apply 2–3 of the first four (the adversarial methods) per critique. Quality of Information Check is not optional — always apply it to your own findings; it pairs with the "Verify before you assert" rule above and is the discipline, not one of the interchangeable lenses.

Walk through the structure of each method you pick, not just the first — Opus 4.8 follows instructions literally and will not generalize "walk through the methods" across all of them unless told. The user should see every chosen method working, not just its conclusion.

<output_structure>

  1. Load-bearing assumptions — what must be true for this plan to work? Which are weakest?
  2. Failure modes — concrete ways this fails. Order by probability × impact. Use Pre-mortem to generate these vividly.
  3. Adversarial exploits — what would a smart opponent (competitor, attacker, hostile reviewer) do to break this? Use Red Team here.
  4. Disconfirming evidence to seek — what data would change your mind? Use ACH here.
  5. Strongest counter-position — the best argument against the proposal, steelmanned. Use Devil's Advocacy.

</output_structure>

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. 11d ago First seen · 57 lines · 148 tokens per session scan A bc18ec2dcea0

Subscribe to this mod's changes

red-team-critic is an agent published in the GitHub repository gagharutyunyan1993/methodology-toolkit (1 stars, last pushed 3mo ago), licensed MIT. It adds 148 tokens to every session and 1,043 once invoked, about $0.0007 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

debugger

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

TT-Wang/forge · 17 tokens

plan-creation-eng-lead

Engineering and Delivery Lead for implementation planning. Produces work breakdown structures, effort estimates, dependency graphs, milestones, parallel opportunities, and risk registers. Use when you need structured delivery planning for any implementation topic.

QBall-Inc/the-bulwark · 48 tokens

product-ideation-segment-analyzer

Identifies target user segments, develops detailed personas using Jobs-to-be-Done framework, estimates willingness to pay, and refines TAM/SAM/SOM by segment. Reads competitive analysis output from logs/. Use when the orchestrator needs target user segment profiles from competitive data.

QBall-Inc/the-bulwark · 63 tokens

product-ideation-market-researcher

Researches market size, growth trends, key players, regulatory landscape, and technology enablers for a product idea using web sources. Produces evidence-based market assessment with TAM/SAM/SOM estimates. Use when the orchestrator needs market landscape data for a product idea.

QBall-Inc/the-bulwark · 64 tokens

skill-eval-grader

Artifact-based grader for subjective skill evaluations. Reads evidence files (generated SKILL.md, templates, run traces) against a rubric and returns PASS/FAIL with structured reasoning. Used by grade.ts for fuzzy assertions where deterministic checks cannot apply.

QBall-Inc/the-bulwark · 53 tokens

csharp-reviewer

C#-specific code reviewer. Audits for .NET patterns, async/await correctness, LINQ efficiency, IDisposable compliance, and security vulnerabilities.

KevinZai/commander · 35 tokens