Multi-agent debate skills for coding CLIs. Orchestrates codex, gemini, cursor, kimi, and claude through structured debate formats (parliament, court, red-team, peer-review, committee, brainstorm) to reach more robust answers than any single model.
Plans the agenda for a multi-agent debate — picks the format, picks the roster, sequences stages, resolves sub-debate composition, and asks the user for clarification when the request is ambiguous. Use this skill when the senate orchestrator needs an agenda before debating, when the user asks "which format should I use for X?" or "how should we structure this debate?", or when the user describes a multi-step decision (e.g., "draft an RFC, have it reviewed, then vote") that needs stages laid out.
Playbook for invoking non-interactive coding-agent CLIs (codex, gemini, cursor, kimi, claude) as subprocesses. Use this skill inside a moderate-debate per-turn subagent, or when any skill needs to shell out to another AI CLI with a prompt and capture the reply — covers install checks, exact non-interactive invocation, input/output conventions, budget flags, and known per-CLI quirks.
Consolidates a finished debate run into a single user-facing notes.md — reads the agenda, transcript, shared context, and per-stage verdicts (multi-stage), and writes the canonical user-facing summary that merges what was decided (verdict) with what happened (meeting notes). Use this skill when moderate-debate has finished a run and the user needs a clean summary of what happened, what was decided, and what to do next, or when the user asks for "the notes", "the summary", or "the verdict" of a past debate run.
Drives a multi-agent debate from a planned agenda — builds prompts, dispatches each CLI turn into a standalone subagent, commits the shared transcript and context, handles budget/failure/checkpoint policy, and adapts the agenda mid-run when the situation diverges from the plan. Use this skill when senate has an `agenda.md` ready and needs the actual turns run, or when resuming a paused or stalled debate run.
Top-level orchestrator for multi-agent debates between coding CLIs (codex, gemini, cursor, kimi, claude). Routes a request through three sub-skills — debate-agenda (plan), moderate-debate (run), meeting-note (consolidate) — and returns a single user-facing notes.md summary. Use this skill when the user wants a debate, second opinion, adversarial review, or cross-model agreement on a non-trivial question — even if they don't say "debate" — and especially when they say "debate", "parliament", "court", "peer-review", "red-team", "committee", "senate", "have X and Y argue", or "ask multiple models".
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.

Multi-agent debate skills for coding CLIs. Orchestrates codex, gemini, cursor, kimi, and claude through structured debate formats — parliament, court, red-team, peer-review, committee, brainstorm — to reach more robust answers than any single model.
Multi-agent debate is a well-studied technique for improving LLM reasoning: independent agents propose, critique, and revise answers under a structured protocol. Results are protocol-dependent — strong single-agent prompting can match it on some benchmarks — but a substantial body of work reports gains in factuality, divergent thinking, evaluation quality, and truthfulness.
senate ports the protocols humans already use to coordinate disagreement — parliaments, courts, peer review, RFCs — and packages them as agent skills you can run across heterogeneous CLIs. See dev/PRODUCT.md for the full thesis.
Prerequisite: the CLIs you want to put in debates must be installed and authenticated locally — senate shells out to them. Each skills/invoke-agent/references/<cli>.md has a paste-ready install check for codex, gemini, cursor, kimi, and claude.
This repo ships as a Claude Code plugin and as a cross-agent bundle via the skills CLI (works with most coding agents that load skills — Claude Code, Codex, Cursor, OpenCode, Gemini CLI, …).
# Claude Code plugin
/plugin marketplace add SebastianElvis/senate
/plugin install senate@senate
# Any host agent
npx skills add SebastianElvis/senate
Useful flags for the skills CLI:
| Option | Description |
|---|---|
-g, --global | Install globally (~/<agent>/skills/) instead of the current project |
-a, --agent <name...> | Target specific agents (claude-code, codex, cursor, opencode, …) |
-s, --skill <name...> | Install a subset (--skill senate) |
-l, --list | List skills without installing |
-y, --yes | Skip prompts |
Other commands: npx skills list | find <q> | update senate | remove senate. Source forms accept GitHub shorthand, full URLs, git URLs, or local paths.
Ask your host agent for a debate in plain language:
Run artifacts land in <cwd>/.senate/runs/<id>/ — never in this skill repo. End-to-end walk-throughs of the headline cases live in examples/.
Five skills compose one debate lifecycle:
user request
│
▼
┌───────────────────┐
│ senate │ mints .senate/runs/<id>/
│ (orchestrator) │
└─────────┬─────────┘
▼
┌───────────────────┐
│ debate-agenda │ ──▶ agenda.md
│ (planner) │
└─────────┬─────────┘
▼
┌───────────────────┐ dispatches ┌──────────────────┐
│ moderate-debate │ ─────────────▶│ per-turn subagent│
│ (moderator) │ ◀─────────────│ + invoke-agent │
└─────────┬─────────┘ result └────────┬─────────┘
│ appends │ shells out
│ ▶ transcript.jsonl ▼
│ ▶ context.md codex · gemini · cursor
│ ▶ agents/<cli>.md kimi · claude
▼
┌───────────────────┐ ──▶ notes.md
│ meeting-note │
│ (scribe) │
└───────────────────┘
moderate-debate dispatches every turn into a fresh per-turn subagent that loads the relevant invoke-agent playbook, shells out to the CLI, validates the contract, and returns only a structured result. Multi-stage pipelines are expanded once by the planner into a single agenda.md; the moderator then runs each stage under stages/<N>-<name>/, calling back to the planner only for clarification or mid-run re-planning. meeting-note consolidates after the final stage.
AI-native scientific research pipeline. Takes a research goal — optionally with a research paper — and autonomously conducts rigorous, multi-step academic research.
Tutoring skill (`teach`) for learning a topic interactively — calibration, syllabus planning, and a Socratic/Feynman/drill teach loop. Named after Richard Hamming.
General software-development skills for Claude Code. Ships pr-gen for generating GitHub PR titles and descriptions from the final-state diff.
npx claudepluginhub sebastianelvis/senate --plugin senateAccess thousands of AI prompts and skills directly in your AI coding assistant. Search prompts, discover skills, save your own, and improve prompts with AI.
Next.js development expertise with skills for App Router, Server Components, Route Handlers, Server Actions, and authentication patterns
Unity Development Toolkit - Expert agents for scripting/refactoring/optimization, script templates, and Agent Skills for Unity C# development
Design fluency for frontend development. 1 skill with 23 commands (/impeccable polish, /impeccable audit, /impeccable critique, etc.) and curated anti-pattern detection.
Behavioral guidelines to reduce common LLM coding mistakes, derived from Andrej Karpathy's observations on LLM coding pitfalls
Comprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.