multi-agent-orchestration
Skill27 starsChanged 3 months agoApache-2.0View on GitHub
Use when coordinating multiple specialized agents for complex distributed tasks. Keywords: multi-agent, orchestrator, subagent, handoff, swarm, supervisor, agent topology, coordination.
15 other projects use a version of this.
Adopted by
Most recently taken up by
- roedyrustam/vibes-plugtheir own version, first seen Oct 3, 2026
- mnzralee/claude-multi-agent-architecturetheir own version, first seen Oct 3, 2026
- mizchi/skillstheir own version, first seen Oct 2, 2026
- lgzarturo/codeconductortheir own version, first seen Sep 30, 2026
- DavidTeju/shared-skillstheir own version, first seen Sep 3, 2026
- uvwt/agentdock-skillstheir own version, first seen Aug 30, 2026
Used with
Projects with it also use api-design.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
MicrosoftSkillapi-design
Guide for designing and documenting RESTful APIs. Use when asked to design an API, create endpoints, or document an API.
Also in 3 projects that use this
Other versions15 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 15
- mizchi/skills★ 349same name
- roedyrustam/vibes-plug★ 73same name
- DevelopersGlobal/ai-agent-skills★ 69same name
- qodex-ai/ai-agent-skills★ 45same name
- cobusgreyling/agent-skills★ 18same name
- DavidTeju/shared-skills★ 9same name
- mnzralee/claude-multi-agent-architecture★ 8same name
- uvwt/agentdock-skills★ 7same name
- VersoXBT/claude-initial-setup★ 4same name
- int2t05/engineering-skills★ 3same name
5 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository163 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- agent-memorySkill
- claukitSkill
- mcp-agent-patternsSkill
- workflow-state-machinesSkill
- ai-multimodalSkill
- geo-fundamentalsSkill
- media-processingSkill
- screenshotSkill
- seo-fundamentalsSkill
- soraSkill
- aestheticSkill
- figma-implement-designSkill
- figmaSkill
- frontend-designSkill
- mobile-designSkill
- tailwind-patternsSkill
- ui-stylingSkill
- agentic-ragSkill
- api-patternsSkill
- app-builderSkill
- architectureSkill
- ask-mattSkill
- aspnet-coreSkill
- backend-developmentSkill
- better-authSkill
- clean-codeSkill
- code-agent-patternsSkill
- codebase-designSkill
- code-review-checklistSkill
- code-reviewSkill
- context-engineeringSkill
- context-optimizationSkill
- database-designSkill
- databasesSkill
- diagnoseSkill
- diagnosing-bugsSkill
- docs-seekerSkill
- domain-modelingSkill
- frontend-dev-guidelinesSkill
- graph-ragSkill
- i18n-localizationSkill
- implementSkill
- improve-codebase-architectureSkill
- lint-and-validateSkill
- llm-evalsSkill
- nextjs-best-practicesSkill
- nodejs-best-practicesSkill
- openai-docsSkill
- performance-profilingSkill
- playwright-interactiveSkill
- playwrightSkill
- prompt-engineeringSkill
- prototypeSkill
- python-patternsSkill
- react-patternsSkill
- render-deploySkill
- repomixSkill
- researchSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
12 rules. 0 are common, 11 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 12 edited versions we read keep these.
11
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
When tasks are too large or diverse for a single agent (scope creep).
- Distinctive: line 14
When specific domain expertise (e.g., database design, UI/UX, security) is required in separate, modular contexts.
- Distinctive: line 16
When you need to delegate parallelizable work to maximize throughput.
- Distinctive: line 26
Agent-to-Agent (A2A): Always use structured message framing.
- Very specific: line 28
Return Summaries: Every subagent MUST return a concise summary of work done, resources created, and final status (SUCCESS/FAIL/BLOCKED) …
- Distinctive: line 32
Avoid Token Bloat: Do not pass the entire parent conversation history unless strictly necessary.
- Distinctive: line 41
Parallel Execution: Use when tasks are independent (e.g., unit tests for different modules, gathering info from multiple docs).
- Distinctive: line 42
Sequential Execution: Use when tasks have strict causal dependencies (e.g., design -> implement -> review -> deploy).
- Distinctive: line 46
Shared Artifacts: Write common results to files in the shared artifacts/ directory.
- Distinctive: line 47
Blackboard Memory: Use shared databases or documented state files for common configurations or global project context.
- Distinctive: line 48
Message Bus: Use the parent agent as the hub for all inter-agent messages.
- Distinctive: line 59
Final Integration: Verify the combined results of all subagents against original user acceptance criteria.
“Common” is measured: kept by at least 6 in 10 of the 12 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Multi-Agent Orchestration
Overview
This skill provides a framework for designing and managing multi-agent systems where specialized agents collaborate on complex, multi-stage workflows. It emphasizes clear agent boundaries, structured communication, and robust error isolation.
When To Use
- When tasks are too large or diverse for a single agent (scope creep).
- When specific domain expertise (e.g., database design, UI/UX, security) is required in separate, modular contexts.
- To maintain clean separation of concerns and reduce context window degradation.
- When you need to delegate parallelizable work to maximize throughput.
Topology Patterns
- Hierarchical Supervisor: A central supervisor agent delegates sub-tasks to specialized workers, aggregates their results, and provides final synthesis.
- Swarm Handoffs: Agents pass tasks directly to the next appropriate agent based on completion criteria, forming a chain or graph of expertise.
- Router-Worker: A router analyzes incoming requests and dispatches them to a specific pool of workers based on classification.
- Blackboard: Multiple agents read from and write to a shared persistent state (the "blackboard") until a task objective is satisfied.
- Round-Robin Debate: Agents with opposing viewpoints propose solutions, iterate, and refine based on peer criticism to improve quality.
Communication Protocols
- Agent-to-Agent (A2A): Always use structured message framing.
- Structured Payloads: Encapsulate tasks, constraints, and dependencies in a common JSON format or structured Markdown.
- Return Summaries: Every subagent MUST return a concise summary of work done, resources created, and final status (SUCCESS/FAIL/BLOCKED) before closing the conversation.
Context Isolation & Boundary Hand-offs
- Ephemeral Context: Spawn subagents with only the minimal, high-signal information needed for their specific task.
- Avoid Token Bloat: Do not pass the entire parent conversation history unless strictly necessary. Pass pointers to file locations or artifact links instead.
- Clean State: Each subagent should operate within its own branched workspace to prevent side effects on the parent or other subagents.
Failure Isolation
- Localized Faults: Subagent crashes must be caught by the parent via message timeout or error reporting mechanisms.
- Graceful Retries: Implement retry logic for discrete sub-tasks. If a worker fails, the supervisor should attempt to diagnose the root cause (using Root Cause Tracing) before retrying or pivoting strategy.
- Never Crash Parent: A subagent failure should trigger an alert in the parent agent, not an unhandled exception that propagates to the user.
Task Decomposition Strategies
- Parallel Execution: Use when tasks are independent (e.g., unit tests for different modules, gathering info from multiple docs).
- Sequential Execution: Use when tasks have strict causal dependencies (e.g., design -> implement -> review -> deploy).
- Merge Points: Define clear synchronization points where context from different agents is consolidated, validated, and refined by the supervisor.
State Sharing Patterns
- Shared Artifacts: Write common results to files in the shared artifacts/ directory.
- Blackboard Memory: Use shared databases or documented state files for common configurations or global project context.
- Message Bus: Use the parent agent as the hub for all inter-agent messages.
Anti-patterns
- God Orchestrator: A single agent attempting to do everything; leads to poor specialization and context degradation.
- Circular Dependencies: Agents waiting on each other indefinitely; always define a clear directed acyclic graph (DAG) of task flow.
- Context Explosion: Passing the entire project state to every subagent; use selective scoping instead.
- Silent Failures: Subagents finishing without reporting status; every interaction must have an explicit "done" or "blocked" signal.
Quality Gates
- Pre-Handoff Check: Does the subagent have everything it needs? (Requirements, constraints, deadline).
- Post-Handoff Review: Does the output meet the original task intent? Does it need further refinement before the next step?
- Final Integration: Verify the combined results of all subagents against original user acceptance criteria.
References
- KILO-KIT Core Principles (skills/kilo-kit/SKILL.md)
- Systematic Debugging (skills/systematic-debugging/SKILL.md)
- Architecture Decision Making (skills/architecture/SKILL.md)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

