checkpoint

checkpoint is a command for coding agents from xu-xiang/everything-claude-code-zh. It costs 11 tokens per session (453 once invoked), scanned A, original, MIT.

A command for saving a snapshot of a project’s verification state, including tests, coverage, build results, code changes, completed work, blockers, and next steps. A checkpoint is a recorded progress marker that can be revisited during a longer change.

In plain words
What is it for?
Recording progress before or after major changes, tracking test and build status, documenting blockers, and coordinating repeated plan, implementation, and verification cycles.
Why use it?
Long or risky development tasks can make it hard to remember what was verified and what remains. The snapshot preserves that context at useful stopping points.

Command

Part of the everything-claude-code-zh plugin — 17 skills, 26 commands, 13 agents shipped together

About the project

everything-claude-code-zh is a Chinese translation of a collection of configurations for Claude Code and other AI coding agents. It provides agents, skills, hooks, commands, rules, and MCP configurations intended to support development workflows such as memory persistence, security scanning, evaluation, and research-first work. The catalogue includes commands, skills, agents, instructions, and a plugin from this configuration set.

xu-xiang/everything-claude-code-zh · 1,929 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.

agentmods
npx agentmods add commands/xu-xiang/everything-claude-code-zh/checkpoint
Clone the repo
git clone --depth 1 https://github.com/xu-xiang/everything-claude-code-zh

Or install everything-claude-code-zh, the plugin that ships this one along with the rest of its 17 skills, 26 commands, 13 agents.

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/xu-xiang/everything-claude-code-zh/checkpoint.svg)](https://agentmods.dev/commands/xu-xiang/everything-claude-code-zh/checkpoint)
Your own site
<a href="https://agentmods.dev/commands/xu-xiang/everything-claude-code-zh/checkpoint"><img src="https://agentmods.dev/badge/commands/xu-xiang/everything-claude-code-zh/checkpoint.svg" alt="Measured on agentmods" 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 453 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 $0.00011 $0.00453
Opus 5 $0.00005 $0.00227
Sonnet 5 $0.00002 $0.00091
Haiku 4.5 $0.00001 $0.00045

Measured 5d ago against content hash 55af4ee2897a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 5d 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.

.opencode/commands/checkpoint.md · 68 lines

What it actually says

检查点(Checkpoint)命令

保存当前验证状态并创建进度检查点(Checkpoint):$ARGUMENTS

任务内容

创建一个包含以下内容的当前进度快照:

  1. 测试状态(Tests status) - 哪些测试通过/失败
  2. 覆盖率(Coverage) - 当前覆盖率指标
  3. 构建状态(Build status) - 构建成功或错误
  4. 代码变更(Code changes) - 修改摘要
  5. 下一步计划(Next steps) - 待办事项

检查点(Checkpoint)格式

检查点(Checkpoint):[时间戳]

测试(Tests)

  • 总数:X
  • 通过:Y
  • 失败:Z
  • 覆盖率:XX%

构建(Build)

  • 状态:✅ 通过 / ❌ 失败
  • 错误:[如有]

自上次检查点以来的变更

git diff --stat [last-checkpoint-commit]

已完成任务

  • 任务 1
  • 任务 2
  • 任务 3(进行中)

阻塞性问题(Blocking Issues)

  • [问题描述]

下一步计划

  1. 步骤 1
  2. 步骤 2

与验证循环(Verification Loop)配合使用

检查点(Checkpoints)与验证循环深度集成:

/plan → implement → /checkpoint → /verify → /checkpoint → implement → ...

使用检查点(Checkpoints)来:

  • 在高风险变更前保存状态
  • 跟踪各阶段的进度
  • 在需要时启用回滚(Rollback)
  • 记录验证点

提示:在自然的断点处创建检查点:每个阶段结束后、重大重构前、修复关键错误后。

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. 5d ago First seen · 68 lines · 11 tokens per session scan A 55af4ee2897a

Subscribe to this mod's changes

checkpoint is a command published in the GitHub repository xu-xiang/everything-claude-code-zh (1,929 stars, last pushed 6mo ago), licensed MIT. It adds 11 tokens to every session and 453 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-08-30.