TaskMaster - AI Cost Optimizer
Project manager and task delegation system. Use when you need to break down complex work into smaller tasks, assign appropriate AI models based on complexity, spawn sub-agents for โฆ
SonnyW
@jlwrow
Install
$ openclaw skills install @jlwrow/taskmasterTaskMaster: AI Project Manager & Task Delegation
Transform complex projects into managed workflows with smart model selection and sub-agent orchestration.
Core Capabilities
๐ฏ Smart Task Triage
- Analyze complexity โ assign appropriate model (Haiku/Sonnet/Opus)
- Break large projects into smaller, manageable tasks
- Prevent over-engineering (don't use Opus for simple web searches)
๐ค Sub-Agent Orchestration
- Spawn isolated sub-agents with specific model constraints
- Run tasks in parallel for faster completion
- Consolidate results into coherent deliverables
๐ฐ Budget Management
- Track token costs per task and total project
- Set budget limits to prevent runaway spending
- Optimize model selection for cost-efficiency
๐ Progress Tracking
- Real-time status of all active tasks
- Failed task retry with escalation
- Final deliverable compilation
Quick Start
1. Basic Task Delegation
TaskMaster: Research PDF processing libraries
- Budget: $2.00
- Priority: medium
- Deadline: 2 hours
2. Complex Project Breakdown
TaskMaster: Build recipe app MVP
- Components: UI mockup, backend API, data schema, deployment
- Budget: $15.00
- Timeline: 1 week
- Auto-assign models based on complexity
Model Selection Rules
Haiku ($0.25/$1.25) - Simple, repetitive tasks:
- Web searches & summarization
- Data formatting & extraction
- Basic file operations
- Status checks & monitoring
Sonnet ($3/$15) - Most development work:
- Research & analysis
- Code writing & debugging
- Documentation creation
- Technical design
Opus ($15/$75) - Complex reasoning:
- Architecture decisions
- Creative problem-solving
- Code reviews & optimization
- Strategic planning
Advanced Usage
Custom Model Assignment
Override automatic selection when you know better:
TaskMaster: Debug complex algorithm [FORCE: Opus]
Parallel Execution
Run multiple tasks simultaneously:
TaskMaster: Multi-research project
- Task A: Library comparison
- Task B: Performance benchmarks
- Task C: Security analysis
[PARALLEL: true]
Budget Controls
Set spending limits:
TaskMaster: Market research
- Max budget: $5.00
- Escalate if >$3.00 spent
- Stop if any single task >$1.00
Key Resources
- Model Selection: See references/model-selection-rules.md for detailed complexity guidelines
- Task Templates: See references/task-templates.md for common task patterns
- Delegation Engine: Uses
scripts/delegate_task.pyfor core orchestration logic
Implementation Notes
Sessions Management: Each sub-agent gets isolated session with specific model constraints. No cross-talk unless explicitly designed.
Error Handling: Failed tasks automatically retry once on Sonnet, then escalate to human review.
Result Aggregation: TaskMaster compiles all sub-agent results into a single, coherent deliverable for the user.
Token Tracking: Real-time cost monitoring with alerts when approaching budget limits.
Related skills
Agent Orchestrator
@aatmaan1Meta-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
Planning with files
@othmanadiImplements Manus-style file-based planning to organize and track progress on complex tasks. Creates task_plan.md, findings.md, and progress.md. Use when aske...
Task Status
@mightyprime1Send short status descriptions in chat for long-running tasks. Use when you need to provide periodic updates during multi-step operations, confirm task completion, or notify of failures. Includes automated periodic monitoring that sends updates every 5 seconds, status message templates, and a helper function for consistent status reporting.
Smart Model Switching
@millibusAuto-route tasks to the cheapest Claude model that works correctly. Three-tier progression: Haiku โ Sonnet โ Opus. Classify before responding. HAIKU (default): factual Q&A, greetings, reminders, status checks, lookups, simple file ops, heartbeats, casual chat, 1-2 sentence tasks. ESCALATE TO SONNET: code >10 lines, analysis, comparisons, planning, reports, multi-step reasoning, tables, long writing >3 paragraphs, summarization, research synthesis, most user conversations. ESCALATE TO OPUS: architecture decisions, complex debugging, multi-file refactoring, strategic planning, nuanced judgment, deep research, critical production decisions. Rule: If a human needs >30 seconds of focused thinking, escalate. If Sonnet struggles with complexity, go to Opus. Save 50-90% on API costs by starting cheap and escalating only when needed.
Tavily AI Search
@bert-builderAI-optimized web search using Tavily Search API. Use when you need comprehensive web research, current events lookup, domain-specific search, or AI-generated answer summaries. Tavily is optimized for LLM consumption with clean structured results, answer generation, and raw content extraction. Best for research tasks, news queries, fact-checking, and gathering authoritative sources.
Openclaw Agent Optimize
@phenomenonerUse when: you want a structured audit -> options -> recommended plan to improve an OpenClaw workspace (cost, model routing, context discipline, delegation, r...