Agent skill

Rational Red Blue Debate

by digoal in digoal/blog

Answer general or cross-domain questions with a non-pleasing rational mode: adversarial red-team and blue-team expert analysis, mutually exclusive conclusions, up to five debate rounds, saved…

GPL-2.0Auto-check passedSecurity

Install Rational Red Blue Debate

skills CLI
$ npx skills add digoal/blog --skill rational-red-blue-debate -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install digoal/blog rational-red-blue-debate --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/digoal/blog.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/rational-red-blue-debate .claude/skills/rational-red-blue-debate && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
rational-red-blue-debate
GitHub stars
8.6k
Token cost
~2.2k tokens
SKILL.md length
1,198 words
Files
2
Skills in repo
98
Repo updated
First seen
Licence
GPL-2.0

At a glance

Answer general or cross-domain questions with a non-pleasing rational mode: adversarial red-team and blue-team expert analysis, mutually exclusive conclusions, up to five debate rounds, saved…

  • Works in 7 steps: Restate the user's question and identify… → Form two teams with mutually exclusive… → Assign expert roles inside each team… → …
  • The user asks for rational adversarial analysis
  • SKILL.md covers Operating Mode, Workflow, Team Rules and Cross-Generation / Multi-Event…, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Rational Red Blue Debate is an agent skill from digoal/blog. Answer general or cross-domain questions with a non-pleasing rational mode: adversarial red-team and blue-team expert analysis, mutually exclusive conclusions, up to five debate rounds, saved Markdown intermediate expert outputs, and a final first-person judge-written plain-language article. Use when the user asks for rational adversarial analysis, red/blue team debate, non-flattering judgment, evidence-backed multi-expert reasoning, or a final Markdown answer to a broad question.

Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).

It sits in Security, covering Security operations, Plain language and style rules and Red teaming and adversary simulation. The repository describes itself as: AI,Opensource,Database,Business,Finance,Minds. git clone --depth 1 https://github.com/digoal/blog. The licence is GPL-2.0.

When your agent uses it

  • The user asks for rational adversarial analysis
  • Red/blue team debate
  • Non-flattering judgment
  • Evidence-backed multi-expert reasoning

Example prompts

  • “/rational-red-blue-debate”

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Restate the user's question and identify the domains involved.
  2. Form two teams with mutually exclusive conclusions
  3. Assign expert roles inside each team according to the domains involved. Use multiple roles when the question crosses domains.
  4. Gather authoritative evidence when the answer depends on current facts, statistics, laws, prices, companies, products, papers, or other…
  5. Produce and save one Markdown intermediate file per expert role.
  6. Run up to five debate rounds. Stop earlier when the core disagreements, assumptions, and falsification tests are clear.
  7. Produce a judge synthesis as a fluent first-person article for beginners and save it as Markdown.

What it can do on your machine

Read from SKILL.md and the folder at commit ad6fcb7. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Rational Red Blue Debate loads about 2.2k tokens when it runs. Until then it costs about 128 tokens; SKILL.md has 1,198 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~128
When it runs · the whole SKILL.md, loaded when a task matches
~2.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from digoal/blog at commit ad6fcb7, republished under its GPL-2.0 licence (© digoal). 1,198 words, ~2,189 tokens.

Download SKILL.mdSave it as .claude/skills/rational-red-blue-debate/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
rational-red-blue-debate
description
Answer general or cross-domain questions with a non-pleasing rational mode: adversarial red-team and blue-team expert analysis, mutually exclusive conclusions, up to five debate rounds, saved Markdown intermediate expert outputs, and a final first-person judge-written plain-language article. Use when the user asks for rational adversarial analysis, red/blue team debate, non-flattering judgment, evidence-backed multi-expert reasoning, or a final Markdown answer to a broad question.

Rational Red Blue Debate

Operating Mode

Use a calm, non-pleasing, truth-seeking tone. Do not optimize for agreement with the user. Name weak premises, missing evidence, and uncomfortable implications directly.

Default to Chinese output unless the user requests another language.

Save all Markdown outputs under the current project's markdown/ directory. Create the directory if it does not exist.

Workflow

  1. Restate the user's question and identify the domains involved.
  2. Form two teams with mutually exclusive conclusions:
    • Red team: defend one clear answer.
    • Blue team: defend the opposite or incompatible answer.
  3. Assign expert roles inside each team according to the domains involved. Use multiple roles when the question crosses domains.
  4. Gather authoritative evidence when the answer depends on current facts, statistics, laws, prices, companies, products, papers, or other unstable facts. Use primary or authoritative sources where possible.
  5. Produce and save one Markdown intermediate file per expert role.
  6. Run up to five debate rounds. Stop earlier when the core disagreements, assumptions, and falsification tests are clear.
  7. Produce a judge synthesis as a fluent first-person article for beginners and save it as Markdown.

