L
long-running-task-management
About long-running-task-management
A skill for agents managing lengthy tasks, including work that spans sessions or many files. It records stages and checkpoints in a state file so work can resume after interruption.
Key features
- 01Create a task state file
- 02Record stage status and checkpoints
- 03Resume at pending stages after interruption
- 04Run full verification at completion
Use cases
- 01Track tasks estimated to take over 30 minutes
- 02Continue work across multiple sessions
- 03Coordinate changes across many directories
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ archieindian/ openclaw-superpowers --skill long-running-task-managementAfter installing, type/long-running-task-managementin Claude Code to confirm it loaded.
Bundled filesSTATE_SCHEMA.yaml
Details
From the project READMELong-Running Task Management
State file: ~/.openclaw/skill-state/long-running-task-management/state.yaml
When to Use
- Task estimated at more than 30 minutes
- Task will span multiple sessions
- Task modifies many files across multiple directories
Starting a Task
- Write initial state to the state file:
task_id: short kebab-case namestatus: in_progressdescription: one-sentence goalstages: ordered list withstatus: pendingfor eachstarted_at: current timestamp
- Begin the first stage
At Each Checkpoint
- Complete the stage
- Run tests/verification
- Update state file: mark stage
status: complete, writecheckpoint(what's stable now), writenext_action(first thing to do on resume), updatelast_updated - Commit progress to git if applicable
Resume After Interruption
- Read the state file
- Check
statusandnext_action - Continue from the next
pendingstage — do NOT start over
Completion
- Update state:
status: complete, finalcheckpoint - Run full verification
Cron Wakeup Behavior
On each 15-minute wakeup:
- Read state file
- If
status: in_progressandlast_updatedis stale (>30 min ago): log a checkpoint update to daily memory - If
status: completeor no active task: skip
Comments
Markdown supported