Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Checkpoint Resume?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/phpcraftdream-checkpoint-resume)
---
name: checkpoint-resume
description: "Restore a todo plan and context from a project checkpoint in place, without switching sessions."
---
# checkpoint-resume
Arguments: take them from the user's request that triggered this skill.
OpenCode's built-in session resume switches sessions; this command instead restores checkpoint context in place.
1. Run the Main folder only check below; stop if it refuses. Read only the checkpoint directories its Reading checkpoints part names. Reject path traversal and checkpoints redirected outside those directories.
2. --list lists Markdown checkpoints by filesystem mtime descending, with name, size and title; stop without restoring. Otherwise choose the most recently modified checkpoint without arguments, or prefer an exact name (with or without .md), then a unique prefix. Ask on ambiguous matches; report absence without inventing state.
3. Read the chosen file and lead with its Session summary. Show unresolved questions, decisions, goal and any age warning (>7 days). Accept both Tasks and older TaskList section names.
4. Call cah_todos. Decide yourself, never ask how to merge: keep every live todo unchanged and add only the unfinished saved items whose content is not already in the list. todowrite replaces the whole list, so write the live todos as they are plus the missing items, in their saved order, using unique stable verbatim contents. Preserve the saved order, strategy and dependencies in the task content and session context (OpenCode todos have no blockedBy field: put prerequisite and blocker information into the task content itself). Never write blocked, abandoned or other non-canonical statuses (only pending/in_progress/completed/cancelled exist): map items a checkpoint recorded as blocked or abandoned onto pending tasks whose content carries the blocker annotation, and do not resurrect completed or cancelled tasks.
5. Restate the saved goal. Report any state that could not be represented. Never automatically arm babysit or launch subagents during restoration; give the saved interval if the user wants to re-arm /babysit. Restoring itself does not edit the checkpoint or Git state.
6. Continue the work right away: keep the todo already in_progress, or start the first ready pending one, and work on it in this same turn. Ask only when an open question blocks every ready todo.
{{include:checkpoint-main-worktree}}