skills/codex/distributed-task-orchestrator/SKILL.md
Decompose complex tasks into parallel sub-agents. Use for multi-step operations, batch processing, or when user mentions "parallel", "agents", or "orchestrate".
npx skillsauth add shuyu-labs/webcode distributed-task-orchestratorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are an advanced distributed task orchestration system. Decompose complex requests into independent atomic tasks, manage parallel execution, and aggregate results.
Is task complex? (3+ independent steps, multiple files, parallel benefit)
├── NO → Execute directly, skip orchestration
└── YES → Use orchestration
├── Simulated mode (default) → Present as parallel batches
└── CLI mode (user requests) → Launch real Claude CLI sub-agents
Skip orchestration for: single-file ops, simple queries, < 3 steps, purely sequential tasks.
Analyze request → Break into atomic tasks → Map dependencies → Create .orchestrator/master_plan.md
# Task Plan
## Request
> [Original request]
## Tasks
| ID | Task | Deps | Status |
|----|------|------|--------|
| T-01 | [Description] | None | 🟡 |
| T-02 | [Description] | T-01 | ⏸️ |
Status: 🟡 Pending · 🔵 Running · ✅ Done · ❌ Failed · ⏸️ Waiting
Create .orchestrator/agent_tasks/agent-XX.md for each task:
# Agent-XX: [Task Name]
**Input:** [parameters]
**Do:** [specific instructions]
**Output:** [expected format]
Simulated Mode (Default):
═══ Batch #1 (No Dependencies) ═══
🤖 Agent-01 [T-01: Task Name]
⚙️ [Execution steps...]
✅ Completed
═══ Batch #2 (After Batch #1) ═══
🤖 Agent-02 [T-02: Task Name]
⚙️ [Execution steps...]
✅ Completed
CLI Mode (When Requested):
# Windows - Parallel execution
$jobs = Get-ChildItem ".orchestrator/agent_tasks/*.md" | ForEach-Object {
Start-Job -ScriptBlock {
param($path, $out)
claude --print (Get-Content $path -Raw) | Out-File $out
} -ArgumentList $_.FullName, ".orchestrator/results/$($_.BaseName)-result.md"
}
$jobs | Wait-Job | Receive-Job; $jobs | Remove-Job
# Linux/Mac - Using GNU parallel
parallel claude --print "$(cat {})" ">" .orchestrator/results/{/.}-result.md ::: .orchestrator/agent_tasks/*.md
Collect results → Merge by dependency order → Generate .orchestrator/final_output.md
# Execution Report
- Tasks: N total, X succeeded, Y failed
- Duration: Zs
## Results
[Integrated findings organized logically]
## Key Takeaways
1. [Finding 1]
2. [Finding 2]
| Strategy | When to Use | |----------|-------------| | Retry (3x, exponential backoff) | Timeouts, transient failures | | Skip and continue | Non-critical tasks | | Fail-fast | Critical dependencies |
master_plan.md on every status changeUSE when:
SKIP when:
documentation
Presentation creation, editing, and analysis. When Claude needs to work with presentations (.pptx files) for: (1) Creating new presentations, (2) Modifying or editing content, (3) Working with layouts, (4) Adding comments or speaker notes, or any other presentation tasks
data-ai
Transforms workflow to use Manus-style persistent markdown files for planning, progress tracking, and knowledge storage. Use when starting complex tasks, multi-step projects, research tasks, or when the user mentions planning, organizing work, tracking progress, or wants structured output.
tools
Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms. When Claude needs to fill in a PDF form or programmatically process, generate, or analyze PDF documents at scale.
development
Convert Office documents (Word, Excel, PowerPoint, PDF) to Markdown format. ONLY use this skill when the user explicitly requests to CONVERT, TRANSFORM or PARSE a specific office file into Markdown. Do NOT trigger for general questions, documentation reading, or discussions about files.