Checkpoint Commit

A command for saving staged work in Git, a system for tracking code changes, at meaningful workflow checkpoints.

In plain words
What is it for?
Use it after planning steps or logical groups of implementation tasks to create descriptive commits.
Why use it?
It prevents specification files and completed implementation steps from remaining unsaved or difficult to trace.

Command

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/racecraft-lab/racecraft-plugins-public/commit
Clone the repo
git clone --depth 1 https://github.com/racecraft-lab/racecraft-plugins-public
Per session 11 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 499 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 92% copy Near-identical to another mod 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.00011 $0.00499
Opus 5 $0.00005 $0.00249
Sonnet 5 $0.00002 $0.00100
Haiku 4.5 $0.00001 $0.00050

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

Security

Grade A, and why

Checkpoint Commit 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 2d 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

This is a copy

92% identical to Checkpoint Commit — 10 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.specify/extensions/checkpoint/commands/commit.md · 56 lines

How it starts

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

/speckit.checkpoint.commit

Description

Stages all current changes and creates a commit with a descriptive message reflecting the work just completed. This command should be called by the agent at two points during the spec-kit workflow:

  1. After each pre-implementation step (constitution, specify, clarify, plan, analyze, tasks) — to capture the spec artifacts produced by that step.
  2. During implementation — at natural checkpoints, such as after completing a task or a logical group of related tasks from the task list.

When to Commit

Pre-Implementation Steps

Commit immediately after each of these steps completes:

  • After constitution — commit the project principles and guidelines
  • After specify — commit the requirements and user stories
  • After clarify — commit the resolved clarifications
  • After plan — commit the technical implementation plan
  • After analyze — commit the consistency and coverage analysis
  • After tasks — commit the task breakdown

During Implementation

Use the task list generated during the tasks step as a reference for when to commit. Good checkpoints include:

  • Completing a single task from the task list
  • Completing a logical group of closely related tasks
  • Finishing a self-contained unit of work (e.g., a new component, a service layer, a set of tests)

The agent should use judgment — the goal is to produce commits that are meaningful and reviewable, not to commit after every single file change.

Workflow

  1. Determine a clear, concise commit message based on the work just completed
  2. Stage all current changes (git add -A)
  3. Commit with the message (git commit -m "<message>")

Commit Message Guidelines

  • For pre-implementation steps, use the step name as a prefix (e.g., constitution: establish project principles, tasks: break down implementation into actionable items)
  • For implementation commits, describe what was built (e.g., implement user authentication service, add product listing page and API routes)
  • Keep messages concise but descriptive enough to understand the scope of the commit

Read the full file on GitHub · 56 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. 2d ago First seen · 56 lines · 11 tokens per session scan A 5261cd7c0c01

Subscribe to this mod's changes

Checkpoint Commit is a command published in the GitHub repository racecraft-lab/racecraft-plugins-public (4 stars, last pushed 2d ago), licensed MIT. It adds 11 tokens to every session and 499 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 92% identical to Checkpoint Commit, differing in 10 lines, and is treated as a copy.