Checkpoint Commit

Checkpoint Commit is a command for Claude Code from opsmill/infrahub-mcp. It costs 11 tokens per session (499 once invoked), scanned A, a copy of Checkpoint Commit, Apache-2.0.

A command for creating Git commits at important points during a spec-kit workflow, which is a structured process for planning and building software.

In plain words
What is it for?
Committing specifications, plans, task lists, and completed implementation steps with descriptive messages.
Why use it?
It preserves the work from each planning stage and makes progress easier to trace.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

Good fit Committing specifications, plans, task lists, and completed implementation steps with descriptive messages.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/opsmill/infrahub-mcp/commit
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/opsmill/infrahub-mcp

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 Commit

README.md
[![agentmods](https://agentmods.dev/badge/commands/opsmill/infrahub-mcp/commit/github.svg)](https://agentmods.dev/commands/opsmill/infrahub-mcp/commit)
Your own site
<a href="https://agentmods.dev/commands/opsmill/infrahub-mcp/commit"><img src="https://agentmods.dev/badge/commands/opsmill/infrahub-mcp/commit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for Checkpoint Commit

Your own site · 80×15
<a href="https://agentmods.dev/commands/opsmill/infrahub-mcp/commit"><img src="https://agentmods.dev/badge/commands/opsmill/infrahub-mcp/commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
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. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00011 $0.00499
Opus 5 $0.00005 $0.00249
Sonnet 5 $0.00002 $0.00100
Haiku 4.5 $0.00001 $0.00050

Measured 6d ago against content hash 5261cd7c0c01, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 6d 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. 6d 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 opsmill/infrahub-mcp (10 stars, last pushed 2d ago), licensed Apache-2.0. 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.