agent-orchestrator
Skill0 starsChanged 4 months agoMITView on GitHub
Meta-agent skill for orchestrating complex tasks through autonomous sub-agents. Decomposes macro tasks into subtasks, spawns specialized sub-agents with dynamically generated SKILL.md files, coordinates file-based communication, consolidates results, and dissolves agents upon completion.
12 other projects use a version of this.
Adopted by
Most recently taken up by
- nainishshafi/developer-productivity-skillstheir own version, first seen Nov 8, 2026
- qiangjiyi/jiyi-skillstheir own version, first seen Nov 8, 2026
- wulaosiji/skillstheir own version, first seen Nov 1, 2026
- mholtzscher/skillstheir own version, first seen Oct 16, 2026
- mengxiangsama/codex-agent-orchestration-skilltheir own version, first seen Oct 11, 2026
- p10ns11y/skillstheir own version, first seen Oct 3, 2026
Other versions12 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 12
- wulaosiji/skills★ 28same name
- Cor-Incorporated/claude-code-skills★ 5same name
- qiangjiyi/jiyi-skills★ 3same name
- p10ns11y/skills★ 2same name
- Xwen0857/agent-orchestrator★ 2same name
- lschGSL/claude_code_template★ 1same name
- mengxiangsama/codex-agent-orchestration-skill★ 1same name
- mikeshoes/skills★ 1same name
- nainishshafi/developer-productivity-skills★ 1same name
- 2867203296/hermes-agent★ 0same name
2 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 repository52 other files it gives its agents.
- skills/composition-patterns/AGENTS.mdAGENTS.md
- sample-project/CLAUDE.mdCLAUDE.md
- api-designSkill
- banner-designSkill
- brainstormingSkill
- brandSkill
- capital-accountsSkill
- composition-patternsSkill
- continuous-learning-v2Skill
- contract-reviewSkill
- credential-scannerSkill
- deployment-patternsSkill
- design-systemSkill
- dispatching-parallel-agentsSkill
- docker-patternsSkill
- e2e-testingSkill
- executing-plansSkill
- finishing-a-development-branchSkill
- fixed-assetsSkill
- frontend-designSkill
- git-guardrails-claude-codeSkill
- graphifySkill
- huashu-designSkill
- investmentsSkill
- iterative-retrievalSkill
- legal-agreementSkill
- plain-english-translationSkill
- terms-of-service-generatorSkill
- pdfSkill
- prd-to-issuesSkill
- prd-to-planSkill
- receiving-code-reviewSkill
- requesting-code-reviewSkill
- security-reviewSkill
- shapeSkill
- slidesSkill
- subagent-driven-developmentSkill
- systematic-debuggingSkill
- test-driven-developmentSkill
- triage-issueSkill
- ui-stylingSkill
- ui-ux-pro-maxSkill
- using-git-worktreesSkill
- using-superpowersSkill
- verification-before-completionSkill
- video-prompt-builderSkill
- webapp-testingSkill
- web-design-guidelinesSkill
- write-a-prdSkill
- writing-plansSkill
- writing-skillsSkill
- xlsxSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 3 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
3
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
- Distinctive: line 30
Prefer broader, autonomous tasks over narrow, interdependent ones
- Distinctive: line 104
Resolve conflicts: if multiple agents touched shared concerns
- Distinctive: line 173
Explicit handoffs: - Use structured files for agent communication
“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.
Files
Agent Orchestrator
Orchestrate complex tasks by decomposing them into subtasks, spawning autonomous sub-agents, and consolidating their work.
Core Workflow
Phase 1: Task Decomposition
Analyze the macro task and break it into independent, parallelizable subtasks:
1. Identify the end goal and success criteria
2. List all major components/deliverables required
3. Determine dependencies between components
4. Group independent work into parallel subtasks
5. Create a dependency graph for sequential workDecomposition Principles:
- Each subtask should be completable in isolation
- Minimize inter-agent dependencies
- Prefer broader, autonomous tasks over narrow, interdependent ones
- Include clear success criteria for each subtask
Phase 2: Agent Generation
For each subtask, create a sub-agent workspace:
python3 scripts/create_agent.py <agent-name> --workspace <path>This creates:
<workspace>/<agent-name>/
âââ SKILL.md # Generated skill file for the agent
âââ inbox/ # Receives input files and instructions
âââ outbox/ # Delivers completed work
âââ workspace/ # Agent's working area
âââ status.json # Agent state trackingGenerate SKILL.md dynamically with:
- Agent's specific role and objective
- Tools and capabilities needed
- Input/output specifications
- Success criteria
- Communication protocol
See references/sub-agent-templates.md for pre-built templates.
Phase 3: Agent Dispatch
Initialize each agent by:
- Writing task instructions to
inbox/instructions.md - Copying required input files to
inbox/ - Setting
status.jsonto{"state": "pending", "started": null} - Spawning the agent using the Task tool:
# Spawn agent with its generated skill
Task(
description=f"{agent_name}: {brief_description}",
prompt=f"""
Read the skill at {agent_path}/SKILL.md and follow its instructions.
Your workspace is {agent_path}/workspace/
Read your task from {agent_path}/inbox/instructions.md
Write all outputs to {agent_path}/outbox/
Update {agent_path}/status.json when complete.
""",
subagent_type="general-purpose"
)Phase 4: Monitoring (Checkpoint-based)
For fully autonomous agents, minimal monitoring is needed:
# Check agent completion
def check_agent_status(agent_path):
status = read_json(f"{agent_path}/status.json")
return status.get("state") == "completed"Periodically check status.json for each agent. Agents update this file upon completion.
Phase 5: Consolidation
Once all agents complete:
- Collect outputs from each agent's
outbox/ - Validate deliverables against success criteria
- Merge/integrate outputs as needed
- Resolve conflicts if multiple agents touched shared concerns
- Generate summary of all work completed
# Consolidation pattern
for agent in agents:
outputs = glob(f"{agent.path}/outbox/*")
validate_outputs(outputs, agent.success_criteria)
consolidated_results.extend(outputs)Phase 6: Dissolution & Summary
After consolidation:
- Archive agent workspaces (optional)
- Clean up temporary files
- Generate final summary:
- What was accomplished per agent
- Any issues encountered
- Final deliverables location
- Time/resource metrics
python3 scripts/dissolve_agents.py --workspace <path> --archiveFile-Based Communication Protocol
See references/communication-protocol.md for detailed specs.
Quick Reference:
inbox/- Read-only for agent, written by orchestratoroutbox/- Write-only for agent, read by orchestratorstatus.json- Agent updates state:pendingârunningâcompleted|failed
Example: Research Report Task
Macro Task: "Create a comprehensive market analysis report"
Decomposition:
âââ Agent: data-collector
â âââ Gather market data, competitor info, trends
âââ Agent: analyst
â âââ Analyze collected data, identify patterns
âââ Agent: writer
â âââ Draft report sections from analysis
âââ Agent: reviewer
âââ Review, edit, and finalize report
Dependency: data-collector â analyst â writer â reviewerSub-Agent Templates
Pre-built templates for common agent types in references/sub-agent-templates.md:
- Research Agent - Web search, data gathering
- Code Agent - Implementation, testing
- Analysis Agent - Data processing, pattern finding
- Writer Agent - Content creation, documentation
- Review Agent - Quality assurance, editing
- Integration Agent - Merging outputs, conflict resolution
Best Practices
- Start small - Begin with 2-3 agents, scale as patterns emerge
- Clear boundaries - Each agent owns specific deliverables
- Explicit handoffs - Use structured files for agent communication
- Fail gracefully - Agents report failures; orchestrator handles recovery
- Log everything - Status files track progress for debugging
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.

