Skip to content
Development
Skill

/council-execution

Executes council queries by running the query pipeline across selected AI providers (Gemini, OpenAI, Grok, Perplexity), displaying formatted responses verbatim, and generating a synthesis of consensus, divergence, and recommendations. Invoked by the ask command during standard

From plugin
claude-council
9264 skills1 agent4 commands1 hook

Claude Code

$ npx -y skills add hex/claude-council --skill council-execution --agent claude-code

SKILL.md

council-execution.SKILL.md
name: council-execution
description: Executes council queries by running the query pipeline across selected AI providers (Gemini, OpenAI, Grok, Perplexity), displaying formatted responses verbatim, and generating a synthesis of consensus, divergence, and recommendations. Invoked by the ask command during standard (non-agent) council queries.

Council Query Execution

Step 1: Run Query and Save to File

bash ${CLAUDE_PLUGIN_ROOT}/scripts/run-council.sh --providers=gemini,openai -- "Your question"

This outputs the path to the saved file (e.g., `.claude/council-cache/council-1734567890.md`).

**Flag syntax**: Use `=` with no spaces: `--providers=gemini,openai`

**Pass only the flags the user asked for.** Never add `--no-pane`, `--quiet`, `--no-cache` or `--no-auto-context` on your own judgment; they are the user's to choose, and the script already skips a pane that cannot open.

**CRITICAL**: Always place `--` before the prompt to prevent prompt text containing dashes from being parsed as flags.

**Run this Bash call with `timeout: 600000`** (ten minutes). The Bash tool's two-minute default is shorter than a slow council round, and inside tmux a provider failure makes the streaming pane offer the user a retry for `COUNCIL_RETRY_WAIT` seconds (default 45) and then runs another provider round if accepted. A call cut off mid-run loses the whole transcript, the answers that did arrive included.

Step 2: Read and Display the Output VERBATIM

Use the **Read tool** to read the output file path returned by Step 1.

**If the file's first line is `<!-- council: round 1 was shown in the pane -->`**, the user already read every round-1 answer in the streaming pane. Do not reprint them. Instead, output one line per provider in round 1, taken from its `## ` header (name, role, model, and any fallback note) followed by `answered` or the `Error:` line under it. When the header says the seat fell back, add the `> <provider>: <reason>` line printed under it. Then display VERBATIM the rest of the file from its `## Round 2` heading, or from its `---` line above `## ๐Ÿงญ Synthesis` when there is no round 2 (debate rebuttals never reach the pane), and continue with Step 3 under that header. Without that first line, display the whole file as below.

**CRITICAL**: Display the file content EXACTLY as written. Do NOT:

  • Reformat or reinterpret any text
  • Add your own headers or structure
  • Summarize or abbreviate responses
  • Skip any lines including separator lines (`---`)

Simply copy-paste the entire file content into your response.

Step 3: Complete the Synthesis Section

The file ends with a `## ๐Ÿงญ Synthesis` header. Read `${CLAUDE_PLUGIN_ROOT}/prompts/synthesis.md` and write your synthesis UNDER that header following its structure (Consensus / Divergence / Recommendation) and calibration rules.

Step 4: Notify User of Saved Output

After displaying the synthesis, tell the user:

> --- > (use this emoji ๐Ÿ’พ) Full output saved to `.claude/council-cache/council-TIMESTAMP.md` (use the actual filename)

This lets them review the complete responses later.

Output Format: Provider Names

Each provider section opens with a `## โ— <Provider> (<role>) - <model>` header, where the dot is the provider's colour swatch. Display the header as written.

Read more
@hex
Ships withclaude-council

Claude Code plugin that asks several AI coding agents the same question and shows their answers side by side. Gemini, OpenAI, Grok, Perplexity, Kimi and any model OpenRouter routes to over API; codex, antigravity, grok, kimi and cursor CLIs on subscription auth; ollama locally. Codex specialists take coding tasks on their own branch (experimental).

9264 skills1 agent
Get the whole plugin

Stars on GitHub

Momentum

stars in total
926
Star history of hex/claude-council on GitHub, a chart by star-history.com

Other skills on claude-council.

deep-execution

deep-execution

Executes agent-enhanced council queries as one Workflow of parallel Claude analyst agents that each query a provider, evaluateโ€ฆ

@hex@hexInstall Skill
local-council-execution

local-council-executioโ€ฆ

Runs a local council when no external AI providers are configured. Spawns N independent Claude subagents (one per role, blind toโ€ฆ

@hex@hexInstall Skill
provider-integration

provider-integration

Adds new AI providers to claude-council, configures provider API settings, troubleshoots provider connections, and documents theโ€ฆ

@hex@hexInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, orโ€ฆ

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills10d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android โ€” semantic ARIA roles and labels,โ€ฆ

ecc12d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commitsโ€ฆ

react1d252k
@facebook@facebookInstall Skill

Questions about council-execution.

Which coding agents can use council-execution?
council-execution installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.