checkpoint

checkpoint is a command for Claude Code from Galaxy-Dawn/claude-scholar. It costs 0 tokens per session (397 once invoked), scanned A, original, MIT.

A command for creating, checking, or listing saved workflow checkpoints. A checkpoint records a known project state so later changes can be compared with it.

In plain words
What is it for?
It is for saving named milestones, comparing the current project with an earlier state, and reviewing changed files, test results, code coverage, and build status.
Why use it?
It makes it easier to see what changed and whether tests, coverage, and the build are better or worse than at an earlier point.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Part of the claude-scholar plugin — 45 skills, 34 commands, 6 agents, 5 hooks shipped together

Good fit It is for saving named milestones, comparing the current project with an earlier state, and reviewing changed files, test results, code coverage, and build status.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/galaxy-dawn/claude-scholar/checkpoint
About the project

Claude Scholar is a semi-automated research assistant for academic research and software development, supporting literature review, coding, experiments, reporting, writing, and project knowledge management. Computer science and AI researchers use it across the research workflow with several coding-agent platforms; the catalogue contains its skills, commands, agents, hooks, plugin, and instruction.

Galaxy-Dawn/claude-scholar · 5,349 stars · on GitHub

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.

Clone the repo
git clone --depth 1 https://github.com/Galaxy-Dawn/claude-scholar

Made for: Claude Code.

Or install claude-scholar, the plugin that ships this one along with the rest of its 45 skills, 34 commands, 6 agents, 5 hooks.

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/commands/galaxy-dawn/claude-scholar/checkpoint.svg)](https://agentmods.dev/commands/galaxy-dawn/claude-scholar/checkpoint)
Your own site
<a href="https://agentmods.dev/commands/galaxy-dawn/claude-scholar/checkpoint"><img src="https://agentmods.dev/badge/commands/galaxy-dawn/claude-scholar/checkpoint.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 397 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00000 $0.00397
Opus 5 $0.00000 $0.00198
Sonnet 5 $0.00000 $0.00079
Haiku 4.5 $0.00000 $0.00040

Measured 8d ago against content hash 688a05474a64, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, 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 8d ago.

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.

Origin

Copies of this mod

7 near-identical copies found in the catalogue:

commands/checkpoint.md · 75 lines

What it actually says

Checkpoint Command

Create or verify a checkpoint in your workflow.

Usage

/checkpoint [create|verify|list] [name]

Create Checkpoint

When creating a checkpoint:

  1. Run /verify quick to ensure current state is clean
  2. Create a git stash or commit with checkpoint name
  3. Log checkpoint to .claude/checkpoints.log:
echo "$(date +%Y-%m-%d-%H:%M) | $CHECKPOINT_NAME | $(git rev-parse --short HEAD)" >> .claude/checkpoints.log
  1. Report checkpoint created

Verify Checkpoint

When verifying against a checkpoint:

  1. Read checkpoint from log

  2. Compare current state to checkpoint:

    • Files added since checkpoint
    • Files modified since checkpoint
    • Test pass rate now vs then
    • Coverage now vs then
  3. Report:

CHECKPOINT COMPARISON: $NAME
============================
Files changed: X
Tests: +Y passed / -Z failed
Coverage: +X% / -Y%
Build: [PASS/FAIL]

List Checkpoints

Show all checkpoints with:

  • Name
  • Timestamp
  • Git SHA
  • Status (current, behind, ahead)

Workflow

Typical checkpoint flow:

[Start] --> /checkpoint create "feature-start"
   |
[Implement] --> /checkpoint create "core-done"
   |
[Test] --> /checkpoint verify "core-done"
   |
[Refactor] --> /checkpoint create "refactor-done"
   |
[PR] --> /checkpoint verify "feature-start"

Arguments

$ARGUMENTS:

  • create <name> - Create named checkpoint
  • verify <name> - Verify against named checkpoint
  • list - Show all checkpoints
  • clear - Remove old checkpoints (keeps last 5)
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. 8d ago First seen · 75 lines · 0 tokens per session scan A 688a05474a64

Subscribe to this mod's changes

checkpoint is a command published in the GitHub repository Galaxy-Dawn/claude-scholar (5,349 stars, last pushed 11d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 397 tokens. 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-30.