Team Rules

The red and blue conclusions must be mutually exclusive. If the initial question is ambiguous, define the exact proposition being debated before forming teams.

Each team must strongly defend its conclusion. Do not make both sides converge into a bland compromise during the debate. Let the judge handle synthesis.

Each team must:

  • Analyze the field and choose expert roles.
  • State first-principles premises and necessary conditions.
  • Use authoritative data, cases, or documented examples.
  • Explain where its conclusion applies and where it breaks.
  • Specify how to prove or falsify its conclusion with future observations.
  • Perform a self-verification pass before saving the expert output.

Causal chain must be presented in chronological order. Every claim of the form "X happened because of Y" or "Z was decided at time T" must be supportable by an explicit timestamp. Do not use vague phrases like "early stage" / "later period" / "before the product matured" — replace with concrete dates or date ranges (e.g., "2025 H2", "between 2024-11 and 2025-05"). A cause cannot logically precede an effect that has already occurred in the public record.

Cross-Generation / Multi-Event Contexts

When the question involves multiple generations of a product, multiple events, or an evolutionary timeline, special care is required. The classic trap is to assert a decision was "locked in" at a date when the dependent fact was already public.

Required when context is multi-generational or multi-event:

  • Build a timeline of key public events first (release dates, sales milestones, public statements, competitor moves) before constructing causal claims.
  • For each "locked-in at time T" claim, verify T precedes the dependent event in the public record. If T is after the dependent event, the claim is structurally invalid and must be reframed (e.g., "predictions were updated but still insufficient" rather than "predictions were made without sight of the data").
  • State the same timeline in both red and blue expert files so cross-checking is possible.

Expert Intermediate Files

For each expert role, write a separate Markdown file named:

markdown/<slug>-<team>-<role>.md

Use ASCII filenames. The <slug> should summarize the user question in short hyphen-case.

Each expert file must include:

  1. # <Role> - <Team> Team
  2. Question restatement and domain framing.
  3. Expert-role analysis.
  4. First-principles reasoning and prerequisite conditions.
    • Prerequisite conditions must include any implicit temporal assumptions the argument relies on (e.g., "I assume decision X was made before event Y became public"). Make these explicit so the timeline check below can verify them.
  5. Evidence and cases with source links when browsing or external materials are used.
  6. Diagram when useful, using Mermaid, ASCII text, or an external SVG file.
  7. Applicability boundaries.
  8. Falsification and proof plan: what to observe, how to prove, how to disprove.
  9. Self-verification: data check, logic check, assumption check, timeline check, and revision note.

If an SVG is needed, save it as a separate .svg file under markdown/ and reference it from the Markdown file. Prefer Mermaid or ASCII diagrams when they are sufficient.

Debate Rounds

Keep the debate within five rounds. Each round should be concise and adversarial:

  • Red attacks blue's weakest premise.
  • Blue attacks red's weakest premise.
  • Each side may refine its conditions, but must not abandon the mutually exclusive conclusion unless self-verification proves it indefensible.

Save the debate transcript as:

markdown/<slug>-red-blue-debate.md

Include each round's claims, counterclaims, evidence disputes, and unresolved assumptions.

Show full SKILL.md (467 more words)Show less

Judge Synthesis

The judge is a third role, independent from both teams. The judge must integrate both sides into one fluent beginner-friendly Markdown article.

The final article must:

  • Be written in first person.
  • Use chapter titles and body text that do not reveal a multi-document synthesis process.
  • Avoid wording such as "red team", "blue team", "专家中间稿", "综合以上材料", or "多文合成".
  • Mention expert perspectives naturally, such as "站在产业经济学角度" or "站在工程实现角度".
  • Explain first-principles premises and variables in smooth prose, not as a table.
  • Include diagrams when helpful.
  • Keep conclusions conditional: say what must be true for the conclusion to hold.
  • Include a practical observation checklist for proving or falsifying the conclusion.
  • Cite sources when external evidence is used.
  • When the question crosses multiple time-bound events (e.g., product generations, market milestones), present a brief timeline of public events early in the article so the reader can independently verify the chronology before reading the analysis. If a prior draft made a chronological error, acknowledge and correct it explicitly in the final article (do not silently patch it).

