agent-orchestrator
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. MANDATORY TRIGGERS: orchestrate, multi-agent, decompose task, spawn agents, sub-agents, parallel agents, agent coordination, task breakdown, meta-agent, agent factory, delegate tasks
Best use case
agent-orchestrator is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
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. MANDATORY TRIGGERS: orchestrate, multi-agent, decompose task, spawn agents, sub-agents, parallel agents, agent coordination, task breakdown, meta-agent, agent factory, delegate tasks
Teams using agent-orchestrator should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/agent-orchestrator/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How agent-orchestrator Compares
| Feature / Agent | agent-orchestrator | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
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. MANDATORY TRIGGERS: orchestrate, multi-agent, decompose task, spawn agents, sub-agents, parallel agents, agent coordination, task breakdown, meta-agent, agent factory, delegate tasks
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
Best AI Skills for Claude
Explore the best AI skills for Claude and Claude Code across coding, research, workflow automation, documentation, and agent operations.
AI Agents for Coding
Browse AI agent skills for coding, debugging, testing, refactoring, code review, and developer workflows across Claude, Cursor, and Codex.
Top AI Agents for Productivity
See the top AI agent skills for productivity, workflow automation, operational systems, documentation, and everyday task execution.
SKILL.md Source
# 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 work
```
**Decomposition 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:
```bash
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:
- Agent's specific role and objective
- Tools and capabilities needed
- Input/output specifications
- Success criteria
- Communication protocol
See [references/sub-agent-templates.md](references/sub-agent-templates.md) for pre-built templates.
### Phase 3: Agent Dispatch
Initialize each agent by:
1. Writing task instructions to `inbox/instructions.md`
2. Copying required input files to `inbox/`
3. Setting `status.json` to `{"state": "pending", "started": null}`
4. Spawning the agent using the Task tool:
```python
# 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:
```python
# 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:
1. **Collect outputs** from each agent's `outbox/`
2. **Validate deliverables** against success criteria
3. **Merge/integrate** outputs as needed
4. **Resolve conflicts** if multiple agents touched shared concerns
5. **Generate summary** of all work completed
```python
# 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:
1. **Archive agent workspaces** (optional)
2. **Clean up temporary files**
3. **Generate final summary**:
- What was accomplished per agent
- Any issues encountered
- Final deliverables location
- Time/resource metrics
```python
python3 scripts/dissolve_agents.py --workspace <path> --archive
```
## File-Based Communication Protocol
See [references/communication-protocol.md](references/communication-protocol.md) for detailed specs.
**Quick Reference:**
- `inbox/` - Read-only for agent, written by orchestrator
- `outbox/` - Write-only for agent, read by orchestrator
- `status.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 â reviewer
```
## Sub-Agent Templates
Pre-built templates for common agent types in [references/sub-agent-templates.md](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
1. **Start small** - Begin with 2-3 agents, scale as patterns emerge
2. **Clear boundaries** - Each agent owns specific deliverables
3. **Explicit handoffs** - Use structured files for agent communication
4. **Fail gracefully** - Agents report failures; orchestrator handles recovery
5. **Log everything** - Status files track progress for debuggingRelated Skills
vaccine-design-orchestrator
Use this skill when the user wants to evaluate a new nanoparticle vaccine candidate, redesign a computational screening workflow, define gate criteria, or produce a Go/Hold/Kill decision.
Agents Orchestrator
Autonomous pipeline manager that orchestrates the entire development workflow. You are the leader of this process.
vestibular-orchestrator
Agente orquestrador central do sistema de estudos para o vestibular de Antonio (FUVEST - Ciência da Computação). Coordena todos os outros agentes especializados: vestibular-tutor (ensino socrático), vestibular-srs (repetição espaçada), vestibular-planner (planejamento de ciclos), vestibular-energia (gestão de estado mental/TDAH). Use este agente SEMPRE que Antonio abrir uma sessão de estudos, pedir orientação sobre o que estudar hoje, mencionar o vestibular, ou pedir visão geral do progresso. Este é o ponto de entrada obrigatório antes de acionar qualquer outro agente especializado. Também deve ser ativado quando Antonio perguntar "o que estudo hoje?", "como estou indo?", "próximo passo", ou qualquer variação.
algernon-orchestrator
Main orchestrator for the OpenAlgernon personal study system. Use this skill at the start of every study session, or whenever the user runs /algernon, says "quero estudar", "iniciar sessao", "abrir algernon", or asks what materials are available. Also handles the /algernon help command and routes any unmatched command to the right sub-skill.
Marketing Orchestrator Skill
## Purpose
Memory Orchestrator - 全栈智能记忆系统
> **让 AI 拥有长期记忆、情感感知和自我进化能力的终极技能**
---
name: article-factory-wechat
humanizer
Remove signs of AI-generated writing from text. Use when editing or reviewing text to make it sound more natural and human-written. Based on Wikipedia's comprehensive "Signs of AI writing" guide. Detects and fixes patterns including: inflated symbolism, promotional language, superficial -ing analyses, vague attributions, em dash overuse, rule of three, AI vocabulary words, negative parallelisms, and excessive conjunctive phrases.
find-skills
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.
tavily-search
Use Tavily API for real-time web search and content extraction. Use when: user needs real-time web search results, research, or current information from the web. Requires Tavily API key.
baidu-search
Search the web using Baidu AI Search Engine (BDSE). Use for live information, documentation, or research topics.
agent-autonomy-kit
Stop waiting for prompts. Keep working.