wasabeef/claude-code-cookbook/multi-role
Claude Code and agent skill by wasabeef/claude-code-cookbook
- community
Checking that the SKILL.md file is still in the repository.
Parallel analysis with multiple roles and integrated report. Trigger with "analyze from multiple perspectives", "multi-role analysis", "check both security and performance".
Install
npx vskill@latest install wasabeef/claude-code-cookbook/multi-roleSKILL.md
Parallel analysis with multiple roles and integrated report
A command that analyzes the same target in parallel with multiple roles and generates an integrated report.
Usage
Available Roles
Specialized Analysis Roles
security: Security audit expertperformance: Performance optimization expertanalyzer: Root cause analysis expertfrontend: Frontend and UI/UX expertmobile: Mobile development expertbackend: Backend and server-side expert
Development Support Roles
reviewer: Code review expertarchitect: System architectqa: Test engineer
Important:
- Place the
--agentoption immediately after specifying roles - Write your message after
--agent - Correct example:
/multi-role qa,architect --agent Evaluate the plan - Incorrect example:
/multi-role qa,architect Evaluate the plan --agent
Options
--agentor-a: Execute each role as a sub-agent in parallel (recommended for large-scale analysis)- When using this option, if role descriptions include proactive delegation phrases (like "use PROACTIVELY"), more aggressive automatic delegation becomes enabled
Basic Examples
Analysis Process
Phase 1: Parallel Analysis
Each role independently analyzes the same target
- Perform evaluation from specialized perspective
- Make judgments based on role-specific criteria
- Generate independent recommendations
Phase 2: Integrated Analysis
Structure and integrate results
- Organize evaluation results from each role
- Identify overlaps and contradictions
- Clarify complementary relationships
Phase 3: Integrated Report
Generate final recommendations
- Prioritized action plan
- Explicit trade-offs
- Implementation roadmap
Output Format Examples
For 2-role Analysis
For 3-role Analysis
Effective Combination Patterns
Security-focused
Performance-focused
User Experience-focused
Comprehensive Analysis
Collaboration with Claude
Choosing between multi-role and role-debate
When to use multi-role
- You want independent evaluations from each specialty
- You want to create an integrated improvement plan
- You want to organize contradictions and overlaps
- You want to determine implementation priorities
When to use role-debate
- There are trade-offs between specialties
- Opinions might differ on technology selection
- You want to decide design policies through discussion
- You want to hear debates from different perspectives
Sub-agent Parallel Execution (--agent)
Using the --agent option executes each role as an independent sub-agent in parallel.
Promoting Automatic Delegation
If role file descriptions include phrases like these, more proactive automatic delegation is enabled when using --agent:
- "use PROACTIVELY"
- "MUST BE USED"
- Other emphasis expressions
Execution Flow
Effective Usage Examples
Performance Comparison
| Number of Roles | Normal Execution | --agent Execution | Reduction Rate | |
|---|---|---|---|---|
| 2 roles | 2-3 minutes | 1 minute | 50% | |
| 3 roles | 3-5 minutes | 1-2 minutes | 60% | |
| 4 roles | 5-8 minutes | 2-3 minutes | 65% |
Notes
- Executing 3 or more roles simultaneously results in longer output
- Complex analyses may take longer to execute
- If conflicting recommendations arise, consider using role-debate
- Final judgments should be made by the user with reference to integrated results
- When using --agent: Consumes more resources but is efficient for large-scale analyses
Role Configuration Details
- Detailed settings, domain expertise, and discussion traits for each role are defined in
.claude/agents/roles/ - Includes Evidence-First practices and cognitive bias countermeasures
- Role-specific trigger phrases automatically enable the specialized mode
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/en/skills/multi-role/SKILL.md
Popularity
- Repository stars
- 1,132
- Repository forks
- 114
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/wasabeef/claude-code-cookbook/multi-role)