원클릭으로
distributed-task-orchestrator
// Decompose complex tasks into parallel sub-agents. Use for multi-step operations, batch processing, or when user mentions "parallel", "agents", or "orchestrate".
// Decompose complex tasks into parallel sub-agents. Use for multi-step operations, batch processing, or when user mentions "parallel", "agents", or "orchestrate".
Use when building a local Windows WebCode installer from this repo for machine testing, especially when the package must bundle the Kokoro or sherpa-onnx Reply TTS service, model files, ffmpeg, a private Python runtime, and non-system-drive deployment without publishing a GitHub Release.
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.
Comprehensive guide for building Agentic RAG systems using Microsoft Agent Framework in C#. Use when creating RAG applications with semantic search, document indexing, and intelligent agent orchestration. Includes scaffolding scripts, reference implementations, and documentation for vector databases, embedding models, and multi-agent workflows.
| name | distributed-task-orchestrator |
| description | Decompose complex tasks into parallel sub-agents. Use for multi-step operations, batch processing, or when user mentions "parallel", "agents", or "orchestrate". |
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: