llm-council

GitHub

并行查询多个LLM模型并展示实时对比仪表板的技能,支持共识合成与匿名投票。

skills/llm-council/SKILL.md happycapy-ai/Happycapy-skills

Trigger Scenarios

比较模型 启动LLM议会 多模型查询

Install

npx skills add happycapy-ai/Happycapy-skills --skill llm-council -g -y
More Options

Use without installing

npx skills use happycapy-ai/Happycapy-skills@llm-council

指定 Agent (Claude Code)

npx skills add happycapy-ai/Happycapy-skills --skill llm-council -a claude-code -g -y

安装 repo 全部 skill

npx skills add happycapy-ai/Happycapy-skills --all -g -y

预览 repo 内 skill

npx skills add happycapy-ai/Happycapy-skills --list

SKILL.md

Frontmatter
{
    "name": "llm-council",
    "description": "Multi-model LLM Council with live dashboard. Query multiple AI models simultaneously, see responses side-by-side in a swarm-style dashboard, synthesize consensus, and run anonymous model-to-model voting. Use when the user asks to start the LLM council, compare models, query multiple models, convene council, ask all models, do model comparison, run multi-model queries, or launch the council dashboard. Supports Claude Sonnet 4.5, Claude Opus 4.5, GPT-4o, GPT-5.1, Gemini 2.5 Flash, and Gemini 2.5 Pro via AI Gateway."
}

LLM Council

Query multiple AI models in parallel with a live web dashboard.

Launch

cd ~/.claude/skills/llm-council/scripts
# Kill any existing server on the port
fuser -k 8787/tcp 2>/dev/null
# Start server
nohup python3 server.py > /tmp/council-server.log 2>&1 &
# Wait for startup, verify health
sleep 2 && curl -s --max-time 5 http://localhost:8787/health
# Export port for browser access
/app/export-port.sh 8787

Environment: COUNCIL_PORT (default 8787), AI_GATEWAY_API_KEY (required, auto-detected from environment).

Files

  • scripts/server.py - ThreadingHTTPServer, serves static files + API routes, SSE streaming
  • scripts/ai_gateway.py - AI Gateway client: query, parallel query, streaming, synthesis, anonymous voting
  • scripts/static/index.html - Dashboard UI (HappyCapy design system, light/dark theme)
  • scripts/static/app.js - Client-side logic (model selector, SSE parsing, markdown rendering, voting UI)

API

Method Path Description
GET / Dashboard
GET /api/models List models
GET /health Health check
POST /api/council/stream Query models (SSE)
POST /api/council/synthesize Synthesize consensus
POST /api/council/vote Anonymous model vote (SSE with keepalive)

Key Details

  • Server uses ThreadingHTTPServer for concurrent request handling
  • Vote endpoint streams SSE keepalive pings every 5s to prevent proxy timeouts (Cloudflare 524)
  • Static files served with Cache-Control: no-store, no-cache headers
  • Script tag uses cache-busting version param: app.js?v=... (bump when editing app.js)
  • Model IDs use dots not hyphens: anthropic/claude-sonnet-4.5 (not claude-sonnet-4-5)

Version History

  • e2976bc Current 2026-08-20 07:46

Same Skill Collection

skills/3d-web-experience/SKILL.md
skills/better-auth-best-practices/SKILL.md
skills/building-native-ui/SKILL.md
skills/canvas-design/SKILL.md
skills/capy-cortex/SKILL.md
skills/capy-video-gen-skill/SKILL.md
skills/contract-first-agents/SKILL.md
skills/create-design-system-rules/SKILL.md
skills/data-storytelling/SKILL.md
skills/frontend-slides/SKILL.md
skills/gbro-collage-broll/SKILL.md
skills/goplaces/SKILL.md
skills/happycapy-feishu/SKILL.md
skills/happycapy-skill-creator/SKILL.md
skills/image-enhancer/SKILL.md
skills/mobile-design/SKILL.md
skills/next-best-practices/SKILL.md
skills/oss-contributor-swarm/SKILL.md
skills/pdf/SKILL.md
skills/pptx/SKILL.md
skills/prompt-improver/SKILL.md
skills/redbook-creator-publish/SKILL.md
skills/reddit-post-skill/SKILL.md
skills/reddit-post-writer/SKILL.md
skills/resume-assistant/SKILL.md
skills/skill-creator/SKILL.md
skills/slack-gif-creator/SKILL.md
skills/supabase-postgres-best-practices/SKILL.md
skills/treatment-plans/SKILL.md
skills/video-downloader/SKILL.md
skills/video-frames/SKILL.md
skills/weather/SKILL.md
skills/writing-clearly-and-concisely/SKILL.md
skills/xiaohongshu-recruiter/SKILL.md
skills/youtube-music/SKILL.md
skills/360-panorama-viewer/SKILL.md
skills/apricot-ritual/SKILL.md
skills/azure-host/SKILL.md
skills/botanical-blur/SKILL.md
skills/coral-geyser/SKILL.md
skills/find-skills/SKILL.md
skills/html-over-markdown/SKILL.md
skills/latex-document/SKILL.md
skills/mobile-app-developer/SKILL.md
skills/olive-rose/SKILL.md
skills/signal-green/SKILL.md
skills/world-class-carousel/SKILL.md
skills/ai-image-generation/SKILL.md
skills/ai-video-generation/SKILL.md

Metadata

Files
0
Version
e2976bc
Hash
123a0f37
Indexed
2026-08-20 07:46

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-30 17:21
浙ICP备14020137号-1 $Carte des visiteurs$