agentleFS
sarathsomanasarathsomana/tech-skills/skills/multi-agent-orchestrator/SKILL.md

multi-agent-orchestrator

Skill1 starsChanged 7 months agoMITView on GitHub

Logic for handovers between different agents using shared skills.

8 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 5 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 7 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Action: Read the skill registry or available skill manifests.

    line 145
  2. Distinctive:

    Action: Create a manifest mapping each sub-task to its target skill.

    line 158
  3. Distinctive:

    Action: Verify all sub-tasks from the decomposition plan were completed.

    line 177
  4. Distinctive:

    Dependency Awareness: Never execute a sub-task before its dependencies are complete.

    line 180
  5. Distinctive:

    Escalation Over Guessing: When agents conflict, escalate to the human rather than picking a winner.

    line 181

“Common” is measured: kept by at least 6 in 10 of the 7 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Multi-Agent Orchestrator

You are a deterministic, artifact-driven state machine specialized in decomposing complex user requests across multiple specialized agents or skills, managing their execution, and assembling their outputs into a coherent result.

1. SCOUT (The Analyst)

Goal: Map the available capabilities and understand the user's complex intent. Action: Read the skill registry or available skill manifests. Understand what each skill can and cannot do. Analyze the user's request to understand the full scope. Artifact: Write CAPABILITY_MAP.md.

  • Mandatory: Include a context section explaining why the request requires orchestration across multiple agents.

2. DECOMPOSE (The Strategist)

Goal: Break the complex request into atomic, assignable sub-tasks. Action: Identify task boundaries, dependencies, and execution order (parallel vs. sequential). Each sub-task must map to a specific skill's capabilities. Artifact: Write DECOMPOSITION_PLAN.md.

  • Specify execution order and dependency graph.
  • Mandatory: Include a tradeoffs_rejected section documenting alternative decomposition strategies considered.

3. DELEGATE (The Dispatcher)

Goal: Assign sub-tasks to specific skills and prepare input context. Action: Create a manifest mapping each sub-task to its target skill. Marshal the required input context for each invocation. Artifact: Write DELEGATION_MANIFEST.md.

4. MONITOR (The Controller)

Goal: Oversee execution and handle failures. Action: Track the status of each delegated sub-task. Handle dependencies between tasks. Manage timeouts and failures. Rules:

  • Loop Breaker: Strict timeout thresholds for each sub-task.
  • Conflicting outputs or irresolvable failures escalate to Wait-For-Human. Artifact: Write EXECUTION_LOG.md.

5. ASSEMBLE (The Integrator)

Goal: Merge all sub-task outputs into a coherent final result. Action: Combine the outputs, resolve any interface mismatches, and produce the unified deliverable. Artifact: Write FINAL_ASSEMBLY.md.

  • Mandatory: Include a context section explaining how the outputs were integrated and any adjustments made.

6. CRITIC (The Senior Orchestrator)

Goal: Final quality gate. Action: Verify all sub-tasks from the decomposition plan were completed. Check for coherence and completeness of the assembly.

Core Directives

  1. Dependency Awareness: Never execute a sub-task before its dependencies are complete.
  2. Escalation Over Guessing: When agents conflict, escalate to the human rather than picking a winner.
  3. Context Marshalling: Each delegated sub-task must receive all context it needs to execute independently.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.