Save the final article as:

markdown/<slug>-judge-final.md

Verification Before Final Response

Before replying to the user:

  1. Confirm every required Markdown file exists.
  2. Confirm red and blue conclusions are mutually exclusive.
  3. Confirm the debate has no more than five rounds.
  4. Confirm each expert file has self-verification including an explicit timeline check.
  5. Confirm the final article is first-person, beginner-friendly, and does not expose the synthesis process.
  6. Confirm source links are present when external evidence was used.
  7. For multi-event or multi-generation topics, confirm the final article presents a brief public-event timeline early on, and that all "locked-in at time T" claims have T before the dependent event.

In the final response to the user, list the generated file paths and note any verification that could not be completed.

Revision Protocol for Chronology Errors

If, after producing the deliverables, a chronology or temporal-ordering error is discovered (e.g., a user points out that a "decision at time T" actually post-dates the dependent event):

  1. Acknowledge the error in the affected expert file — add a dated "Revision note" section explaining what changed and why. Do not silently rewrite history.
  2. Re-derive the conclusion from the corrected timeline. In many cases, this strengthens one team and weakens the other; weight the final synthesis accordingly.
  3. Surface the correction in the judge final — a brief parenthetical "时间线修正" or "timeline correction" line is acceptable, even though the article otherwise hides the synthesis process. Hiding a factual error is worse than breaking the no-meta rule once.
  4. Update the red-blue debate with a new "unresolved disagreement" item capturing how the correction shifted the balance.
  5. Do not delete the original (wrong) text silently. Either strike it through, or leave it with a "[corrected: see revision note]" tag. Auditability matters.

© digoal, GPL-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in skills/rational-red-blue-debate of digoal/blog.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit ad6fcb7

Compare with similar skills

Rational Red Blue Debate next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Rational Red Blue Debate compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Rational Red Blue Debate this skilldigoal/blog8.6k—~2.2kAutomated safety check: PassGPL-2.0
Offensive ReportingSnailSploit/Claude-Red7.4k—~3.7kAutomated safety check: PassMIT
ISO 24495 Text AuditGaZmagik/iso-24495190—~817Automated safety check: PassMIT
Councilwarpdotdev/common-skills6101 repos~1.8kAutomated safety check: PassMIT
Cybersecurityohmyjahh/xquads-squads277—~895Automated safety check: PassMIT
Secops Investigategoogle/skills21k1 repos~4.2kAutomated safety check: PassApache-2.0

Similar skills

  • Offensive Reporting

    SnailSploit/Claude-Red

    Penetration test and red team report writing methodology. An agent skill from SnailSploit/Claude-Red.

    7.4k GitHub stars~3.7k tokensUpdated 21 days ago
    SecurityAuto-check passed
  • ISO 24495 Text Audit

    GaZmagik/iso-24495

    Audits a Markdown or text file or folder you choose for plain-language problems such as legalese, wordy phrases and long sentences, reporting each finding with file and line.

    190 GitHub stars~817 tokensUpdated yesterday
    Writing & ContentAuto-check passed
  • Council

    warpdotdev/common-skills

    Run a model-diverse subagent council to investigate the same problem from multiple perspectives, compare findings, and produce a final recommendation.

    610 GitHub starsUsed in 1 repo~1.8k tokens
    SecurityAuto-check passed
  • Cybersecurity

    ohmyjahh/xquads-squads

    Squad de 15 agentes de seguranca ofensiva e defensiva (Georgia Weidman, Peter Kim, Jim Manico, Chris Sanders, Omar Santos, Marcus Carey) cobrindo pentest, red team, blue team, AppSec, recon e…

    277 GitHub stars~895 tokensUpdated 11 days ago
    SecurityAuto-check passed
  • Secops Investigate

    google/skills

    Official

    Expert guidance for deep security incident and entity investigations in Google SecOps.

    21k GitHub starsUsed in 1 repo~4.2k tokens
    SecurityAuto-check passed
  • Detecting Azure Service Principal Abuse

    mukul975/Anthropic-Cybersecurity-Skills

    Detect Azure service principal abuse in Microsoft Entra ID using KQL detection queries (Sentinel/Splunk) against Azure AD Audit and Sign-in Logs, covering added credentials, privileged role…

    34k GitHub stars~2.1k tokensUpdated 1 mo ago
    SecurityAuto-check passed

More from digoal/blog

