ai-council
npx skills add https://github.com/tehranian/claude-ai-council --skill ai-council
Agent 安装分布
Skill 文档
AI Council
Summon a council of specialized AI advisors to deliberate on your ideas, proposals, or decisions from multiple perspectives.
Overview
The AI Council launches parallel sub-agents, each with a distinct analytical lens. Council members analyze independently, document their reasoning to a persistent file, then you can optionally have them debate to surface the strongest arguments.
How It Works
digraph council_flow {
rankdir=TB;
"User invokes /ai-council" [shape=box];
"Discover agents via Glob" [shape=box];
"Present agent selection (AskUserQuestion)" [shape=box];
"User selects agents + provides proposal" [shape=box];
"Launch selected agents in parallel (Task tool)" [shape=box];
"Write all perspectives to AI-COUNCIL.md" [shape=box];
"Present results to user" [shape=box];
"Optional: Trigger debate round" [shape=diamond];
"Agents challenge each other" [shape=box];
"Append debate to AI-COUNCIL.md" [shape=box];
"Synthesis and recommendations" [shape=box];
"User invokes /ai-council" -> "Discover agents via Glob";
"Discover agents via Glob" -> "Present agent selection (AskUserQuestion)";
"Present agent selection (AskUserQuestion)" -> "User selects agents + provides proposal";
"User selects agents + provides proposal" -> "Launch selected agents in parallel (Task tool)";
"Launch selected agents in parallel (Task tool)" -> "Write all perspectives to AI-COUNCIL.md";
"Write all perspectives to AI-COUNCIL.md" -> "Present results to user";
"Present results to user" -> "Optional: Trigger debate round";
"Optional: Trigger debate round" -> "Agents challenge each other" [label="yes"];
"Optional: Trigger debate round" -> "Synthesis and recommendations" [label="no"];
"Agents challenge each other" -> "Append debate to AI-COUNCIL.md";
"Append debate to AI-COUNCIL.md" -> "Synthesis and recommendations";
}
Invocation Protocol
When this skill is invoked:
Step 1: Discover and Select Agents
- Use the
Globtool with patternagents/*.md(relative to the plugin root) to discover all available agent files. - Read each discovered file to extract the YAML frontmatter fields:
name,description,model, andcolor. - Build
AskUserQuestionoptions dynamically from the discovered agents. For each agent:label: Convert thenamefield from kebab-case to Title Case (e.g.,devils-advocateâDevil's Advocate)description: Use a short summary extracted from the first sentence of thedescriptionfield
- Present the multi-select agent chooser:
AskUserQuestion:
question: "Which council members should deliberate on this?"
header: "Council"
multiSelect: true
options:
[dynamically built from discovered agents]
Step 2: Gather the Proposal
If not already provided, ask the user for:
- Proposal: What idea/decision needs analysis?
- Context: Relevant background, constraints, goals
- Key Questions: Specific aspects to focus on (optional)
Step 3: Launch Agents in Parallel
For each selected agent:
- Read the agent
.mdfile from theagents/directory. - Extract the
modelfrom frontmatter (default toopusif not specified). - Use the file body (everything after the frontmatter closing
---) as the agent’s system prompt. - Launch via the
Tasktool.
Critical: Launch ALL selected agents in a single message with multiple Task tool calls for true parallel execution.
Example Task invocation pattern:
Task:
subagent_type: general-purpose
model: [from agent frontmatter, default opus]
description: "[Agent Name] council analysis"
prompt: |
You are the [Agent Name]. [Insert agent system prompt body here]
**Proposal to Analyze:**
[User's proposal]
**Context:**
[User's context]
**Your Task:**
Provide your perspective-aligned analysis following your output structure.
Be specific and actionable. Include confidence levels for key claims.
Always use the model specified in the agent’s frontmatter (defaulting to opus) for council agents to ensure the highest quality analysis.
Step 4: Write Deliberation Log
IMPORTANT: After collecting all agent responses, write them to AI-COUNCIL.md in the current working directory.
Use the following format:
# AI Council Deliberation
**Date**: [ISO timestamp]
**Proposal**: [Brief title or summary]
---
## Proposal Under Review
[Full proposal text and context provided by user]
**Key Questions**:
1. [Question 1]
2. [Question 2]
...
---
## Council Perspectives
### [Agent Name]
[Full analysis from this agent]
**Confidence Level**: [X]%
---
[Continue for each selected agent...]
---
## Areas of Agreement
- [Point where multiple agents agree]
- [Another consensus point]
## Areas of Disagreement
- [Contested claim]: [Agent A] says X, [Agent B] says Y
---
## Debate Round (if conducted)
### [Agent Name] challenges [Other Agent]
> "[Specific claim being challenged]"
[Challenge and counter-argument]
[Continue for all challenges...]
---
## Synthesis
### Consensus
[Where all/most agents agree]
### Key Risks
[Top concerns across all perspectives]
### Key Opportunities
[Top upsides identified]
### Recommended Next Steps
1. [Action item]
2. [Action item]
...
---
*Council session complete.*
Step 5: Present Results
After writing to AI-COUNCIL.md, present a summary to the user:
- Highlight areas of agreement across agents
- Flag areas of disagreement for potential debate
- Mention that full deliberation is saved to
AI-COUNCIL.md
Step 6: Optional Debate Round
Ask if the user wants agents to challenge each other:
AskUserQuestion:
question: "Should the council debate their positions?"
header: "Debate"
options:
- label: "Yes, have them challenge each other"
description: "Agents will directly confront opposing claims"
- label: "No, proceed to synthesis"
description: "Skip to final recommendations"
If debate requested:
- Launch a second round where each agent challenges specific claims from others
- Append the debate results to
AI-COUNCIL.md(don’t overwrite) - Update the synthesis section
Step 7: Final Synthesis
Provide a unified summary and ensure AI-COUNCIL.md contains:
- Consensus: Where all/most agents agree
- Contested: Where significant disagreement exists
- Key Risks: Top concerns across all perspectives
- Key Opportunities: Top upsides identified
- Recommended Next Steps: Actionable path forward
Extensibility
The council automatically discovers all agent files in the agents/ directory. To add a new agent, either:
- Use
/create-agentto generate one from a natural language description - Manually create an
.mdfile inagents/following the established frontmatter + system prompt pattern
New agents are immediately available the next time /ai-council is invoked â no registration step required.
Quick Reference
| Trigger | Action |
|---|---|
/ai-council |
Launch council with agent selection |
| “Agents gather” | Alternative trigger phrase |
| “Make them debate” | Trigger debate round after initial analysis |
| “Synthesize” | Request unified summary from Neutral Analyst |
Output Files
| File | Purpose |
|---|---|
AI-COUNCIL.md |
Complete deliberation log with all perspectives, debates, and synthesis |
Common Patterns
Full Council
Select all agents for comprehensive analysis of major decisions.
Technical Review
Select: Technical Validator + Devil’s Advocate + Neutral Analyst
Strategic Review
Select: Optimist Strategist + Growth Strategist + Devil’s Advocate
Quick Feasibility
Select: Technical Validator + Neutral Analyst
Example Invocation
User: /ai-council
Claude:
- Discovers all agents in
agents/via Glob - Presents dynamic multi-select with discovered agents
- User selects agents and provides proposal
- Launches parallel Task agents (each using their configured model)
- Collects all responses
- Writes complete deliberation to
AI-COUNCIL.md - Presents summary to user
- Offers debate option
- If debate requested, appends debate to file
- Finalizes synthesis in file and presents recommendations