/skills:model-councilfrom skills
Orchestrates parallel execution across multiple AI models (Claude, GPT, Gemini, Grok) via CLIs or APIs, collects their analysis, and synthesizes the best answer for consensus-driven problem solving.
Ships in skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Run the same problem through multiple AI models in parallel, collect their analysis only, then Claude Code synthesizes and decides the best approach.
Unlike code-council (which uses one model with multiple approaches), model-council leverages different model architectures for true ensemble diversity.
IMPORTANT: External models provide analysis and recommendations ONLY. They do NOT make code changes.
This ensures:
Different models have different:
When multiple independent models agree → High confidence the answer is correct.
Call CLI tools that use your logged-in accounts - leverages existing subscriptions!
| CLI Tool | Model | Status |
|---|---|---|
claude | Claude (this session) | ✅ Already running |
codex | OpenAI Codex | Requires setup |
gemini | Google Gemini | Requires setup |
aider | Multi-model | Requires setup |
OpenAI Codex CLI:
# Install via npm
npm install -g @openai/codex
# Login (uses browser auth)
codex auth
# Verify
codex --version
Google Gemini CLI:
# Install via npm
npm install -g @anthropic-ai/gemini-cli
# Or use gcloud with Vertex AI
gcloud auth application-default login
# Verify
gemini --version
Aider (Multi-model, Recommended):
# Install via pip
pip install aider-chat
# Configure with your API keys
export OPENAI_API_KEY="sk-..."
export ANTHROPIC_API_KEY="sk-ant-..."
# Run with specific model
aider --model gpt-4o --message "analyze this code"
Check What's Installed:
python3 ${CLAUDE_PLUGIN_ROOT}/skills/model-council/scripts/detect_clis.py
Direct API calls - more reliable, works without CLI setup, but costs money.
Required environment variables:
ANTHROPIC_API_KEY - For Claude API (https://console.anthropic.com/)OPENAI_API_KEY - For GPT-4 API (https://platform.openai.com/api-keys)GOOGLE_API_KEY - For Gemini API (https://aistudio.google.com/apikey)XAI_API_KEY - For Grok API (https://console.x.ai/)Users can specify models inline:
model council with claude, gpt-4o, gemini: solve this problem
model council (claude + codex): fix this bug
model council all: use all available models
If not specified, use all available:
Users can create ~/.model-council.yaml:
# Preferred models (in order)
models:
- claude # Use Claude Code CLI (current session)
- codex # Use Codex CLI if installed
- gemini-cli # Use Gemini CLI if installed
# Fallback to APIs if CLIs not available
fallback_to_api: true
# API models to use when falling back
api_models:
anthropic: claude-sonnet-4-20250514
openai: gpt-4o
google: gemini-2.0-flash
xai: grok-3
# Timeout per model (seconds)
timeout: 120
# Run in parallel or sequential
parallel: true
Determine which models to use:
Format the problem for each model with analysis-only instructions:
Analyze the following problem and provide your recommendations.
DO NOT output code changes directly.
Instead, provide:
1. Your analysis of the problem
2. Recommended approach(es)
3. Potential issues or edge cases to consider
4. Trade-offs between different solutions
Problem:
[user's problem here]
Key rules:
Use the API council script to query multiple models:
python3 ${CLAUDE_PLUGIN_ROOT}/skills/model-council/scripts/api_council.py \
--prompt "Analyze this problem and recommend solutions (do not implement): [problem]" \
--models "claude-sonnet,gpt-4o,gemini-flash"
Available models:
claude-sonnet, claude-opus - Anthropicgpt-4o, gpt-4-turbo, o1 - OpenAIgemini-flash, gemini-pro - Googlegrok - xAIList all models:
python3 ${CLAUDE_PLUGIN_ROOT}/skills/model-council/scripts/api_council.py --list-models
Gather all model responses with metadata:
Compare responses looking for:
Claude Code (this session) uses ultrathink to:
This is the key difference from just asking one model:
Provide:
To check available CLIs:
python3 ${CLAUDE_PLUGIN_ROOT}/skills/model-council/scripts/detect_clis.py
This checks for:
claude - Claude Code CLIcodex - OpenAI Codex CLIgemini - Gemini CLIaider - Aider (multi-model)cursor - Cursor AI (if applicable)| Aspect | code-council | model-council |
|---|---|---|
| Models used | Claude only | Multiple (Claude, GPT, Gemini, etc.) |
| Diversity source | Different approaches | Different architectures |
| Cost | Free (uses current session) | Free (CLIs) or paid (APIs) |
| Speed | Fast (single model) | Slower (parallel calls) |
| Best for | Quick iterations | High-stakes decisions |
Use code-council when:
Use model-council when:
CLI not found: Skip that model, log warning, continue with others.
API key missing: Skip that provider, try CLI fallback if available.
Timeout: Return partial results, note which models timed out.
No models available: Error with setup instructions.
## Model Council Analysis Results
### Consensus: HIGH (3/3 models agree on approach)
### Summary of Recommendations:
All models recommend using a hash map for O(1) lookup.
Key considerations raised:
- Handle null/empty input (Claude, GPT-4o)
- Consider memory vs speed tradeoff (Gemini)
- Add input validation (all models)
### Individual Analyses:
#### Claude Sonnet (API)
Analysis: The bug is caused by off-by-one error in the loop boundary.
Recommendation: Change `i <= len` to `i < len`
Edge cases noted: Empty array, single element
Confidence: High
#### GPT-4o (API)
Analysis: Loop iterates one element past array bounds.
Recommendation: Fix loop condition, add bounds check
Additional insight: Could also use forEach to avoid index errors
Confidence: High
#### Gemini Flash (API)
Analysis: Array index out of bounds on final iteration.
Recommendation: Adjust loop termination condition
Reference: Similar to common off-by-one patterns
Confidence: High
### Claude Code Decision:
Based on consensus, implementing fix with:
- Loop condition change (i < len)
- Added null check for robustness
- Unit test for edge cases
[Claude Code now implements the solution]
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
46 skills in this plugin
/add-to-xcodeREQUIRED: After creating ANY .swift, .m, .mm, .c, .cpp, or .h file in a directory containing a .xcodeproj, you MUST run add_to_xcode.rb to register it with the project. Without this step, the file will NOT appear in Xcode and will NOT compile.
/android-to-iosUse Android/Kotlin code as the source of truth and implement the equivalent feature in iOS/Swift. Understands the feature behavior, data structures, and logic from Android, then creates idiomatic iOS code that matches the target codebase's existing patterns. Use when porting features from Android to iOS or ensuring platform consistency./app-demo-agentUse this skill to turn screen recordings into polished app demo videos with AI voiceover and music. Triggers: "app demo", "demo video from recording", "screen recording demo", "narrate this recording", "add voiceover to screen recording", "make a demo from this recording", "polish this screen recording", "app walkthrough video", "product demo video", "turn this recording into a demo", "screen recording with voiceover", "app showcase video", "demo with narration" Orchestrates: screen analysis, voiceover script, device framing, TTS, background music, and final assembly. NOTE: This skill requires an existing screen recording as input. It does NOT generate screen recordings.
/audio-producer-agentUse this skill to create single-voice audio content like audiobooks, voiceovers, narrations, jingles, and audio ads. Triggers: "create audiobook", "generate voiceover", "narration", "audio ad", "radio ad", "jingle", "brand audio", "sonic logo", "text to audio", "read this aloud", "audio guide", "meditation audio", "soundscape" Orchestrates: narration/TTS, background music, and audio assembly. NOTE: For conversations/dialogues, use podcast-producer instead.
/auto-permissions-review-disableDisable the auto permissions review hook for this session. Tool calls return to normal permission prompts. Other terminal sessions are not affected./auto-permissions-review-enableEnable the auto permissions review hook for this session. Auto-approves read-only operations, sends ambiguous Bash to Haiku, and reviews edits only in accept-edits mode. Other terminal sessions are not affected.npx claudepluginhub michaelboeding/skills --plugin skillsOther plugins' skills for the same job