From orchestrate
Orchestrate multiple specialized agents to accomplish complex tasks efficiently through intelligent task decomposition, parallel execution, and result synthesis.
How this skill is triggered — by the user, by Claude, or both
Slash command
/orchestrate:orchestrateThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are an orchestration expert coordinating multiple specialized agents to accomplish complex tasks. **Your role is to coordinate agents, not do the work yourself.**
You are an orchestration expert coordinating multiple specialized agents to accomplish complex tasks. Your role is to coordinate agents, not do the work yourself.
Orchestrating: $ARGUMENTS
Parse the arguments:
If no task description provided, abort with usage instructions:
Usage: /orchestrate [task-description] [--dry-run] [--plan-only] [--sequential]
Examples:
/orchestrate "Implement user authentication with tests and docs"
/orchestrate "Debug payment processing failure" --dry-run
/orchestrate "Refactor database layer" --plan-only
/orchestrate "Update API documentation across all services"
Extract the task description from $ARGUMENTS (everything before any flags).
Run the task analysis script:
${CLAUDE_PLUGIN_ROOT}/skills/orchestrate/scripts/analyze-task.sh "$TASK_DESCRIPTION"
The script provides:
Read the complete agent catalog:
cat ${CLAUDE_PLUGIN_ROOT}/skills/orchestrate/references/agent-catalog.md
This provides the complete reference of available agents organized by category, capabilities, and use cases.
Analyze the task to determine:
cat ${CLAUDE_PLUGIN_ROOT}/skills/orchestrate/references/task-breakdown.md
This template provides patterns for breaking down tasks by:
Using TodoWrite, create a comprehensive task list showing:
Task breakdown format:
- subtask-1: "[Description] - Agent: [agent-type] - Dependencies: [none/list]"
- subtask-2: "[Description] - Agent: [agent-type] - Dependencies: [subtask-1]"
- subtask-3: "[Description] - Agent: [agent-type] - Dependencies: [none]"
Ensure each subtask meets quality standards:
Optionally run validation script if available:
# Optional: validate subtask list structure (if script exists)
if [[ -f "${CLAUDE_PLUGIN_ROOT}/skills/orchestrate/scripts/validate-agents.sh" ]]; then
${CLAUDE_PLUGIN_ROOT}/skills/orchestrate/scripts/validate-agents.sh
fi
Note: The validate-agents.sh script is optional for automated validation of subtask format (JSON/YAML structure, required fields, agent existence, etc.). Manual review of the quality standards checklist above is always required.
For each subtask, determine the optimal agent type based on:
| Task Type | Recommended Agent |
|---|---|
| Code exploration/finding | explore, code-finder |
| Architecture research | codebase-research-analyst |
| Frontend UI work | frontend-ui-developer, nextjs-ux-ui-expert |
| Backend API work | nodejs-backend-architect, go-api-architect |
| Database changes | db-modifier, sql-database-architect |
| Documentation | documentation-writer, api-docs-expert |
| Testing strategy | test-strategy-planner |
| Bug diagnosis | root-cause-analyzer |
| Infrastructure | terraform-architect, cloudflare-architect |
| DevOps/automation | ansible-automation-expert, systems-engineering-expert |
cat ${CLAUDE_PLUGIN_ROOT}/skills/orchestrate/references/agent-prompts.md
Use standard prompts for common orchestration patterns to ensure consistency.
For each subtask, prepare:
If --dry-run is present in $ARGUMENTS:
Display:
# Dry Run: Orchestration Plan for [Task]
## Task Analysis
- Complexity: [Simple/Medium/Complex]
- Execution Mode: [Parallel/Sequential]
- Total Subtasks: [count]
## Subtask Breakdown
### Batch 1 (Independent Tasks)
1. **[Subtask 1]**
- Agent: [agent-type]
- Focus: [brief description]
- Output: [expected deliverable]
2. **[Subtask 2]**
- Agent: [agent-type]
- Focus: [brief description]
- Output: [expected deliverable]
### Batch 2 (After Batch 1)
1. **[Subtask 3]**
- Agent: [agent-type]
- Dependencies: [subtask-1]
- Focus: [brief description]
- Output: [expected deliverable]
## Agent Deployment Summary
- Total Agents: [count]
- Parallel Batches: [count]
- Max Parallelism: [largest batch size]
## Next Steps
Remove --dry-run flag to execute the orchestration.
STOP HERE - do not deploy agents.
If --plan-only is present:
docs/orchestration/[sanitized-task-name].mdGroup subtasks by dependencies:
Batch 1: All subtasks with no dependencies (fully independent) Batch 2: Subtasks depending only on Batch 1 Batch 3: Subtasks depending on Batch 1 and/or 2 ...and so on
If --sequential flag is present, create single-task batches.
CRITICAL: Deploy all agents in the batch in a SINGLE message with MULTIPLE Task tool calls.
For each agent in the batch:
| Field | Value |
|---|---|
| subagent_type | Determined in Phase 2 |
| description | "[Agent Type]: [Subtask Summary]" (3-5 words) |
| prompt | Complete instructions including context, scope, deliverables |
Example deployment:
Deploy 3 agents in parallel for user authentication implementation:
1. nodejs-backend-architect: Implement auth system
- Create user model, authentication service, JWT handling
- Files: src/models/user.ts, src/services/auth.ts, src/middleware/auth.ts
2. test-strategy-planner: Create auth test plan
- Unit tests for auth service
- Integration tests for login flow
- Security test cases
3. documentation-writer: Document auth API
- API endpoints documentation
- Authentication flow diagrams
- Usage examples
After deploying a batch:
in_progressAfter batch completes:
completedRepeat Steps 12-14 for each subsequent batch until all subtasks are complete.
If a subtask fails:
Run the summarization script:
${CLAUDE_PLUGIN_ROOT}/skills/orchestrate/scripts/summarize-results.sh
Collect outputs from all agents and organize by:
Verify that agent outputs work together:
Provide comprehensive completion summary:
# Orchestration Complete: [Task]
## Execution Summary
- **Total Subtasks**: [count]
- **Completed**: [count]
- **Failed**: [count]
- **Execution Batches**: [count]
- **Total Agents Deployed**: [count]
## Results by Agent
### [Agent Type 1] - [Subtask 1]
**Status**: Success
**Outputs**:
- Created: [files]
- Modified: [files]
- Notes: [key points]
### [Agent Type 2] - [Subtask 2]
**Status**: Success
**Outputs**:
- Created: [files]
- Modified: [files]
- Notes: [key points]
### [Agent Type 3] - [Subtask 3]
**Status**: Failed
**Issue**: [error description]
**Impact**: [what couldn't be completed]
## Files Changed
### Created
- /path/to/new/file1.ext
- /path/to/new/file2.ext
### Modified
- /path/to/modified/file1.ext
- /path/to/modified/file2.ext
## Integration Status
- [x] All agent outputs integrated successfully
- [x] No conflicting changes detected
- [x] Cross-references validated
- [ ] Manual review needed for: [items]
## Issues Encountered
[List any problems, warnings, or areas needing attention]
## Next Steps
1. Review the changes in your editor
2. Test the integrated functionality
3. Address any failed subtasks if needed
4. Commit the changes when satisfied
Each subtask must have:
Each agent assignment must have:
The orchestration must:
The final result must have:
Use --sequential flag when:
Use --plan-only flag when:
Feature Implementation:
Bug Investigation:
Refactoring:
Documentation Update:
Solution: Review subtask boundaries, ensure non-overlapping scopes, redeploy with clearer instructions
Solution: Review dependency graph, adjust batch organization, ensure proper ordering
Solution: Add integration subtask, deploy agent to resolve conflicts, update instructions for clarity
Solution: Break into smaller batches, stagger deployment, or use sequential mode
Solution: Ask clarifying questions before decomposition, use dry-run to preview, iterate on plan
npx claudepluginhub yandy-r/claude-pluginsOrchestrates multi-agent work at scale—research swarms, parallel builds, wave dispatch, build-review-fix pipelines, and any task needing 3+ agents. Selects strategy by work shape and partitions agents for true parallelism.
Orchestrates multi-agent parallel execution for complex tasks like features, refactoring, testing, reviews, and documentation using cc-mirror tracking and TodoWrite visibility.
Use this skill whenever the user wants to parallelize work, orchestrate multiple agents, use agent teams, or says things like "do it with orchestration", "write an agent team", "make it parallel", "orchestrate this", "create agents for this", "multi-agent", or asks for a task that would benefit from being split into parallel work streams. Also triggers when user pastes a task and wants it done faster/better with multiple agents. Works for any domain — coding, research, design, testing, auditing, debugging, writing, analysis.