recover
Installation
SKILL.md
[IMPORTANT] Use
TaskCreateto break ALL work into small tasks BEFORE starting — including tasks for each file read. This prevents context loss from long files. For simple tasks, AI MUST ATTENTION ask user whether to skip.
Quick Summary
Goal: Restore workflow state and todo items from checkpoint files after context loss or session interruption.
Workflow:
- Find Checkpoint — Locate latest
memory-checkpoint-*.mdin reports directory - Read Metadata — Extract JSON block with session ID, active plan, current step, pending todos
- Restore Todos — Immediately call TaskCreate with pending items from checkpoint
- Resume Workflow — Continue from the interrupted step using restored context
Key Rules:
- Always restore TaskCreate items before resuming any work
- Check both
plans/reports/and plan-specific report directories - Use timestamp to find the checkpoint closest to the interruption