checkpoint

checkpoint is a skill for Claude Code, Codex from DustinTrap/kvm-pilot. It costs 164 tokens per session (6,942 once invoked), scanned A, original, Apache-2.0.

An end-of-session safety check for the kvm-pilot project. It scans for work that may not be saved or recorded, such as uncommitted code, unpushed changes, or undocumented decisions.

In plain words
What is it for?
Use it when finishing work, before stopping, or after asking whether the session is safe to leave. It produces a risk-ordered report and a handoff for resuming later.
Why use it?
It reduces the chance that the next session will lose work or miss an important decision.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/dustintrap/kvm-pilot/checkpoint
Any agent
npx skills add DustinTrap/kvm-pilot --skill checkpoint
Clone the repo
git clone --depth 1 https://github.com/DustinTrap/kvm-pilot

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for checkpoint

README.md
[![agentmods](https://agentmods.dev/badge/skills/dustintrap/kvm-pilot/checkpoint.svg)](https://agentmods.dev/skills/dustintrap/kvm-pilot/checkpoint)
Your own site
<a href="https://agentmods.dev/skills/dustintrap/kvm-pilot/checkpoint"><img src="https://agentmods.dev/badge/skills/dustintrap/kvm-pilot/checkpoint.svg" alt="Measured on agentmods" height="20"></a>
Per session 164 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,942 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00164 $0.06942
Opus 5 $0.00082 $0.03471
Sonnet 5 $0.00033 $0.01388
Haiku 4.5 $0.00016 $0.00694

Measured 4d ago against content hash 16eb49f2b769, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

checkpoint scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scan.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/checkpoint/SKILL.md · 136 lines

How it starts

The opening of the file, as written. The whole thing — 136 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/checkpoint — end-of-session safety sweep

A checkpoint asks one question: is everything I did this session durably captured, or is something quietly at risk of being lost? The next session is often a fresh agent with zero memory of this one — a gap here means redone work or a decision shipped on a false assumption. This replaces "I think I saved everything" with a reproducible sweep ending in SAFE TO STOP or N items need attention, each with the exact fix.

It is the mirror of a morning sweep (which asks what happened while I was away?). Stay in that lane: checkpoint does not score releasability (a separate concern) and does not re-run cloud/telemetry health checks.

Procedure

  1. Run the read-only scan (it mutates nothing — that's the safety property):
    bash .claude/skills/checkpoint/scan.sh
    
  2. Interpret each surface against the rubric below — the judgement calls the script can't make. Do not skip a surface because it "looked fine"; read the facts.
  3. Emit the risk-ordered table + one-line verdict (format at the bottom). Highest-risk first.
  4. Always produce the resume handoff (§ Mandatory handoff) — this happens even on an all-✅ scan.
  5. Offer the exact fix for every ⚠️; run only the low-risk ones on the operator's go (commit-by-name, save-memory, fix-a-doc). Never promote/release; never blind-add.
  6. Meta-reflect and self-improve (§ Self-improvement) — the last thing you do. Did the scan raise a false positive (flagged something fine), miss something you only caught by hand, or produce noise? Did the table help? If yes, amend scan.sh/SKILL.md in this same run to encode the fix and add a § Version history row pairing the change with the real incident. This step is why the skill is worth more each run.

Rubric — interpret the scan, surface by surface (risk-ordered)

C1 · Version control & working tree — highest risk: unsaved code is unrecoverable

  • UNCOMMITTED > 0 → ⚠️ commit by name: git -C kvm-pilot commit -m "…" -- <paths>. Never git add -A/. (.gitignore covers venv/artifacts/config.toml/.env, but a stray secret or large file under a new name would be committed irreversibly — stage by name).
  • UNTRACKED_NOT_IGNORED > 0 → ⚠️ eyeball each: is it source to track, or a stray artifact/secret to ignore/delete? Never bulk-add.
  • ON_PROTECTED_BRANCH: yes (main)normal here, ✅, not a reason to branch. kvm-pilot is issue-per-finding direct-commit-to-main (CLAUDE.md; agent work is not branched). The C1 risk is unsaved work, not the branch — do not advise switch -c. (v0.2.0: the prior version wrongly assumed a feature-branch/PR flow.)
  • UNPUSHED (ahead) > 0 → ⚠️ push it (git -C kvm-pilot push). On this project pushing main runs CI and backs the work up; it does not release (a release needs gh release create). Commits left only-local are the actual work-at-risk. (v0.2.0.)
  • BEHIND > 0 → ⚠️ note; rebase before more work.
  • DEBUG_MARKERS_IN_DIFF > 0 (breakpoint()/pdb/console.log/FIXME/XXX) → ⚠️ remove before commit. Also eyeball the diff for stray print( added to library modules (client.py, health.py, drivers/ — the CLI uses print legitimately, so the scan doesn't flag it).
  • SECRET_SCAN reports N possible literal(s) → 🔴 inspect each; if any is a real credential, ROTATE it (it's in the working diff or the last 25 commits — likely already pushed, so removing it doesn't undo the exposure). Heuristic (quoted password=/token= literals, inline IPMI_PASSWORD=<value>, private-key headers; stock defaults like calvin/admin and env/placeholder refs are excluded), so a hit is "eyeball this," not proof — but never dismiss one without looking. Do not put the secret in RESUME.md or any file to "track" it; RESUME.md is local-only (#209) and still must not hold raw secrets. (v0.10.0)

Read the full file on GitHub · 136 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 136 lines · 164 tokens per session scan A 16eb49f2b769

Subscribe to this mod's changes

checkpoint is a skill published in the GitHub repository DustinTrap/kvm-pilot (5 stars, last pushed 5d ago), licensed Apache-2.0. It adds 164 tokens to every session and 6,942 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories