Gracefully hands off incomplete tasks across agent restarts. Use when work must be paused mid-task.
State file: ~/.openclaw/skill-state/task-handoff/state.yaml
Save to tasks/handoff-[task-name]-[timestamp].md:
# Handoff: [task name]
Written: YYYY-MM-DD HH:MM
Reason: [why stopping]
## Current State
[1-3 sentences: exactly where things are]
## What's Done
- [step] done
## What's Next
- [next step] - specific instructions
## Important Context
- [anything non-obvious from the code]
- [decisions made and why]
## Files Modified
- path/to/file - [what changed]
## Tests
- Last run: YYYY-MM-DD HH:MM
- Status: PASSING / FAILING
## Blockers
- [anything blocking]
Then update state: active_handoff_path (full path to the file), task_name, reason, status: written, written_at, files_modified.
active_handoff_pathstatus: picked_up, clear active_handoff_path