Skip to content
Automation
Command

/checkpoint

Create or verify a checkpoint in your workflow.

From plugin
claude-scholar
5.1k65 skills6 agents65 commands5 hooks
Install
> /plugin marketplace add Galaxy-Dawn/claude-scholar
> /plugin install claude-scholar@claude-scholar

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/checkpoint

Context preview

What this command does when you run it.

Create or verify a checkpoint in your workflow.

Command definition

checkpoint.md

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

4. 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)
Read more
Ships withclaude-scholar

Semi-automated research assistant for academic research and software development. Supports Claude Code, Codex CLI, Kimi Code CLI, and OpenCode across ideation, coding, experiments, writing, and publication.

Get the whole plugin