一键导入
checkpoint
Use when you need to save session state to survive context compaction or handoff between sessions.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when you need to save session state to survive context compaction or handoff between sessions.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when you need to compare a project .bib against a Paperpile project/topic folder to find uncited papers or unfiled entries.
Use when you need to extract citations from a PDF and generate a validated .bib file. Reads the PDF, identifies all referenced works, constructs BibTeX entries with metadata verification, then runs bib-validate.
Use when you need to check a LaTeX submission against a PDF assessment brief.
Use when you need to replicate a quantitative analysis in a second language (R↔Python↔Stata↔Julia) to verify correctness. Level 1 of the verification hierarchy.
Use when you need to challenge research assumptions or stress-test arguments.
Review user-facing documentation for accuracy, consistency, and completeness across private, public, nested repos, and the user manual. Use when docs feel stale, after major changes, or before sharing. (Replaces `repo-doc-audit`)
| name | checkpoint |
| description | Use when you need to save session state to survive context compaction or handoff between sessions. |
| allowed-tools | Read, Write, Edit, Bash(git*), Bash(date*), Bash(wc*), Glob |
Snapshot the current session's progress to a YAML file so it can be restored after context compaction or in a new session. This is NOT a session log (narrative) or context save (profile/focus) — it's a machine-readable state dump for continuity.
Collect the following from the current conversation context:
git diff --name-only if in a git repo, plus any new untracked files)Write to .planning/checkpoint.yaml in the active project directory. If no project directory is obvious, write to the Task Management root.
# Auto-generated by checkpoint — do not edit manually
created: "YYYY-MM-DDTHH:MM:SS"
session_id: "<from $CLAUDE_SESSION_ID if available>"
project: "<project directory basename>"
task: |
<one-paragraph description of what the user asked for>
files_modified:
- path: "relative/path/to/file.md"
action: "created|edited|deleted"
summary: "what was changed and why"
decisions:
- decision: "what was decided"
rationale: "why"
progress:
completed:
- "step 1 description"
- "step 2 description"
current: "what step we're on now"
next:
- "next step 1"
- "next step 2"
blocked:
- item: "what's blocked"
reason: "why"
open_questions:
- "question that needs user input"
context_files:
- "list of files that should be re-read on restore"
Report to the user:
Checkpoint saved to .planning/checkpoint.yaml
- N files modified
- N decisions recorded
- Current step: [description]
- Next: [first next step]
files_modified: Only files touched THIS session, not all project filesdecisions: Only non-obvious choices. Skip mechanical decisions ("used latexmk" is obvious; "chose TWFE over CS estimator" is not)context_files: List files that restore should re-read to reconstruct working context. Include CLAUDE.md, the plan file, and any files being actively editedprogress.current: Must be specific enough that restore can pick up exactly where we left offEach checkpoint invocation overwrites the previous checkpoint. There is only one active checkpoint per project. If you need history, the git log preserves it.
session-log — session logs are for humans, checkpoints are for restore