llm-council
Convene a 3-model council (Claude + GPT via codex CLI + Gemini CLI) on a high-stakes decision. Forces cross-critique between members and surfaces where they actually disagree, breaking Claude's default agreeableness. Use when the user asks to "convene a council", "get a second opinion", "ask GPT and Gemini", "what would other models say", or has an architecture / strategy / hiring / pricing decision where being wrong is expensive. Skip for factual questions, code with one right answer, or anything premortem-shaped (route to premortem skill instead).
What this skill does
# LLM Council
Three frontier models, one decision. Output is **not** three answers side-by-side — it's a structured map of agreement, disagreement, and which disagreements matter for this user's call.
## Members
| Member | Invocation | Bias to expect |
|---|---|---|
| Claude (this session) | direct reasoning | Pragmatic, agreeable, code-rooted |
| GPT-5.5 | `codex exec` | Skeptical, hedge-prone, edge-case sensitive |
| Gemini | `gemini -p` | Structural, taxonomical, categorization-heavy |
## When to run
**Good fit:**
- Architecture/design with long-lived consequences
- Strategy calls (pricing, positioning, hiring) where Claude's agreeableness is a real risk
- "Am I thinking about this right?" — challenge the framing, not the plan
- Any decision the user explicitly flags as high-stakes
**Bad fit:**
- Factual lookups
- Code with one right answer
- Premortem-shaped questions ("what could go wrong") — route to `premortem`
- Speed > depth
## CLI invocations (verified)
**Codex (GPT-5.5):**
```bash
TMPF=$(mktemp)
codex exec --skip-git-repo-check -o "$TMPF" "<prompt>"
ANSWER=$(cat "$TMPF") && rm "$TMPF"
```
- `--skip-git-repo-check` is required outside trusted dirs
- `-o <file>` writes just the final message (avoids verbose preamble in stdout)
**Gemini:**
```bash
gemini -p "<prompt>"
```
- Outputs the answer directly to stdout
- Add `-m <model>` to pin a model
**Run in parallel** via two simultaneous Bash tool calls in a single message. Don't sequence them.
## Process (3 rounds)
### Round 1 — Independent answers
Send the question to all three members in parallel. None see the others' answers.
Each member gets the same prompt: the user's question + relevant context + this directive:
> "Answer in under 250 words. Be direct. State your strongest position, not a hedged one. End with the single biggest risk you see in your own answer."
The "biggest risk in your own answer" line is load-bearing — it primes the model to flag its own weakness, which makes round 2 more productive.
### Round 2 — Cross-critique (anonymized)
Send each member the other two answers, **with peer identities anonymized as "Model A" and "Model B"**. Each model gets a different random A/B mapping so it can't infer who's who across runs. The model never learns which family produced which answer.
Why anonymize: prevents brand bias — deferring to known-strong models, attacking known-weak ones, or refusing to disagree with one's own family. Without this, R2 critiques drift toward politics instead of substance. Credit: Karpathy's [llm-council](https://github.com/karpathy/llm-council).
Prompt:
> "Two other models answered the same question. Their identities are anonymized.
>
> Model A: ...
> Model B: ...
>
> Where are they wrong? Where are they right and your original answer was wrong? Be specific. Don't be polite. Under 200 words."
In the transcript, record the anonymization mapping so you can de-anonymize for the synthesis step. The user-facing report uses real names; only the cross-critique itself is blind.
This is the round that produces the value. Without it the skill is theatre.
### Round 3 — Synthesis (Claude, this session)
Read all 6 outputs (3 answers + 3 critiques) and produce:
1. **Where the council agrees** — 1-3 points. If they all converge, say so plainly. Do not manufacture disagreement.
2. **Where the council disagrees** — the actual deltas. Each side's strongest argument in 1-2 sentences.
3. **Which disagreement matters most** — for this user's specific decision, which delta should drive the call?
4. **Recommendation** — Claude's call. Explicitly name which member you're siding with on the load-bearing disagreement and why.
**Self-bias check** (mandatory before finalizing): Claude is both a member (R1 answer) and the chairman (this synthesis). That's a structural conflict — Claude will systematically over-weight its own R1 because (a) it has session context the others lack, and (b) it "feels right" to itself. Before finalizing the recommendation, ask: *am I siding with my own R1 answer because it's actually better, or because I wrote it?* If the only reason it's winning is "I have more context," that's not a real reason — GPT and Gemini may have caught a blind spot Claude doesn't see. State the bias check explicitly in the synthesis output (one sentence) so the user can audit it.
## Output
**Chat:** the 4-section synthesis. Concise. End with a clear recommendation.
**File** (only if the question is consequential or the user asks): `council-YYYYMMDD-HHMMSS.md` in CWD with full transcript — the question, R1 answers, R2 critiques, R3 synthesis. Use `date +%Y%m%d-%H%M%S` for the timestamp.
## Context passing
By default the CLIs don't see this conversation, but **you control what goes in the prompt**. Context is transferable — it just costs tokens. Don't treat it as a hard constraint.
Three mechanisms, in order of cost:
1. **Point the CLI at files on disk.** Both `codex exec` and `gemini -p` run in a workdir and can read files themselves. Cheapest. Use this when the relevant context is already in files (a CLAUDE.md, a brief, a code file).
2. **Paste excerpts inline.** When context lives in the conversation (decisions made, things ruled out, user's revealed preferences), paste the relevant chunks into the prompt. Medium cost.
3. **Summarize the conversation.** For long sessions where pasting verbatim is too expensive, write a 1-paragraph brief: what's been decided, what's been rejected, what the user actually cares about. Lossy but tractable.
Build a self-contained prompt for each member that includes:
- The question itself
- Relevant context (pasted, summarized, or via file pointer)
- Specific constraints (budget, timeline, audience, existing tech) — explicit, not assumed
- Response length cap (250 words R1, 200 R2)
**Rule of thumb:** the question's *cost of being wrong* sets the context budget. A $50 decision doesn't justify packaging 5KB of context for three CLI calls. A $50K decision does.
What's genuinely hard to transfer: implicit reasoning the conversation built up, dead ends already explored, the user's tone. Summarize these explicitly when they matter — don't leave them implicit.
## Chairman selection (advanced)
By default Claude (this session) chairs because it has the richest session context with no transfer cost. But Claude is also a member, and that's a structural conflict — Claude will systematically over-weight its own R1 answer in synthesis.
If the self-bias check (Round 3) keeps surfacing real over-weighting, **rotate the chairman**:
1. Package the full context (R1 answers, R2 critiques, original question, relevant brief) into a single prompt
2. Send to Codex or Gemini with directive: "You are the chairman. Synthesize the council's findings into the 4-section output (agreement / disagreement / what matters most / recommendation). Be direct."
3. Use the rotated synthesis as the basis for the user-facing report; Claude still adds final commentary
Rotating chairman costs more tokens (full context goes to a cold CLI) but eliminates the member-as-chairman conflict for high-stakes decisions where you've caught Claude's bias before.
## Failure handling
- **One CLI fails:** proceed with two members. Note the missing voice in synthesis. Don't retry more than once.
- **All three converge:** say so plainly. "The council agrees on X. Recommendation: do X." Manufactured drama is worse than agreement.
- **Council disagrees with the user's framing entirely:** flag this explicitly. Sometimes the right output is "all three models think you're solving the wrong problem."
- **Timeout:** wrap each call in a 90s timeout. Members are independent; one slow call shouldn't block synthesis.
## Anti-patterns
- Showing raw R1/R2 output without synthesis — the synthesis is the product
- Weighting all three equally on every topic without packaging context for the others — if you didn't give them what Claude has, their answers will be cold and generic. ERelated 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.