llm-council
Run high-stakes questions, ideas, and decisions through a council of 5 AI advisors who analyze independently, peer-review each other anonymously, and synthesize a final verdict with artifacts. Mandatory triggers: 'council this', 'run the council', 'war room this', 'pressure-test this', 'stress-test this', 'debate this'. Strong triggers when paired with a real decision or tradeoff: 'should I X or Y', 'which option', 'what would you do', 'is this the right move', 'validate this', 'get multiple perspectives', 'I can't decide', 'I'm torn between'. Do not use for factual lookups, simple yes/no questions, summarization, or low-stakes choices.
What this skill does
# LLM Council
Run a structured multi-agent council for decisions where being wrong is expensive. Use five distinct thinking styles, force anonymous peer review, then synthesize a clear verdict and save two artifacts:
- `council-report-[timestamp].html`
- `council-transcript-[timestamp].md`
## Gate the Request
Run the council only when the user presents genuine uncertainty, multiple options, meaningful tradeoffs, or real downside risk.
Use ordinary reasoning instead of the council for:
- factual questions with one correct answer
- low-stakes preference calls
- simple creation tasks like "write me a tweet"
- pure summarization or extraction tasks
If the request is vague enough that the council would debate the wrong thing, ask exactly one clarifying question, then proceed.
If the user explicitly invoked the council or asked for multiple independent perspectives, spawning sub-agents is the intended execution path for this skill.
## Frame the Question
Before convening advisors, enrich the prompt with fast local context. Spend at most 30 seconds.
Scan for:
- `CLAUDE.md` or `claude.md` near the active workspace root
- `memory/` folders or business-context docs
- files the user explicitly referenced or attached
- recent `council-transcript-*.md` files to avoid repeating the same ground
- nearby docs directly relevant to the decision, such as pricing notes, launch results, audience research, or product specs
Prefer quick file discovery and selective reads. Load only the 2-3 files that materially sharpen the council.
Then write a neutral framed question that includes:
1. the core decision
2. key user context
3. key workspace context
4. what is at stake
Save both the original question and the framed question for the transcript.
## Convene the Five Advisors
Spawn all five advisors in parallel. Do not run them sequentially.
Use these fixed thinking styles:
| Advisor | Role |
| --- | --- |
| The Contrarian | Hunt for fatal flaws, hidden risks, and avoided questions. |
| The First Principles Thinker | Strip away assumptions and rebuild the problem from first principles. |
| The Expansionist | Look for upside, asymmetry, and larger adjacent opportunity. |
| The Outsider | React with fresh eyes and no insider context or jargon tolerance. |
| The Executor | Focus on feasibility, sequencing, and what happens Monday morning. |
Instruct each advisor to lean hard into its angle rather than being balanced. Target 150-300 words per response.
Use this prompt template:
```text
You are [Advisor Name] on an LLM Council.
Your thinking style: [advisor description]
A user has brought this question to the council:
---
[framed question]
---
Respond from your perspective. Be direct and specific. Do not hedge or try to be balanced. Lean fully into your assigned angle. The other advisors will cover the angles you are not covering.
Keep your response between 150-300 words. No preamble. Go straight into your analysis.
```
Capture for each advisor:
- `name`
- `response`
- `stance`
Make `stance` a single sentence summarizing that advisor's bottom-line position. The renderer uses it for the alignment view.
## Run Anonymous Peer Review
Collect the five advisor outputs, randomize their order, and label them `Response A` through `Response E`. Record the mapping for the transcript, but do not expose it during review.
Spawn five fresh review sub-agents in parallel. Give each reviewer the same anonymized set and ask the same three questions:
1. Which response is the strongest and why?
2. Which response has the biggest blind spot and what is it?
3. What did all five responses miss that the council should consider?
Keep each review under 200 words.
Use this prompt template:
```text
You are reviewing the outputs of an LLM Council. Five advisors independently answered this question:
---
[framed question]
---
Here are their anonymized responses:
**Response A:**
[response]
**Response B:**
[response]
**Response C:**
[response]
**Response D:**
[response]
**Response E:**
[response]
Answer these three questions. Be specific. Reference responses by letter.
1. Which response is the strongest? Why?
2. Which response has the biggest blind spot? What is it missing?
3. What did ALL five responses miss that the council should consider?
Keep your review under 200 words. Be direct.
```
## Synthesize the Chairman Verdict
After peer review, run one final synthesis pass with the original question, the framed question, all named advisor responses, and all peer reviews.
Use this prompt template:
```text
You are the Chairman of an LLM Council. Your job is to synthesize the work of 5 advisors and their peer reviews into a final verdict.
The question brought to the council:
---
[framed question]
---
ADVISOR RESPONSES:
**The Contrarian:**
[response]
**The First Principles Thinker:**
[response]
**The Expansionist:**
[response]
**The Outsider:**
[response]
**The Executor:**
[response]
PEER REVIEWS:
[all peer reviews]
Produce the council verdict using this exact structure:
## Where the Council Agrees
[Points multiple advisors converged on independently. These are high-confidence signals.]
## Where the Council Clashes
[Genuine disagreements. Present both sides. Explain why reasonable advisors disagree.]
## Blind Spots the Council Caught
[Things that only emerged through peer review. Things individual advisors missed that others flagged.]
## The Recommendation
[A clear, direct recommendation. Not "it depends." A real answer with reasoning.]
## The One Thing to Do First
[A single concrete next step. Not a list. One thing.]
Be direct. Do not hedge. The whole point of the council is to give the user clarity they could not get from a single perspective.
```
The chairman may disagree with the majority if the reasoning is stronger.
## Generate the Artifacts
Always create both artifacts after the synthesis is complete.
1. Build a JSON payload with this shape:
```json
{
"question": "Original user question",
"framed_question": "Neutral enriched framing",
"chairman_verdict": {
"where_agrees": "...",
"where_clashes": "...",
"blind_spots": "...",
"recommendation": "...",
"first_step": "..."
},
"advisors": [
{
"name": "The Contrarian",
"stance": "Bottom-line stance",
"response": "Full advisor response"
}
],
"peer_reviews": [
{
"reviewer": "Review 1",
"text": "Full peer review"
}
],
"anonymization_mapping": {
"A": "The Executor"
}
}
```
2. Save the payload to a temporary JSON file.
3. Run the renderer:
```bash
python3 /Users/gurusharan/.codex/skills/llm-council/scripts/render_council_report.py --input /absolute/path/to/payload.json --output-dir /absolute/path/to/output-dir
```
4. Open the generated HTML file immediately after creation.
The renderer writes:
- `council-report-[timestamp].html`
- `council-transcript-[timestamp].md`
Default the output directory to the active workspace unless the user specified another location.
## Return the Result
In the final user-facing response:
- surface the chairman recommendation first
- give the absolute paths to the HTML report and transcript
- mention any important missing context if the council had to proceed with incomplete information
Keep the response short. The report is the scanning surface; the transcript is the full record.
## Non-Negotiable Rules
- Spawn all five advisors in parallel.
- Spawn all five peer reviewers in parallel.
- Anonymize advisor outputs before peer review.
- Do not run the council for trivial questions.
- Do not let advisors see each other's responses before review.
- Do not collapse disagreement into fake consensus.
- Always create both artifacts.
Related in AI Agents
skill-development
IncludedComprehensive meta-skill for creating, managing, validating, auditing, and distributing Claude Code skills and slash commands (unified in v2.1.3+). Provides skill templates, creation workflows, validation patterns, audit checklists, naming conventions, YAML frontmatter guidance, progressive disclosure examples, and best practices lookup. Use when creating new skills, validating existing skills, auditing skill quality, understanding skill architecture, needing skill templates, learning about YAML frontmatter requirements, progressive disclosure patterns, tool restrictions (allowed-tools), skill composition, skill naming conventions, troubleshooting skill activation issues, creating custom slash commands, configuring command frontmatter, using command arguments ($ARGUMENTS, $1, $2), bash execution in commands, file references in commands, command namespacing, plugin commands, MCP slash commands, Skill tool configuration, or deciding between skills vs slash commands. Delegates to docs-management skill for official documentation.
reprompter
IncludedTransform messy prompts into well-structured, effective prompts — single or multi-agent. Use when: "reprompt", "reprompt this", "clean up this prompt", "structure my prompt", rough text needing XML tags and best practices, "reprompter teams", "repromptception", "run with quality", "smart run", "smart agents", multi-agent tasks, audits, parallel work, anything going to agent teams. Don't use when: simple Q&A, pure chat, immediate execution-only tasks. See "Don't Use When" section for details. Outputs: Structured XML/Markdown prompt, quality score (before/after), optional team brief + per-agent sub-prompts, agent team output files. Success criteria: Single mode quality score ≥ 7/10; Repromptception per-agent prompt quality score 8+/10; all required sections present, actionable and specific.
adaptive-compaction
IncludedAdaptive add-on policy and recovery layer that decides WHEN to compact, prune, snapshot, or fork -- replacing fixed-percent auto-compaction across Claude Code, Codex, and MCP-capable hosts. Trigger on auto-compact timing or damage: "when should I compact", "is it safe to compact now or start a fresh session", "auto-compact fires too early/mid-task", "switching to an unrelated task but the window still has space", "context rot", "answers get worse the longer the session runs", "the agent forgot the plan or my decisions after it summarized", "add a layer on top that manages context without changing the agent", raising autoCompactWindow to give the policy room, or installing/tuning a cross-tool compaction policy or PreCompact hook -- even when "compaction" is never said but the problem is context-window pressure or post-summarization memory loss. Do NOT use to summarize a conversation, build RAG, write a summarization prompt (decides WHEN not HOW), or answer max-context-length trivia.
agent-skill-creator
IncludedCreate cross-platform agent skills from workflow descriptions. Activates when users ask to create an agent, automate a repetitive workflow, create a custom skill, or need advanced agent creation. Triggers on phrases like create agent for, automate workflow, create skill for, every day I have to, daily I need to, turn process into agent, need to automate, create a cross-platform skill, validate this skill, export this skill, migrate this skill. Supports single skills, multi-agent suites, transcript processing, template-based creation, interactive configuration, cross-platform export, and spec validation.
llm-wiki
IncludedUse when building or maintaining a persistent personal knowledge base (second brain) in Obsidian where an LLM incrementally ingests sources, updates entity/concept pages, maintains cross-references, and keeps a synthesis current. Triggers include "second brain", "Obsidian wiki", "personal knowledge management", "ingest this paper/article/book", "build a research wiki", "compound knowledge", "Memex", or whenever the user wants knowledge to accumulate across sessions instead of being re-derived by RAG on every query.
skill-master
IncludedAgent Skills authoring, evaluation, and optimization. Create, edit, validate, benchmark, and improve skills following the agentskills.io specification. Use when designing SKILL.md files, structuring skill folders (references, scripts, assets), ingesting external documentation into skills, running trigger evals, benchmarking skill quality, optimizing descriptions, or performing blind A/B comparisons. Keywords: agentskills.io, SKILL.md, skill authoring, eval, benchmark, trigger optimization.