checkpoint

checkpoint is a command for Claude Code from sairam0424/MindForge. It costs 24 tokens per session (593 once invoked), scanned A, original, MIT.

A lightweight progress marker that records a name, time, Git commit, and development metrics such as tests, coverage, changed files, and build status.

In plain words
What is it for?
Use it to create, verify, list, or clear checkpoints during development.
Why use it?
It makes it easier to spot regressions by comparing the current project state with an earlier point in the work session.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Good fit Use it to create, verify, list, or clear checkpoints during development.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/sairam0424/mindforge/checkpoint
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 commands/sairam0424/mindforge/checkpoint
Clone the repo
git clone --depth 1 https://github.com/sairam0424/MindForge

Made for: Claude Code.

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/sairam0424/mindforge/checkpoint.svg)](https://agentmods.dev/commands/sairam0424/mindforge/checkpoint)
Your own site
<a href="https://agentmods.dev/commands/sairam0424/mindforge/checkpoint"><img src="https://agentmods.dev/badge/commands/sairam0424/mindforge/checkpoint.svg" alt="Measured on agentmods" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 593 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.1 $0.00024 $0.00593
Opus 5 $0.00012 $0.00296
Sonnet 5 $0.00005 $0.00119
Haiku 4.5 $0.00002 $0.00059

Measured 3d ago against content hash 032f563009e0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 3d 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.

.claude/commands/mindforge/checkpoint.md · 77 lines

How it starts

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

MindForge — Checkpoint Command

Usage: /mindforge:checkpoint [create|verify|list|clear] [name]

Lightweight progress markers for a work session. A checkpoint records a name, timestamp, git SHA, and a metrics snapshot (files changed, test pass-rate, coverage, build status), so you can measure forward progress and catch regressions between two points. Distinct from milestones (project lifecycle) — checkpoints are intra-session.

Create Checkpoint

  1. Run /mindforge:verify-loop (or verify-phase) to confirm current state is clean.
  2. Capture the marker:
echo "$(date +%Y-%m-%d-%H:%M) | $CHECKPOINT_NAME | $(git rev-parse --short HEAD)" >> .planning/CHECKPOINTS.log
  1. Snapshot metrics: changed-file count, test pass-rate, coverage %, build status.
  2. Report checkpoint created.

Verify Checkpoint

  1. Read the named checkpoint from .planning/CHECKPOINTS.log.
  2. Compare current state to the checkpoint:
CHECKPOINT COMPARISON: $NAME
============================
Files changed:  X
Tests:          +Y passed / -Z failed
Coverage:       +X% / -Y%
Build:          [PASS/FAIL]
  1. If any metric regressed (tests down, coverage down, build broken), flag it loudly — a checkpoint verify that shows regression is a stop signal.

List Checkpoints

Show all checkpoints with name, timestamp, git SHA, and status (current / behind / ahead relative to HEAD).

Clear

Remove old checkpoints, keeping the last 5.

Workflow

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

AUDIT linkage

Each create/verify optionally writes a hash-chained AUDIT.jsonl entry:

{ "event": "checkpoint_created", "name": "core-done", "sha": "abc1234", "tests_pass_rate": 1.0, "coverage": 0.0 }

Arguments

$ARGUMENTS:

  • create <name> — create a named checkpoint
  • verify <name> — verify current state against a named checkpoint
  • list — show all checkpoints
  • clear — remove old checkpoints (keeps last 5)

Read the full file on GitHub · 77 lines

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. 3d ago First seen · 77 lines · 24 tokens per session scan A 032f563009e0

Subscribe to this mod's changes

checkpoint is a command published in the GitHub repository sairam0424/MindForge (0 stars, last pushed 3d ago), licensed MIT. It adds 24 tokens to every session and 593 once invoked, about $0.0001 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-09-03.