red-team-review

red-team-review is a skill for Claude Code from richfrem/agent-plugins-skills. It costs 87 tokens per session (1,201 once invoked), scanned A, original, MIT.

An iterative review workflow in which one or more critical reviewers examine research, designs, decisions, or security work until they approve it. A red-team review deliberately looks for weaknesses and overlooked risks.

In plain words
What is it for?
Use it to prepare review material, send it to architecture, security, or test-focused reviewers, and repeat revisions until approval.
Why use it?
It provides independent scrutiny before work is accepted, helping expose errors, security problems, and edge cases.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Codex.

Part of the agent-orchestration plugin — 9 skills shipped together

Good fit Use it to prepare review material, send it to architecture, security, or test-focused reviewers, and repeat revisions until approval.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/richfrem/agent-plugins-skills/red-team-review
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.

Any agent
npx skills add richfrem/agent-plugins-skills --skill red-team-review
Clone the repo
git clone --depth 1 https://github.com/richfrem/agent-plugins-skills

Made for: Claude Code.

Or install agent-orchestration, the plugin that ships this one along with the rest of its 9 skills.

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-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/richfrem/agent-plugins-skills/red-team-review/github.svg)](https://agentmods.dev/skills/richfrem/agent-plugins-skills/red-team-review)
Your own site
<a href="https://agentmods.dev/skills/richfrem/agent-plugins-skills/red-team-review"><img src="https://agentmods.dev/badge/skills/richfrem/agent-plugins-skills/red-team-review/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-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/richfrem/agent-plugins-skills/red-team-review"><img src="https://agentmods.dev/badge/skills/richfrem/agent-plugins-skills/red-team-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 87 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,201 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.00087 $0.01201
Opus 5 $0.00044 $0.00600
Sonnet 5 $0.00017 $0.00240
Haiku 4.5 $0.00009 $0.00120

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

Security

Grade A, and why

red-team-review 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 6d 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/agent-orchestration/skills/red-team-review/SKILL.md · 57 lines

How it starts

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

Red Team Review Loop

An iterative review loop where research is bundled via context-bundler and dispatched to one or more adversarial reviewers. The loop continues until the red team approves.

When to Use

  • Architecture or design decisions that need adversarial scrutiny
  • Research findings that need epistemic validation
  • Security analysis that needs independent verification
  • Any work product where "more eyes" reduce risk

Process Flow

  1. Research & Analyze — Deep-dive into the problem domain. Create analysis docs, capture sources.
  2. Review Packet Generation — Prepare the context for the reviewer:
    • Create Prompt: Write or update a red-team-prompt.md explaining exactly what is being reviewed and what the reviewer should focus on.
    • Define Manifest: Update a manifest.json or equivalent list dictating which source files and research artifacts to include.
    • Bundle Context: Execute the context-bundler skill (dev-utils) in Multi-Persona Fan-Out Mode, feeding it the manifest and prompt, to compile one review packet per persona in the Graph Planning Phase 1 Fan-Out Trio: Architecture Skeptic, Security / Edge-Case Auditor, TDD Contract Reviewer — per graph-planning-superpowers-policy.md §2.2-2.3. Use a narrower single-persona bundle only when the review scope is genuinely single-dimensional (e.g. a pure security patch).
    • Iteration Directory Isolation: Bundle the context and save the output to explicitly isolated directories (e.g., .history/review-iteration-1/) so that when the Red Team forces a rewrite, the baseline artifact is never destructively overwritten. 2.5. Interactively Determine CLI and Model (ask once during bootstrap): Before dispatching context bundles to CLI agents:
    • Interactively ask the user: "Which LLM CLI backend should be used for the adversarial review?" (Options: agy, claude, copilot, codex, llama).
    • Ask: "Which specific model should be used?" (Present defaults, e.g., Claude Opus 4.6 (Thinking) for high reasoning or Gemini 3.5 Flash (Low) for fast scans).
    • Ensure you append < /dev/null to the run command to prevent SIGTTIN hangs in headless execution engines.
  3. Dispatch to Reviewers — Send each persona's bundle (in parallel, one dispatch per persona) using the selected CLI and model to:
    • Human reviewers (paste-to-chat or browser)
    • CLI agents with matching personas: architect-review (Architecture Skeptic), security-auditor (Security / Edge-Case Auditor), tdd-contract-reviewer (TDD Contract Reviewer) — all in cli-agents
    • Browser-based agents for interactive review
  4. Receive Feedback — Capture the red team's verdict:
    • "More Research Needed" → Loop back to step 1 with targeted questions
    • Convergence Limit: Track the total round count across the whole loop (not per-issue). If 2-3 rounds pass without an "Approved" verdict, stop looping — escalate the outstanding disagreement to the Orchestrator/User for a tie-breaking decision rather than continuing to iterate. This is distinct from the same-issue deadlock-breaker in references/fallback-tree.md — either condition ends the loop.
    • Asynchronous Benchmark Metric Capture: Explicitly log the total_tokens and duration_ms used by the adversarial agent during this specific iteration into an evals/timing.json file to calculate the true cost of approval. 4.5. Trust But Verify & TDD (Verification Gate): Do not blindly trust the reviewer's approval or feedback:
    • TDD Enforcement: Prioritize running unit and integration tests to ensure no regressions were introduced by any accepted recommendations.
    • Delta Inspection: Check modified files directly for stubs, stales, or placeholders.
    • Verify Critic Quality: Verify that the critic model's feedback is comprehensive and is not simply agreeing without actual critique.
  5. Completion & Handoff — Once the Red Team verdicts "Approved":
    • Terminate the review loop.
    • Pass the final, approved research and feedback documents back to the Orchestrator.
    • DO NOT attempt to seal the session or run a retrospective. The Orchestrator handles that.

Read the full file on GitHub · 57 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 6d ago Changed 65abe40b3759
  2. 10d ago First seen · 57 lines · 87 tokens per session scan A 60ea4cc10c2c

Subscribe to this mod's changes

red-team-review is a skill published in the GitHub repository richfrem/agent-plugins-skills (6 stars, last pushed today), licensed MIT. It adds 87 tokens to every session and 1,201 once invoked, about $0.0004 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 skills, from other repositories

review-pr

Review a pull request (GitHub) or merge request (GitLab) and provide detailed feedback.

desplega-ai/agent-swarm · 22 tokens

ship-it-or-fix-it

Oracle-frozen Builder and independent-Judge convergence cycle. Load ONLY when the operator explicitly sets Governance Dial G2 for the task, or explicitly names this skill or an active work unit already running it. Never auto-activate on task class, such as security, auth, or payments. If a task seems to warrant G2 and…

Ezra144israel/governed-agent-skills · 98 tokens

test-verification

Requires behavioral, failure-path, and durable-seam evidence for tests and review. Use when writing tests, reviewing test coverage, assessing behavioral test quality, or accepting high-risk behavior on test evidence.

Ezra144israel/governed-agent-skills · 43 tokens

code-review

Perform comprehensive code reviews covering bugs, style, performance, security, and best practices. Use this skill when the user mentions: review my code, check this code, code review, find bugs, improve code, refactor suggestions, security audit, performance optimization, code quality, static analysis.

KarmaloopAI/Jiva · 61 tokens

concept-audit

A read-only audit skill for checking code against Daniel Jackson concept models, which describe independent parts of a system and how they work together.

ontology-of-everything/SemanticSkills · 53 tokens

weave-review

Weave code review — run independent adversarial reviews in parallel, then synthesize findings.

tony/skills · 21 tokens