checkpoint-persist

checkpoint-persist is a skill for Claude Code from i-stack/ai-coding-kit. It costs 121 tokens per session (783 once invoked), scanned A, original, MIT.

A skill that saves intermediate conclusions from long, multi-step tasks to a checkpoint file. It restores those conclusions in a later round and removes the file when the task is complete.

In plain words
What is it for?
Use it during complex work with multiple conclusions that must survive across turns, such as migrations, debugging, reviews, or implementation plans.
Why use it?
It reduces the risk of losing decisions and unfinished conclusions when a conversation becomes too long or its context is compressed.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the skills-engineering plugin — 13 skills shipped together

Good fit Use it during complex work with multiple conclusions that must survive across turns, such as migrations, debugging, reviews, or implementation plans.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/i-stack/ai-coding-kit/checkpoint-persist
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.

Any agent
npx skills add i-stack/ai-coding-kit --skill checkpoint-persist
Clone the repo
git clone --depth 1 https://github.com/i-stack/ai-coding-kit

Made for: Claude Code.

Or install skills-engineering, the plugin that ships this one along with the rest of its 13 skills.

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-persist

README.md
[![agentmods](https://agentmods.dev/badge/skills/i-stack/ai-coding-kit/checkpoint-persist/github.svg)](https://agentmods.dev/skills/i-stack/ai-coding-kit/checkpoint-persist)
Your own site
<a href="https://agentmods.dev/skills/i-stack/ai-coding-kit/checkpoint-persist"><img src="https://agentmods.dev/badge/skills/i-stack/ai-coding-kit/checkpoint-persist/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-persist

Your own site · 80×15
<a href="https://agentmods.dev/skills/i-stack/ai-coding-kit/checkpoint-persist"><img src="https://agentmods.dev/badge/skills/i-stack/ai-coding-kit/checkpoint-persist.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 121 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 783 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 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.00121 $0.00783
Opus 5.5 $0.00048 $0.00313
Sonnet 5.5 $0.00024 $0.00157
Haiku 4.5 $0.00012 $0.00078

Measured 24d ago against content hash f87757b6ad33, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

checkpoint-persist 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 24d 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.

skills-engineering/checkpoint-persist/SKILL.md · 35 lines

What it actually says

Checkpoint Persist

强制入口

命中本 skill 时,必须先完整阅读 references/checkpoint_persist.md 并按其中条款执行。

  • 不得以 preamble、摘要或其它二次摘要代替该文件全文。

何时加载

  • 门控触发(CP-001):非平凡任务(构建 / 修改 / 方案 / 迁移 / 审查 / 排障,复用 historical-recall HR-001 定义)+ 存在 ≥2 个需分别产出的子结论 + 子结论需跨轮存活,三条全满足才触发;每产出一个子结论立即落盘。
  • 跳过:trivial 任务、单轮可完成、单点子结论、事实查询 / 翻译 / 简单解释 / typo / 小命令 / 纯闲聊。
  • 与 historical-recall 的分工:historical-recall 负责「动手前召回历史」(读),本 skill 负责「动手后边做边落盘」(写);两者是同一套「非平凡」门控下的两个方向,触发定义保持一致。

规则索引(owned rule IDs)

本 skill 的契约由下列 CP-NNN 规则承载,真值登记在 references/rule_index.md。行为门禁 scripts/validate-skill-behavior.sh 的 Check 2 校验 ID 集合双向一致(SKILL.md 声明的 ID 均被定义;rule_index.md 中 active 行均被 SKILL.md 声明)。

  • [CP-001] 触发门控:非平凡 + ≥2 子结论 + 跨轮存活三条全满足才落盘;trivial / 单轮可完成 / 单点子结论 / 闲聊跳过。
  • [CP-002] 落盘对象与粒度:只落「结论 + 关键决策 + 未决问题」,不落对话过程与思考流;最小单元 = 单个子结论。
  • [CP-003] 落盘时机:每产出一个子结论立即追加,禁止攒批到末尾;感知上下文将超窗 / 压缩时优先落盘。
  • [CP-004] 落盘位置与格式:固定写 <工作区根>/.plan-reviews/checkpoint/<task-slug>/CHECKPOINT.md;格式统一,压缩后可按约定路径找回。
  • [CP-005] 恢复与生命周期:新轮次先读进行中的 checkpoint 恢复上下文;任务完成(结论已入成品产出)后清理;落盘失败 best-effort 不阻断主任务。
Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 24d ago First seen · 35 lines · 121 tokens per session scan A f87757b6ad33

Subscribe to this mod's changes

checkpoint-persist is a skill published in the GitHub repository i-stack/ai-coding-kit (3 stars, last pushed 11d ago), licensed MIT. It adds 121 tokens to every session and 783 once invoked, about $0.0005 per session on Opus 5.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-11-06.

Related

checkpoint-persist compared with skills from other repositories

checkpoint-persist next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
checkpoint-persisti-stack/ai-coding-kitSkill311d agoMITA121Claude Code
tmeet-skillTencentCloud/tencentmeeting-cliSkill2604d agononeA87Claude Code, Codex
speclite-handoffflanliulf/SpecLiteSkill68d agoMITA22Claude Code
wiki-orchestrateqxbyte/pluginhubSkill32mo agoMITA136Claude Code
pre-post-hooksVersoXBT/claude-initial-setupSkill46mo agoMITB60Claude Code
orbit-notionnexu-io/open-designSkill110ktodayApache-2.0A117Claude Code, Codex
agentmailpaperclipai/paperclipSkill118ktodayMITA30Claude Code, Codex