multi-agent-composition
БесплатноБез исполняемых скриптовНе проверенDecision frameworks and patterns for choosing and composing Claude Code components — skills, sub-agents, hooks, MCP servers, and slash commands — into…
Об этом скилле
Multi-Agent Composition
Master Claude Code's components, patterns, and principles to build effective agentic systems.
When to Use This Knowledge
Use this knowledge when:
- Learning Claude Code - Understanding what each component does
- Making architectural decisions - Choosing Skills vs Sub-Agents vs MCP vs Slash Commands
- Building custom solutions - Creating specialized agents or orchestration systems
- Scaling agentic workflows - Moving from single agents to multi-agent orchestration
- Debugging issues - Understanding why components behave certain ways
- Adding observability - Implementing hooks for monitoring and control
Quick Reference
The Core 4 Framework
Every agent is built on these four elements:
- Context - What information does the agent have?
- Model - What capabilities does the model provide?
- Prompt - What instruction are you giving?
- Tools - What actions can the agent take?
"Everything comes down to just four pieces. If you understand these, you will win."
Component Overview
| Component | Trigger | Use When | Best For |
|---|---|---|---|
| Skills | Agent-invoked | Repeat problems needing management | Domain-specific workflows |
| Sub-Agents | Tool-invoked | Parallelization & context isolation | Scale & batch operations |
| MCP Servers | As needed | External data/services | Integration with external systems |
| Slash Commands | Manual/tool | One-off tasks | Simple repeatable prompts |
| Hooks | Lifecycle events | Observability & control | Monitoring & blocking |
Composition Hierarchy
Skills (Top Layer)
├─→ Can use: Sub-Agents, Slash Commands, MCP Servers, Other Skills
└─→ Purpose: Orchestrate primitives for repeatable workflows
Sub-Agents (Execution Layer)
├─→ Can use: Slash Commands, Skills
└─→ Cannot nest other Sub-Agents
Slash Commands (Primitive Layer)
└─→ The fundamental building block
MCP Servers (Integration Layer)
└─→ Connect external systems
Golden Rules
- Always start with prompts - Master the primitive first
- "Parallel" = Sub-Agents - Nothing else supports parallel execution
- External = MCP, Internal = Skills - Clear separation of concerns
- One-off = Slash Command - Don't over-engineer
- Repeat + Management = Skill - Only scale when needed
- Don't convert all slash commands to skills - Huge mistake
- Context, Model, Prompt, Tools - Never forget the foundation
Documentation Structure
This skill uses progressive disclosure. Start here, then navigate to specific topics as needed.
Reference Documentation
Architecture fundamentals - What each component is and how they work
- architecture.md - Component definitions, capabilities, restrictions
- core-4-framework.md - Deep dive into Context, Model, Prompt, Tools
Implementation Patterns
How to use components effectively - Decision-making and implementation
- decision-framework.md - When to use Skills vs Sub-Agents vs MCP vs Slash Commands
- hooks-in-composition.md - Implementing hooks for observability and control
- orchestrator-pattern.md - Multi-agent orchestration at scale
- context-management.md - Managing context across agents
- context-in-composition.md - Context handling in multi-agent systems
Anti-Patterns
Common mistakes to avoid
- common-mistakes.md - Converting all slash commands to skills, using skills for one-offs, context explosion, and more
Examples
Real-world case studies and progression paths
- progression-example.md - Evolution from prompt → sub-agent → skill (work tree manager example)
- case-studies.md - Scout-builder patterns, orchestration workflows, multi-agent systems
Workflows
Visual guides and decision trees
- decision-tree.md - Decision trees, mindmaps, and visual guides for choosing components
Getting Started
If you're new to Claude Code
- Start with reference/architecture.md to understand components
- Read reference/core-4-framework.md to grasp the foundation
- Use patterns/decision-framework.md to make your first architectural choice
- Check anti-patterns/common-mistakes.md to avoid pitfalls
If you're making an architectural decision
- Open patterns/decision-framework.md
- Follow the decision tree to identify the right component
- Review
Установить multi-agent-composition в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл multi-agent-composition?
Decision frameworks and patterns for choosing and composing Claude Code components — skills, sub-agents, hooks, MCP servers, and slash commands — into effective multi-component agentic systems with proper orchestration and context management.
Как установить скилл multi-agent-composition?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл multi-agent-composition запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic