checkpoint-save
Use when pausing work that will be resumed later, when switching contexts, or when the user asks to save a checkpoint.
Skill by laurac8r
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/laurac8r-checkpoint-save
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/checkpoint-save
Tools it pre-approves 27
From allowed-tools in SKILL.md: the agent may use these without asking you each time.
Bash(gitbranch--show-current),rev-parse--show-toplevel),--path-format=absolute--git-common-dir),status:*),diff:*),log:*),addCHECKPOINT.md),
Show 15 more
Bash(basename:*),Bash(dirname:*),Bash(mkdir:*),Bash(cpCHECKPOINT.md.checkpoints/*.mirror.md),Bash(mv.checkpoints/*.md),Bash(stat:*),Bash(date:*),Read,Write(CHECKPOINT.md),Write(.checkpoints/*.md),Edit(CHECKPOINT.md),Edit(.checkpoints/*.md)
What's inside
- Skill name
checkpoint-save- Description
- Use when pausing work that will be resumed later, when switching contexts, or when the user asks to save a checkpoint. Creates a CHECKPOINT.md that captures full resumption context.
- License
- MIT
- Allowed tools
- Bash(git, branch, --show-current),, Bash(git, rev-parse, --show-toplevel),, Bash(git, rev-parse, --path-format=absolute, --git-common-dir),, Bash(git, status:*),, Bash(git, diff:*),, Bash(git, log:*),, Bash(git, add, CHECKPOINT.md),, Bash(basename:*),, Bash(dirname:*),, Bash(mkdir:*),, Bash(cp, CHECKPOINT.md, .checkpoints/*.mirror.md),, Bash(mv, CHECKPOINT.md, .checkpoints/*.md),, Bash(stat:*),, Bash(date:*),, Read,, Write(CHECKPOINT.md),, Write(.checkpoints/*.md),, Edit(CHECKPOINT.md),, Edit(.checkpoints/*.md)
- Instructions
- 427 lines in SKILL.md · view on GitHub
Before installing
- Pre-approves some shell commands
Files (1)
- SKILL.md
SKILL.md (first lines)
# Checkpoint Save Pause here and create a checkpoint CHECKPOINT.md file to allow us to quickly resume work on this later. Use / reference memories as needed. ## What to Capture Create `CHECKPOINT.md` in the project root (or working directory) with: ```markdown # Checkpoint: [Brief Title] **Date:** [today's date] **Branch:** `[current git branch]` **Session context:** [1-2 sentence summary of what we were doing] ## Current State - What's been completed - What's in progress (with file paths and line numbers) - What's not yet started ## Next Steps 1. [Exact next action to take] 2. [Following actions in order] ## Key Decisions Made - [Decision]: [Why] (so we don't re-debate) ## Open Questions / Blockers - [Anything unresolved] ## Files Modified - [List of files changed in this session, with brief note on what changed] ## Relevant Memories - [Reference any memory files that provide context for this work] ## Resume Command [Exact prompt or slash command to resume, e.g. "Continue from CHECKPOINT.md"] ``` ## Process ### Step 1 — Compute current-branch slug Run `git branch --show-current` to get the current branch name. If the output is empty (detached HEAD), fall back to the basename of CWD (`basename "$PWD"`). Apply slug rules to produce `<slug>`: 1. Lowercase. 2. Replace `/` with `-`. 3. Strip characters outside `[a-z0-9-]`. 4. Collapse consecutive `-`. ### Step 2 — Resolve archive directory Run: ``` COMMON_DIR=$(git rev-parse --path-format=absolute --git-common-dir) ``` If this command exits non-zero, abort: **"Not a git repository. checkpoint-save requires a git repo at CWD."** Then: ``` ARCHIVE=$(dirname "$COMMON_DIR")/.checkpoints mkdir -p "$ARCHIVE" ``` This resolves to the **main checkout root's** `.checkpoints/` directory, ensuring all git worktrees share a single archive. ### Step 3 — Verify `.gitignore` coverage Check whether `.checkpoints/` is listed in the main checkout's `.gitignore` (the `.gitignore` at `$(dirname "$COMMON_DIR")/.gitignore`). If the line is absent, append `.checkpoints/` to that `.gitignore` and report to the user: > "Added `.checkpoints/` to `.gitignore` in the main checkout. Please review and > commit that change when ready." Do NOT auto-commit — the user handles all git commits. ### Step 4 — Handle existing CHECKPOINT.md If `CHECKPOINT.md` exists at CWD, parse its `**Branch:**` line and apply one of the four cases below. **Before auto-selecting Case A (same branch), also check for the Case D escape hatch** — a same-branch CHECKPOINT.md may belong to an unrelated live effort, not a stale version of current work. **Case A — Same branch as current, same effort (stale version of current work):** Copy the existing file to `.checkpoints/<slug>.prev.md` (overwrite any prior `.prev.md`). This is a rolling single-slot backup before the same-branch overwrite. Use this when the existing checkpoint's **Current State** section describes the same work you're about to re-checkpoint — it's a natural supersession. **Case B — Different branch:** The existing checkpoint belongs to a different effort. Derive `<old-slug>` from the `**Branch:**` value in the existing file (apply the same slug rules). Move (not copy) the existing `CHECKPOINT.md` to `.checkpoints/<old-slug>.md`. On collision (file already exists), append `-2`, `-3`, etc. until the name is free. **Before proceeding to Step 5, verify the `mv` succeeded.** If it fails (permissions, disk full, cross-device), abort: **"Failed to archive existing CHECKPOINT.md. The old checkpoint is still at CWD. Resolve the mv failure before retrying."** Do not overwrite `CHECKPOINT.md` until the archive is confirmed.
From laurac8r/claude-damn, MIT.
More from laurac8r/claude-damn
- 0.564score
check-yourself
laurac8r
Use when a discrete task boundary is crossed in multi-step work — step completion, subagent dispatch return, Skill-tool invocation return, /proceed gate…
SkillBFreshness: B★ 3Claude Code +9 - 0.561score
atlas
laurac8r
Render a single "where am I, what have I done, what's next" survey HTML page composing anchor cascade + tesseract shelf + git state + CHECKPOINT.md + TaskList.
SkillBFreshness: B★ 3Claude Code +9 - 0.514score
add-to-roadmap
laurac8r
Use when you want to append a new task to a specific phase or section of the project ROADMAP.md.
SkillCFreshness: C★ 3Claude Code +9 - 0.514score
cat
laurac8r
Subagent-driven development as the explicit combination of /subagent-driven-development (sequential, review-gated execution) and /dispatching-parallel-agents…
SkillCFreshness: C★ 3Claude Code +9 - 0.514score
checkpoint-resume
laurac8r
Use when resuming paused work, starting a session where a CHECKPOINT.md exists, or when the user says "continue from checkpoint", "resume", or "pick up where…
SkillCFreshness: C★ 3Claude Code +9 - 0.511score
cost-opt
laurac8r
Compact cost logs, recalibrate the pricing table in ~/.claude/extract_cost.py and statusline-command.sh against platform.claude.com/cost extracts, and surface…
SkillCFreshness: C★ 3Claude Code +9 - 0.503score
duper
laurac8r
Isolated git worktree workflow (alias for /using-git-worktrees)
SkillCFreshness: C★ 3Claude Code +9 - 0.503score
duper-tdd-cat
laurac8r
TDD workflow using an isolated git worktree with subagent-driven-development
SkillCFreshness: C★ 3Claude Code +9 - 0.503score
continue
laurac8r
retry last operation attempted before the user interrupted the process, or otherwise continue last attempted tool use
SkillCFreshness: C★ 3Claude Code +9 - 0.503score
expert-cat-review
laurac8r
Expert-level review with each phase dispatched as a parallel subagent
SkillCFreshness: C★ 3Claude Code +9 - 0.503score
expert-duper-tdd-cat-review
laurac8r
Expert-level review with subagents, then fix using TDD in an isolated git worktree with subagents
SkillCFreshness: C★ 3Claude Code +9 - 0.503score
expert-final-review
laurac8r
Final pre-merge gate — verify all PR peer feedback is addressed, then run a full /expert-review
SkillCFreshness: C★ 3Claude Code +9
Signals
- Stars
- 3
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Jul 7, 2026 (3 months ago)
- Last release
- Jul 19, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/laurac8r/claude-damn
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from laurac8r
- 0.564score
check-yourself
laurac8r
Use when a discrete task boundary is crossed in multi-step work — step completion, subagent dispatch return, Skill-tool invocation return, /proceed gate…
SkillBFreshness: B★ 3Claude Code +9 - 0.561score
atlas
laurac8r
Render a single "where am I, what have I done, what's next" survey HTML page composing anchor cascade + tesseract shelf + git state + CHECKPOINT.md + TaskList.
SkillBFreshness: B★ 3Claude Code +9 - 0.514score
add-to-roadmap
laurac8r
Use when you want to append a new task to a specific phase or section of the project ROADMAP.md.
SkillCFreshness: C★ 3Claude Code +9 - 0.514score
cat
laurac8r
Subagent-driven development as the explicit combination of /subagent-driven-development (sequential, review-gated execution) and /dispatching-parallel-agents…
SkillCFreshness: C★ 3Claude Code +9 - 0.514score
checkpoint-resume
laurac8r
Use when resuming paused work, starting a session where a CHECKPOINT.md exists, or when the user says "continue from checkpoint", "resume", or "pick up where…
SkillCFreshness: C★ 3Claude Code +9 - 0.511score
cost-opt
laurac8r
Compact cost logs, recalibrate the pricing table in ~/.claude/extract_cost.py and statusline-command.sh against platform.claude.com/cost extracts, and surface…
SkillCFreshness: C★ 3Claude Code +9
Cite this page
checkpoint-save skill. Agent Mart. https://agentmart.dev/skills/laurac8r-checkpoint-save (last updated 2026-10-24)