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 Squirrel Checkpoint?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/thgmatajs-squirrel-checkpoint)
---
name: squirrel-checkpoint
description: "Explicitly create or update the current project's resume checkpoint with compare-and-swap protection."
---
<!-- GENERATED FILE. Source: targets/codex/skills/squirrel-checkpoint/SKILL.md; installed by targets/codex/install.sh. -->
# squirrel-checkpoint
Run only when the user explicitly asks to save or update project state. Codex has no verified automatic checkpoint lifecycle here; never write at turn end automatically.
1. Run `python3 "$HOME/.agents/skills/squirrel-checkpoint/squirrel.py" checkpoint-show --cwd "$PWD"`.
2. If `stale` is true, report the age and ask the user to confirm the current state before replacing it. If `body` is null, start a new checkpoint and say no prior state exists; do not reconstruct from chat history.
3. Write a compact Markdown checkpoint with `## Doing`, `## Next`, `## Waiting on` (optional), `## Open decisions` (optional), and `## Done` (optional). Store a resume summary and links/pointers to authoritative plans, issues, trackers, or databases. Never copy financial balances, transactions, payment status, credentials, or standing authorization into it.
4. Use the exact `path` and `revision` returned by the helper. Submit the complete new Markdown on stdin to `checkpoint-write --cwd "$PWD" --expected '<revision>'`. Use a quoted here-document delimiter that does not occur in the content. Do not write the file with shell redirection, `cat`, or another tool.
5. If the helper reports that the revision changed, preserve both versions and show the conflict; reread and reconcile only after user direction. Never retry with a fresh revision while discarding the first proposal.
The helper keys Git projects by canonical Git common directory, so the repository root, subdirectories, and linked worktrees share one local checkpoint. A non-Git directory uses its canonical path. The checkpoint remains under `~/.squirrel/checkpoints/`, outside the repository.
## Python requirement
This skill requires Python 3.8 or newer and uses only the standard library. If Python is unavailable, explain that no checkpoint was written.