MITupdated 23d ago
Announce: "Using the redteam skill to adversarially audit ."
What can you do with Redteam?
name: redteam description: Use when a decision, design, diff, or PR needs adversarial third-person scrutiny before it is accepted or merged. Spawns independent opponents that argue the opposite and demand evidence, then returns a deterministic per-decision verdict (cleared / revise / blocked) and an overall gate. Use inside the worker gauntlet, before any autonomous merge, or any time a choice should be stress-tested.
Red Team — Adversarial Decision Auditor
Announce: "Using the redteam skill to adversarially audit ."
Question every material decision in opposition, in the THIRD PERSON, and force an evidence-backed defense or a revision. Default stance: a decision is NOT justified until its defense survives opposition.
When to use
- Inside the
workergauntlet (self-redteam after implementation; intent-check before merge). - Before any autonomous merge on a real-money surface.
- Any time you want to stress-test a design, diff, or PR.
Inputs
- Target: a decision list, design doc, diff, or PR number.
- Intent: the issue's acceptance criteria + the mission spec's success criteria + constraints.
Procedure (follow exactly)
-
Frame. State the target and the intent in 2-3 lines. If the intent is missing, get it before proceeding — you cannot judge a decision without knowing what it is for.
-
Extract decisions. Enumerate the material decisions (see
references/severity-rubric.md, "What counts as a material decision"). For each record:id, a one-linesummary, thesurfaceit touches (standard vs elevated, per the rubric), and aseverityestimate. -
Oppose. For each decision, dispatch independent opponent subagents using
references/opponent-prompt.mdverbatim (fill the {{slots}}):- standard surface: 3 opponents
- elevated surface: 5 opponents Dispatch them concurrently — one message, multiple Agent calls.
-
Defend / revise. Collect each opponent's JSON verdict. For every refutation, answer with concrete evidence (code, tests, spec citation). An unanswered or hand-waved refutation STANDS (it counts as
refuted: true). Do not perform agreement; cf. superpowers:receiving-code-review. -
Aggregate (deterministic). Write the opponent results as JSON in the
references/verdict-format.mdinput schema, then run:node bin/aggregate.mjs <opponents.json>It applies the majority/unanimous + severity-floor rules and prints the per-decision verdict and the overall gate. Do not compute the verdict by hand. -
Report. Emit the human-facing report (
references/verdict-format.md): per decision — challenged alternative, the agent's defense, verdict, severity, required action — then the finalGATE: pass|failline.
Rules
- Elevated-surface decisions require a UNANIMOUS clear; any standing refutation fails them.
- The gate passes only if EVERY decision is
cleared. Bothreviseandblockedfail the gate. - Never soften a verdict to be agreeable. The opponents' job is to be right, not kind.
- If
aggregate.mjsexits non-zero or prints an error instead of a verdict, treat the gate as FAILED (fail closed). Never read a missing verdict as a pass.
Install
Add Redteam to your client. Pick the one you use.
npx skills add Yadheedhya06/jeyd-engineering-osInstalls every skill in the repository, then prompts for which to keep.
/plugin marketplace add Yadheedhya06/jeyd-engineering-osAdds the repository as a plugin marketplace; install individual plugins with `/plugin install`.
git clone https://github.com/Yadheedhya06/jeyd-engineering-os
cp -r skills/redteam ~/.claude/skills/A skill is a plain directory. Copy it into `.claude/skills/` in a project or in your home directory.
Score
62 / 100
Good