Build multi-agent systems - orchestration, coordination, workflows, and distributed architectures
Build coordinated multi-agent systems with orchestrator-worker patterns for complex tasks requiring multiple specialized agents. Use when tasks need parallel execution, hierarchical coordination, or distributed workflows with different model allocations.
/plugin marketplace add pluginagentmarketplace/custom-plugin-ai-agents/plugin install custom-plugin-ai-agents@pluginagentmarketplace-ai-agentsThis skill inherits all available tools. When active, it can use any tool Claude has access to.
assets/config.yamlassets/schema.jsonreferences/GUIDE.mdreferences/PATTERNS.mdscripts/orchestrator_worker.pyscripts/validate.pyBuild coordinated multi-agent systems for complex tasks.
Invoke this skill when:
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
task | string | Yes | Multi-agent goal | - |
architecture | enum | No | orchestrator-worker, hierarchical, peer-to-peer | orchestrator-worker |
framework | enum | No | langgraph, autogen, crewai | langgraph |
from langgraph.graph import StateGraph, MessagesState
from langgraph.prebuilt import create_react_agent
# Create specialized agents
researcher = create_react_agent(llm, [web_search])
coder = create_react_agent(llm, [execute_code])
# Build graph
graph = StateGraph(MessagesState)
graph.add_node("researcher", researcher)
graph.add_node("coder", coder)
graph.add_conditional_edges("coordinator", router)
Orchestrator (Opus)
├── Researcher (Sonnet)
├── Analyst (Sonnet)
└── Writer (Haiku)
Manager (Opus)
├── Research Lead (Sonnet)
│ ├── Web Researcher (Haiku)
│ └── Doc Analyst (Haiku)
└── Engineering Lead (Sonnet)
├── Frontend Dev (Haiku)
└── Backend Dev (Haiku)
| Agent Type | Model | Rationale |
|---|---|---|
| Orchestrator | Opus | Complex planning |
| Specialist | Sonnet | Reasoning |
| Worker | Haiku | Simple tasks |
| Issue | Solution |
|---|---|
| Agents not coordinating | Check message bus |
| Deadlock | Add timeout, detect cycles |
| Inconsistent results | Synchronize state |
| High costs | Use cheaper models for workers |
ai-agent-basics - Single agentsagent-memory - Shared statetool-calling - Per-agent toolsThis skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.