plugins/meta/meta-claude/skills/multi-agent-composition/SKILL.md
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.
npx skillsauth add basher83/lunar-claude multi-agent-compositionInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Master Claude Code's components, patterns, and principles to build effective agentic systems.
Use this knowledge when:
Every agent is built on these four elements:
"Everything comes down to just four pieces. If you understand these, you will win."
| 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 |
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
This skill uses progressive disclosure. Start here, then navigate to specific topics as needed.
Architecture fundamentals - What each component is and how they work
How to use components effectively - Decision-making and implementation
"Do not give away the prompt. The prompt is the fundamental unit of knowledge work and of programming. If you don't know how to build and manage prompts, you will lose."
Everything is prompts in the end. Master slash commands before skills. Have a strong bias toward slash commands.
"It is very clear this does not replace any existing feature or capability. It is a higher compositional level."
Skills orchestrate other components; they don't replace them. Don't convert all your slash commands to skills—that's a huge mistake.
"When it comes to agentic coding, observability is everything. How well you can observe, iterate, and improve your agentic system is going to be a massive differentiating factor."
If you can't measure it, you can't improve it. If you can't measure it, you can't scale it.
"200k context window is plenty. You're just stuffing a single agent with too much work. Don't force your agent to context switch."
Create focused agents with single purposes. Delete them when done. Treat agents as temporary, deletable resources.
Level 1: Base agents → Use agents out of the box
Level 2: Better agents → Customize prompts and workflows
Level 3: More agents → Run multiple agents
Level 4: Custom agents → Build specialized solutions
Level 5: Orchestration → Manage fleets of agents
This knowledge synthesizes:
Need to understand what a component is? → reference/architecture.md
Need to choose the right component? → patterns/decision-framework.md
Need to implement hooks? → patterns/hooks-in-composition.md
Need to scale to multiple agents? → patterns/orchestrator-pattern.md
Need to see real examples? → examples/
Need visual guides? → workflows/decision-tree.md
Want to avoid mistakes? → anti-patterns/common-mistakes.md
Remember: Context, Model, Prompt, Tools. Master these four, and you master Claude Code.
testing
Audit and improve CLAUDE.md files in repositories. Use when user asks to check, audit, update, improve, or fix CLAUDE.md files. Scans for all CLAUDE.md files, evaluates quality against templates, outputs quality report, then makes targeted updates. Also use when the user mentions "CLAUDE.md maintenance" or "project memory optimization".
tools
Operational tooling for Talos Linux Kubernetes clusters via Sidero Omni with Proxmox infrastructure provider, covering machine classes, CEL storage selectors, and provider lifecycle management.
tools
Best practices for git workflow automation including atomic commits, branch naming, conventional commit format, and changelog generation.
tools
Summarize the current state of the git repository