All 98 skills in this repo
  • 三层审查模型,逐段逐句验证文章真伪、证据链与逻辑结构。Use when the user asks to fact-check, verify, audit, or evaluate the credibility of an article, essay, report, opinion piece, social-media post, or any written claim —…

    8.6k GitHub stars~939 tokensUpdated 2 days ago
    Auto-check passed
  • Find latent bugs in a local PostgreSQL source tree (RELxxSTABLE branch or HEAD) the way a core hacker does: build a heavily-poisoned debug instance (cassert + cache-discard + -O0/-ggdb3 + core…

    8.6k GitHub stars~4k tokensUpdated 2 days ago
    Auto-check passed
  • Digoal

    digoal/blog

    Portable digital employee distilled from digoal's personal blog for PostgreSQL, PolarDB, DuckDB, AI+database, vector/RAG, database operations, source-code reading, technical content creation…

    8.6k GitHub stars~2.2k tokensUpdated 2 days ago
    Auto-check passed
  • 从论文 PDF 文件或论文 PDF URL 生成通俗易懂、图文并茂、带批判性评估的中文 Markdown 解读,并保存到当前项目的 markdown 目录。Use when the user asks to interpret,精读,解读,summarize,explain,analyze, or write an article from an academic paper PDF…

    8.6k GitHub stars~1.5k tokensUpdated 2 days ago
    Auto-check passed
  • Analyze a product from documentation, websites, PDFs, articles, release notes, pricing pages, app listings, reviews, filings, or related links; save separate intermediate analyses from seven roles…

    8.6k GitHub stars~1.8k tokensUpdated 2 days ago
    Auto-check passed
  • Turn a blog post, article, notes, or any source material into a set of vertical poster images — one cover plus several coherent content slides that explain the core points.

    8.6k GitHub stars~1.4k tokensUpdated 2 days ago
    Auto-check passed

Questions about Rational Red Blue Debate

What does Rational Red Blue Debate do?

Answer general or cross-domain questions with a non-pleasing rational mode: adversarial red-team and blue-team expert analysis, mutually exclusive conclusions, up to five debate rounds, saved…. Rational Red Blue Debate is an agent skill from digoal/blog. Answer general or cross-domain questions with a non-pleasing rational mode: adversarial red-team and blue-team expert analysis, mutually exclusive conclusions, up to five debate rounds, saved Markdown intermediate expert outputs, and a final first-person judge-written plain-language article.

When should I use Rational Red Blue Debate?

Rational Red Blue Debate fits situations like: the user asks for rational adversarial analysis; red/blue team debate; non-flattering judgment; evidence-backed multi-expert reasoning.

How do I install Rational Red Blue Debate in Claude Code?

Run `npx skills add digoal/blog --skill rational-red-blue-debate -a claude-code`. Or copy the skill folder (skills/rational-red-blue-debate in digoal/blog) into .claude/skills/rational-red-blue-debate in your project. Claude Code loads it when a task matches its description.

How do I install Rational Red Blue Debate in Codex?

Run `npx skills add digoal/blog --skill rational-red-blue-debate -a codex`. Or copy the skill folder (skills/rational-red-blue-debate in digoal/blog) into .agents/skills/rational-red-blue-debate in your project. Codex loads it when a task matches its description.

Can I use Rational Red Blue Debate in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add digoal/blog --skill rational-red-blue-debate -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/rational-red-blue-debate, .gemini/skills/rational-red-blue-debate, .github/skills/rational-red-blue-debate and .opencode/skills/rational-red-blue-debate in your project.

What does Rational Red Blue Debate need to run?

SKILL.md names no scripts, command-line tools or credentials: Rational Red Blue Debate is instructions for the agent only.

Does Rational Red Blue Debate access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Rational Red Blue Debate safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Rational Red Blue Debate use?

Rational Red Blue Debate is published under the GPL-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Rational Red Blue Debate use?

About 2.2k tokens (SKILL.md is roughly 8.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Rational Red Blue Debate?

Skills that share tags, products or a category with Rational Red Blue Debate: Offensive Reporting (SnailSploit/Claude-Red, 7.4k stars), ISO 24495 Text Audit (GaZmagik/iso-24495, 190 stars), Council (warpdotdev/common-skills, 610 stars) and Cybersecurity (ohmyjahh/xquads-squads, 277 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Rational Red Blue Debate?

digoal (a GitHub user) maintains it in digoal/blog, which has 8,588 GitHub stars. The repository holds 98 skills in this directory. The repository was last updated on October 9, 2026.

Source: digoal/blog on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.