by hex
Claude Code plugin to consult multiple AI coding agents (Gemini, OpenAI, Grok) for diverse perspectives
# Add to your Claude Code skills
git clone https://github.com/hex/claude-councilGuides for using ai agents skills like claude-council.
Last scanned: 5/30/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-05-30T15:24:41.987Z",
"npmAuditRan": true,
"pipAuditRan": true
}A Claude Code plugin that consults multiple AI coding agents in parallel and shows you their answers side-by-side. Useful when one model's bias could mislead you and the right call depends on cross-checking — architecture decisions, debugging dead ends, security reviews, framework picks.
Quick start · Usage · Configuration · Reference · Development
# 1. Install via Claude Code plugin marketplace
/plugin marketplace add hex/claude-marketplace
/plugin install claude-council
# 2. Configure at least one provider — any of these works:
export OPENAI_API_KEY="..." # or GEMINI_API_KEY, XAI_API_KEY, PERPLEXITY_API_KEY
# OR install the codex / gemini CLIs (uses your existing
# subscription — no API key needed)
# 3. Ask anything
/claude-council:ask "Should I use UUID or BIGINT primary keys for a SaaS users table?"
You get side-by-side responses from each configured provider:
🔳 Codex - gpt-5.5
Use UUID primary keys — they avoid enumeration, work across distributed
services, and survive imports/exports cleanly.
🟦 Gemini-cli - gemini-3-flash-preview
UUIDv7 specifically: security of non-guessable IDs plus the index
locality of time-ordered sequences.
🟥 Grok - grok-4.20-reasoning
BIGINT autoincrement — smaller index, faster joins. Handle public-
exposure concerns with a separate UUID slug column.
🟩 Perplexity - sonar-reasoning-pro
BIGINT: 25% smaller than UUID, better cache locality, with citations
to Postgres benchmarks.
## Synthesis
Two providers prefer UUID(v7), two prefer BIGINT. Choice depends on
whether you need distributed ID generation.
Inside tmux, results stream into a side pane in real time with vendor-colored banners. Run /claude-council:status to confirm what's configured and connected.
codex and gemini CLIs (subscription auth) when installed — preferred over their API siblings--async) for long-running queries, with /claude-council:result to fetch, list, and cancel# Add the hex-plugins marketplace
/plugin marketplace add hex/claude-marketplace
# Install claude-council
/plugin install claude-council
/plugin install hex/claude-council
For normal use, prefer the marketplace or GitHub install above — both persist across sessions. A manual clone is for running from a local working copy (development, or offline). Clone the repo anywhere, then point Claude Code at the repo root for the current session:
git clone https://github.com/hex/claude-council.git
claude --plugin-dir /path/to/claude-council # repo root; loaded for this session only
Cloned it and nothing loads? Two traps to avoid:
- Don't clone into
~/.claude/plugins/(Windows:%USERPROFILE%\.claude\plugins\). That's Claude Code's managed install cache — it is never scanned for manually-added plugins, so the plugin won't appear in the Installed tab or respond to its slash commands.pluginDirectoriesinsettings.jsondoes nothing — it isn't a real setting, so it's silently ignored (no error shown). Use--plugin-dirabove for a local clone, or install via the marketplace / GitHub for a persistent setup.
# Query all configured providers
/claude-council:ask "How should I structure authentication in this Express app?"
# Query specific providers
/claude-council:ask --providers=gemini,openai "What's the best approach for caching here?"
# Include a specific file for review
/claude-council:ask --file=src/auth.ts "What's wrong with this implementation?"
# Export response to markdown file
/claude-council:ask --output=docs/auth-decision.md "How should we implement authentication?"
# Quiet mode - show only synthesis
/claude-council:ask --quiet "What's the best caching strategy?"
# Check connectivity and configured models for each provider
/claude-council:status
# Run a long query in the background, fetch it later
/claude-council:ask --async "Deep-dive the tradeoffs of event sourcing here"
/claude-council:result <job-id>
| Flag | Description |
|---|---|
--providers=list |
Query specific providers (e.g., gemini,openai,codex) |
--roles=list |
Assign roles (e.g., security,performance or preset like balanced) |
--debate |
Enable two-round debate mode |
--file=path |
Include specific file in context |
--output=path |
Export response to markdown file |
--quiet |
Show only synthesis, hide individual responses |
--agents |
Agent-enhanced analysis with subagents (slower, deeper) |
--local |
Local Claude-only council when you have no provider keys (see below) |
--async |
Detach the query as a background job; fetch with /claude-council:result |
--no-cache |
Force fresh queries, skip cache |
--no-auto-context |
Disable automatic file detection |
--no-pane |
Disable streaming tmux pane (default: on inside tmux) |
--verbosity=LEVEL |
Response style: brief / standard / detailed |
Assign different perspectives to each provider for more comprehensive reviews:
# Use specific roles
/claude-council:ask --roles=security,performance,maintainability "Review this auth code"
# Use a preset
/claude-council:ask --roles=balanced "Review this implementation"
Available roles:
security - Security Auditor (vulnerabilities, OWASP Top 10)performance - Performance Optimizer (efficiency, bottlenecks)maintainability - Maintainability Advocate (clarity, future changes)devil - Devil's Advocate (challenges assumptions)simplicity - Simplicity Champion (identifies over-engineering)scalability - Scalability Architect (growth, scaling)dx - Developer Experience (API ergonomics)compliance - Compliance Officer (GDPR, regulations)Presets:
balanced - security, performance, maintainabilitysecurity-focused - security, devil, compliancearchitecture - scalability, maintainability, simplicityreview - security, maintainability, dxRoles are assigned to providers in order, ensuring each provider approaches the question from a different angle.
Enable multi-round discussions where providers critique each other:
/claude-council:ask --debate "How should I structure the database schema?"
How it works:
Debate mode surfaces blind spots and stress-tests recommendations. The synthesis includes:
Combine with roles for focused debates:
/claude-council:ask --debate --roles=security,performance,simplicity "Review this architecture"
For complex decisions where deeper analysis justifies the extra time and cost, --agents spawns
parallel Claude subagents that each independently query, evaluate, and analyze their provider's
response before the orchestrator synthesizes everything.
# Explicit flag
/claude-council:ask --agents "Should we migrate from REST to GraphQL? What are the tradeoffs?"
# Combine with other flags
/claude-council:ask --agents --roles=security,scalability --providers=gemini,openai "Review this auth architecture"
What each subagent does (beyond a simple API call):
Enhanced synthesis includes:
Natural language triggers: The command also detects complex questions automatically. If your question contains architecture, security review, tradeoff analysis, or similar signals, you'll be asked whether to enable agent mode.
Cost and performance implications: Agent mode spawns one Claude subagent per provider. This means ~4x more Claude API usage and ~15-25 seconds additional latency compared to standard mode. Use it for high-stakes decisions, not quick questions.
| Standard (default) | Agent-enhanced (--agents) | |
|---|---|---|
| Speed | ~3-5s | ~15-25s |
| Claude API cost | 1 context | 1 + N providers |
| Provider API cost | Same | Same |
| Analysis depth | Raw responses + synthesis | Pre-analyzed + enhanced synthesis |
| Best for | Quick questions, factual queries | Architecture decisions, security reviews, complex tradeoffs |
If you have no provider keys and no codex / gemini CLI installed, you can
still convene a council — locally, using Claude alone:
# Explicit
/claude-coun
claude-council is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by hex. Claude Code plugin to consult multiple AI coding agents (Gemini, OpenAI, Grok) for diverse perspectives. It has 348 GitHub stars.
Yes. claude-council passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/hex/claude-council" and add it to your Claude Code skills directory (see the Installation section above).
claude-council is primarily written in Shell. It is open-source under hex on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh claude-council against similar tools.
No comments yet. Be the first to share your thoughts!