From darkroom
Saves and restores session state checkpoints in Claude Code for long-running tasks, risky operations, or low context. Supports save/label, list, show, restore, clean via Bash tool.
npx claudepluginhub darkroomengineering/cc-settingsThis skill is limited to using the following tools:
Manage checkpoints for long-running tasks. Enables recovery from interruptions and context window exhaustion.
Saves structured checkpoints of coding session state and searches them semantically for resuming after context compression. Invoke via /memory-checkpoint to save or query.
Auto-quicksaves files before destructive bash commands (rm, mv, git reset); manual checkpoints, diffs, lists, and restores for safe file recovery.
Implements checkpoint protocol for resuming multi-phase commands (/vt-debug, /vt-epic, /vt-feature, /vt-implement, /vt-plan) after session interruptions. Writes/reads docs/checkpoints/ files and warns on high context usage.
Share bugs, ideas, or general feedback.
Manage checkpoints for long-running tasks. Enables recovery from interruptions and context window exhaustion.
Save current state with an optional label.
bun ~/.claude/src/scripts/checkpoint.ts save "Completed phase 3 migration"
List all checkpoints for the current project.
bun ~/.claude/src/scripts/checkpoint.ts list
Show details of a specific checkpoint.
bun ~/.claude/src/scripts/checkpoint.ts show chk-20240115-103000
Restore from the latest checkpoint, or a specific one by ID.
# Restore latest
bun ~/.claude/src/scripts/checkpoint.ts restore
# Restore specific
bun ~/.claude/src/scripts/checkpoint.ts restore chk-20240115-103000
Remove old checkpoints, keeping the last 10.
bun ~/.claude/src/scripts/checkpoint.ts clean
User: "save a checkpoint"
-> /checkpoint save
User: "checkpoint before this refactor"
-> /checkpoint save "Before auth refactor"
User: "list my checkpoints"
-> /checkpoint list
User: "restore from last checkpoint"
-> /checkpoint restore
User: "show checkpoint details"
-> /checkpoint show <id>
User: "clean up old checkpoints"
-> /checkpoint clean
Checkpoints are stored at ~/.claude/checkpoints/<project-name>/ as JSON files with a latest symlink pointing to the most recent.