agent-orchestratorMeta-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. MANDATORY TRIGGERS: orchestrate, multi-agent, decompose task, spawn agents, sub-agents, parallel agents, agent coordination, task breakdown, meta-agent, agent factory, delegate tasks
Install via ClawdBot CLI:
clawdbot install aatmaan1/agent-orchestratorOrchestrate complex tasks by decomposing them into subtasks, spawning autonomous sub-agents, and consolidating their work.
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 work
Decomposition Principles:
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 tracking
Generate SKILL.md dynamically with:
See references/sub-agent-templates.md for pre-built templates.
Initialize each agent by:
inbox/instructions.mdinbox/status.json to {"state": "pending", "started": null}# 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"
)
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.
Once all agents complete:
outbox/# Consolidation pattern
for agent in agents:
outputs = glob(f"{agent.path}/outbox/*")
validate_outputs(outputs, agent.success_criteria)
consolidated_results.extend(outputs)
After consolidation:
python3 scripts/dissolve_agents.py --workspace <path> --archive
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 | failedMacro 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 → reviewer
Pre-built templates for common agent types in references/sub-agent-templates.md:
Generated Feb 28, 2026
Decompose a request for a comprehensive market analysis into sub-tasks: data collection on competitors, trend analysis, report drafting, and quality review. Spawn specialized agents for each phase, coordinating them to produce a polished final report.
Orchestrate a software build by breaking it into modules: requirements gathering, coding, testing, and documentation. Generate agents for each module, using file-based communication to handle dependencies and consolidate code into a deployable product.
Handle a multi-channel marketing campaign by decomposing it into content ideation, creation, design, and scheduling tasks. Spawn agents to autonomously generate and review materials, ensuring consistency and timely delivery across platforms.
Manage a research project by splitting it into literature review, data analysis, writing, and peer review phases. Coordinate agents to gather sources, process data, draft sections, and refine the paper for publication.
Analyze supply chain inefficiencies by decomposing the task into data collection from logistics, performance modeling, risk assessment, and recommendation synthesis. Use agents to parallelize analysis and produce actionable insights.
Offer a cloud-based service where businesses submit complex tasks, and the orchestrator automatically decomposes them, deploys AI agents, and delivers results. Revenue comes from subscription tiers based on task complexity and agent usage.
Provide tailored solutions for enterprises to integrate the orchestrator into their workflows, such as for research or development projects. Revenue is generated through one-time setup fees, ongoing support contracts, and training sessions.
License the orchestrator technology to other software companies or agencies, allowing them to embed multi-agent capabilities into their own products. Revenue streams include licensing fees and royalties based on client usage.
💬 Integration Tip
Start with a small pilot project using 2-3 agents to validate the workflow, then scale up by refining agent templates and communication protocols based on initial results.
Captures learnings, errors, and corrections to enable continuous improvement. Use when: (1) A command or operation fails unexpectedly, (2) User corrects Clau...
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
Search and analyze your own session logs (older/parent conversations) using jq.
Typed knowledge graph for structured agent memory and composable skills. Use when creating/querying entities (Person, Project, Task, Event, Document), linking related objects, enforcing constraints, planning multi-step actions as graph transformations, or when skills need to share state. Trigger on "remember", "what do I know about", "link X to Y", "show dependencies", entity CRUD, or cross-skill data access.
Ultimate AI agent memory system for Cursor, Claude, ChatGPT & Copilot. WAL protocol + vector search + git-notes + cloud backup. Never lose context again. Vibe-coding ready.
Headless browser automation CLI optimized for AI agents with accessibility tree snapshots and ref-based element selection