agentleFS
hexhex/claude-council/skills/council-execution/SKILL.md

council-execution

Skill969 starsChanged 15 days agoMITView on GitHub

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.

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 3 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    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
  1. Very specific:

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

    line 16
  2. Very specific:

    Pass only the flags the user asked for: Never add --no-pane, --quiet, --no-cache or --no-auto-context on your own judgment.

    line 18
  3. Very specific:

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

    line 22
  4. Distinctive:

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

    line 33
  5. Distinctive:

    Add your own headers or structure

    line 48
  6. Distinctive:

    After displaying the synthesis, tell the user:

    line 65

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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 whole path to the saved file, under the current working directory (e.g., /path/to/project/.claude/council-cache/council-1734567890.md). Read exactly that path; the file is never in the plugin folder.

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 and nothing under it. The script never writes a synthesis: the empty section is yours to fill, so never report it as missing or empty. 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.