tribunal
Skill9 starsChanged 8 months agoMITView on GitHub
Multi-mode AI debate — adversarial, Socratic, steelman, red-team, synthesis, or postmortem with evidence
12 other projects use a version of this.
Adopted by
Most recently taken up by
- a-tokyo/agent-skillstheir own version, first seen Nov 8, 2026
- SpecialITWeapons/tribunal-claude-skilltheir own version, first seen Nov 8, 2026
- Hive-Academy/PtahCodetheir own version, first seen Nov 8, 2026
- Hive-Academy/ptah-extensiontheir own version, first seen Nov 3, 2026
- Tcuzzo/backs-aios-skillstheir own version, first seen Nov 3, 2026
- team-attention/hoyeontheir own version, first seen Oct 8, 2026
Used with
Projects with it also use production-grade, session-handoff and 1 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
Sean-MichaelSkillproduction-grade
Apply production-grade standards when building or modifying web applications. Trigger on: "make it production ready", "add auth", "production grade", "harden this", or any time a user is building a web app with user accounts, an API, or a database and hasn't said it's a prototype. Standards are the default — not an add-on.
Also in 3 projects that use this
wpankSkillsession-handoff
WHAT: Create comprehensive handoff documents that enable fresh AI agents to seamlessly continue work with zero ambiguity. Solves long-running agent context exhaustion problem.
Also in 3 projects that use this
SentrySkillskill-creator
Create new agent skills following the Agent Skills specification. Use when asked to "create a skill", "add a new skill", "write a skill", "make a skill", "build a skill", or scaffold a new skill with SKILL.md. Guides through requirements, writing, registration, and verification.
Also in 3 projects that use this
Other versions12 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 12
- team-attention/hoyeon★ 173same name
- Hive-Academy/ptah-extension★ 34same name
- Hive-Academy/PtahCode★ 34same name
- a-tokyo/aiworkspace★ 19same name
- a-tokyo/agent-skills★ 18same name
- a-tokyo/agent-skills-harness★ 11same name
- juliajakubowskabiznes/claude-skills★ 2same name
- Tcuzzo/backs-aios-skills★ 2same name
- hekman316/claude-skill-tribunal★ 1same name
- mattferry/tribunal★ 1same name
2 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository11 other files it gives its agents.
- add-buddySkill
- brainstormSkill
- campfireSkill
- codex-reviewSkill
- codexSkill
- forgeSkill
- gemini-reviewSkill
- geminiSkill
- leaderboardSkill
- opencode-reviewSkill
- opencodeSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 4 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 10 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 37
Parse the question and mode: Check for mode flags (--socratic, --steelman, --red-team, --synthesis, --postmortem, or --mode X).
- Very specific: line 50
Before dispatching: Use your judgment — if the conversation contains context that would help the debaters (constraints, failed approaches, …
- Distinctive: line 86
Read the file matching the mode from the manifest, then follow its judging/synthesis instructions and output format.
- Distinctive: line 101
Forge close call: When forge scores are within 3 points
- Very specific: line 102
Review disagreement: When /codex-review and /gemini-review conflict
- Distinctive: line 113
Evidence over eloquence: Every claim needs file:line evidence.
- Distinctive: line 114
Verify citations: Always read referenced files to confirm.
“Common” is measured: kept by at least 6 in 10 of the 10 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/tribunal — Multi-Mode AI Debate
Two AI buddies engage on a codebase question using one of six modes. Every claim requires FILE:LINE evidence.
Modes
| Mode | Flag | AIs do | Claude's role | Best for |
| adversarial | (default) | Argue FOR vs AGAINST | Judge — picks winner | Binary decisions, should/shouldn't |
| socratic | --socratic | Probe assumptions with questions | Synthesizer — surfaces insights | Early exploration, unclear framing |
| steelman | --steelman | Argue the OTHER side's strongest case | Calibrator — shows true strength of each side | Avoiding confirmation bias |
| red-team | --red-team | Attack from different angles, no defense | Risk assessor — prioritized vulnerability table | Poking holes in designs/plans |
| synthesis | --synthesis | Each proposes a solution, then hybridize | Merger — evaluates proposals + hybrid | Finding a third option |
| postmortem | --postmortem | Investigate failure from different angles | Investigator — unified timeline + root cause | Bug investigation, incident analysis |
How to invoke
/tribunal "Should we refactor the auth middleware?"
/tribunal --socratic "Is our error handling resilient enough?"
/tribunal --steelman "Should we migrate to microservices?"
/tribunal --red-team "Review our new payment flow"
/tribunal --synthesis "How should we restructure the data layer?"
/tribunal --postmortem "Why did the deploy fail yesterday?"
/tribunal --mode red-team "Audit the new API endpoints"Step-by-step workflow
Phase 0: Setup
- Parse the question and mode. Check for mode flags (
--socratic,--steelman,--red-team,--synthesis,--postmortem, or--mode X). Default: adversarial. - Detect available buddies:
source "${CLAUDE_PLUGIN_ROOT}/hooks/lib.sh"
AVAILABLE=$(ai_buddies_available_buddies)- Require at least 2 buddies.
- Tell the user which buddies will participate, the mode, and round count.
Phase 1: Dispatch
Before dispatching: Use your judgment — if the conversation contains context that would help the debaters (constraints, failed approaches, user preferences), summarize it in $CONVERSATION_CONTEXT. If the question is self-contained, leave it empty.
IMPORTANT: Set the Bash tool's timeout parameter to 600000 (10 minutes). The default Bash timeout (120s) will kill slow engines mid-debate.
MANIFEST_PATH=$(bash "${CLAUDE_PLUGIN_ROOT}/scripts/tribunal-run.sh" \
--question "THE_QUESTION" \
--cwd "$(pwd)" \
--mode MODE_NAME \
--rounds 2 \
--timeout 600 \
--conversation-context "$CONVERSATION_CONTEXT")Phase 2: Read results
Read $MANIFEST_PATH (tribunal-manifest.json):
{
"question": "...",
"mode": "adversarial|socratic|steelman|red-team|synthesis|postmortem",
"rounds": 2,
"debaters": ["codex", "gemini"],
"arguments": { ... }
}Phase 3: Evaluate
Read the mode-specific guide for how to evaluate results and format output:
${CLAUDE_PLUGIN_ROOT}/skills/tribunal/modes/{mode}.mdRead the file matching the mode from the manifest, then follow its judging/synthesis instructions and output format.
Round constraints
| Mode | Rounds | Reason |
| adversarial | Flexible (default 2) | More rounds = deeper rebuttals |
| steelman | Flexible (default 2) | Like adversarial but with reversed positions |
| socratic | Fixed 2 | Round 1 asks, Round 2 answers |
| red-team | Fixed 2 | Round 1 attacks, Round 2 chains attacks |
| synthesis | Fixed 2 | Round 1 proposes, Round 2 hybridizes |
| postmortem | Fixed 2 | Round 1 investigates, Round 2 cross-examines |
Auto-triggers
- Forge close call: When forge scores are within 3 points
- Review disagreement: When
/codex-reviewand/gemini-reviewconflict
Configuration
| Key | Default | Description |
tribunal_rounds | 2 | Default round count |
tribunal_max_buddies | 3 | Max debaters |
Rules
- Evidence over eloquence. Every claim needs file:line evidence.
- Verify citations. Always read referenced files to confirm.
- No-evidence = zero. Enforce in all modes.
- Follow the mode guide. Each mode has different judging criteria and output format.
- Always clean up worktrees after the session.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

