Install
openclaw skills install task-decompPlan, track, and learn from complex multi-step tasks. Decomposes requests into dependency-aware subtasks with parallel execution, progress tracking, and a le...
openclaw skills install task-decompPlan complex work. Track it. Learn from it. Get better at planning over time.
Store plans in plans/ (workspace-relative). Name: [slug].plan.md. Multiple concurrent plans supported.
# Plan: Deploy new API
Started: 2026-03-03 11:00
Status: in-progress
Revised: 1
## Tasks
- [x] 1. (S) Provision database — Postgres 16, endpoint saved to .env
- [ ] 2. (M) Build auth middleware (depends: 1)
- [ ] 3. (M) Build CRUD endpoints (depends: 1)
↳ parallel with 2
- [ ] 4. (L) Integration tests (depends: 2, 3)
- [ ] 5. (S) Deploy to staging (depends: 4) ⚠️ blocked: waiting on VPN access
spawned: session-k9x2
## Retro
<!-- filled on completion -->
(S) <30min, (M) 30min-2h, (L) 2h+(depends: 1, 3) = must complete first↳ parallel with N = concurrent with task N⚠️ blocked: [reason]spawned: [session-id]- [x] with outcome after dash: — result summaryplans/ for similar past plans — reuse what worked, avoid what didn'tPlans change mid-flight. When they do:
depends:depends: onlyRevised: counterDon't follow a bad plan to completion.
When you find an existing plan:
abandoned, explain whyWhen asked "status?" or "where are we?":
📋 Plan: Deploy new API
Progress: 3/7 tasks (1L + 2S remaining)
Current: Task 4 (L) — running integration tests
Blocked: Task 5 — waiting on VPN access
Revised: 1x
Size-aware > task-count. "1/5 done" is misleading when the 4 remaining are all (L).
When a plan finishes (completed or abandoned), fill the ## Retro section:
## Retro
- **What worked:** Parallelizing tasks 2+3 saved ~1h
- **What didn't:** Underestimated task 4 (sized M, was actually L)
- **Sizing accuracy:** 3/5 tasks sized correctly
- **Dependencies missed:** Task 5 actually needed task 2 directly, not just via 4
- **Reusable pattern:** [If this plan type recurs, note the template]
Maintain plans/patterns.md — distilled lessons from retros:
# Planning Patterns (learned from retros)
## Sizing
- API integration tasks: usually (M), not (S)
- "Write tests" is always bigger than you think → size up one level
- Database migrations with data backfill: always (L)
## Dependencies
- Auth must come before any authenticated endpoint work
- Don't parallelize tasks that write to the same config file
## Templates
- **API build:** provision → auth + endpoints (parallel) → tests → deploy
- **Research report:** gather sources → analyze (parallel per source) → synthesize → review
This file gets checked during Step 6 of Planning ("check past plans"). Over time, sizing gets more accurate, dependency mistakes stop repeating, and common project types get reusable templates.
Review patterns.md monthly. Remove patterns that:
Completed/abandoned plans → rename [date]-[slug].plan.md:
plans/
├── deploy-api.plan.md # active
├── patterns.md # learned patterns
├── 2026-03-01-setup-acw.plan.md # archived
└── 2026-03-02-osint-recon.plan.md # archived