Task Orchestrator
by @openlark
Intelligent task management and execution coordination officer. Automatically generates task lists, intelligently decomposes complex tasks, matches AI agents...
clawhub install task-orchestratorπ About This Skill
name: task-orchestrator description: Intelligent task management and execution coordination officer. Automatically generates task lists, intelligently decomposes complex tasks, matches AI agents, makes priority decisions, and monitors progress.
Task Orchestrator
End-to-end automated task management: from goals to execution, intelligent decomposition, agent matching, and progress monitoring.
Use Cases
Core Capabilities
1. Task Parsing and Decomposition
Automatically decompose natural language objectives into a structured task tree:2. Intelligent Agent Matching
Match the most suitable execution agent based on task characteristics:3. Priority Decision-Making
Autonomously decide task execution order:4. Progress Monitoring
Track task execution status in real time:Workflow
User Goal β Task Parsing β Task Decomposition β Dependency Analysis β Priority Sorting β Agent Matching β Execution β Monitoring β Summary
Step 1: Receive and Parse Goal
Understand user intent and identify core objectives:
Example Dialogue:
User: "Help me complete a product launch, including documentation, testing, and promotional materials"
Orchestrator: Parse goal into 3 main tasks:
1. Product documentation writing (parallelizable)
2. Test case design and execution (depends on partial completion of 1)
3. Promotional material production (parallelizable)
Step 2: Task Decomposition
Use a script to generate a structured task tree:
python3 scripts/task_decomposer.py --goal "User Goal" --output tasks.json
Output structure:
{
"main_goal": "Product Launch",
"tasks": [
{
"id": "T1",
"title": "Write Product Documentation",
"description": "Includes feature descriptions, user guides, and API documentation",
"priority": "high",
"estimated_time": "2h",
"dependencies": [],
"subtasks": [
{"id": "T1.1", "title": "Feature Description Document"},
{"id": "T1.2", "title": "User Guide"},
{"id": "T1.3", "title": "API Interface Documentation"}
],
"required_skills": ["doc-writing-skill"],
"status": "pending"
}
]
}
Step 3: Agent Matching and Resource Allocation
Select execution agents based on task characteristics. See references/agent_matching.md for details.
Step 4: Execution and Monitoring
Initiate task execution and continuously monitor:
Step 5: Result Integration and Feedback
After task completion:
Quick Start
Scenario 1: Complex Task Decomposition
User: "Help me prepare for next week's tech sharing session; I need a PPT, demo code, and a promotional poster"Orchestrator:
1. Parse Goal β Identify 3 parallel tasks
2. Decompose Tasks β Estimate total effort 8h
3. Match Agents β
- PPT: doc-writing-skill + ppt-parser-local
- Demo: Code generation agent
- Poster: image_generation
4. Suggest Execution Order β PPT outline β demo development β poster design β PPT refinement
Scenario 2: Multi-Agent Collaboration
User: "Complete a competitive analysis report; need data scraping, chart generation, and report writing"Orchestrator:
1. Task Decomposition: Data scraping (T1) β Data analysis (T2) β Chart generation (T3) β Report writing (T4)
2. Dependency Chain: T1βT2βT3βT4
3. Agent Matching:
- T1: web-search + deep-search-skill
- T2: Data analysis agent
- T3: image_generation
- T4: doc-writing-skill
4. Execution Plan: Serial execution, estimated total duration 6h
Decision Framework
Priority Decision Matrix
| Dimension | Weight | Scoring Criteria | |-----------|--------|------------------| | Urgency | 30% | Deadline, blocking impact | | Value | 40% | Business value, user expectations | | Cost | 20% | Time cost, resource consumption | | Risk | 10% | Failure risk, dependency risk |
Agent Selection Strategy
See references/agent_matching.md for details.
Resource Files
scripts/
task_decomposer.py - Task decomposition script, generates structured task treepriority_calculator.py - Priority calculation script, supports custom weightsprogress_monitor.py - Progress monitoring script, tracks task status in real timereferences/
agent_matching.md - Agent matching strategies and capability matrixworkflow_patterns.md - Common workflow patterns and best practicestask_templates.md - Common task template libraryassets/
task_plan_template.md - Task planning document templateexecution_report_template.md - Execution report templateβ‘ When to Use
π‘ Examples
Scenario 1: Complex Task Decomposition
User: "Help me prepare for next week's tech sharing session; I need a PPT, demo code, and a promotional poster"Orchestrator:
1. Parse Goal β Identify 3 parallel tasks
2. Decompose Tasks β Estimate total effort 8h
3. Match Agents β
- PPT: doc-writing-skill + ppt-parser-local
- Demo: Code generation agent
- Poster: image_generation
4. Suggest Execution Order β PPT outline β demo development β poster design β PPT refinement
Scenario 2: Multi-Agent Collaboration
User: "Complete a competitive analysis report; need data scraping, chart generation, and report writing"Orchestrator:
1. Task Decomposition: Data scraping (T1) β Data analysis (T2) β Chart generation (T3) β Report writing (T4)
2. Dependency Chain: T1βT2βT3βT4
3. Agent Matching:
- T1: web-search + deep-search-skill
- T2: Data analysis agent
- T3: image_generation
- T4: doc-writing-skill
4. Execution Plan: Serial execution, estimated total duration 6h