一键导入
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 audit a research project against the init-project-research template.
Use when you need to validate a paper's bibliography — cross-references \cite{} keys against .bib files or embedded \bibitem entries, finds missing/unused/typo'd keys, and checks every key against the Paperpile library via the local resolver. Deep verification mode spawns parallel agents for DOI/metadata validation at scale. Fix mode rekeys drifted keys to canonical and stages missing entries for Paperpile.
Use when you need to bootstrap a full research project with directory scaffold and Overleaf symlink.
Use when you need to create a preprint / working-paper variant of a paper currently in conference or journal format. Forks the existing Overleaf project — adds a `preprint/` subfolder using the user's `your-template` Template, ports the body content from the source paper. The preprint is accessed locally via the existing `paper-{venue}/paper/preprint/` path (subfolder under the conference paper's symlink); no separate `paper-wp/` directory. Trigger on "set up a working paper", "create a preprint", "WP version", "arXiv-ready version", "ready to preprint". Never creates a new top-level Overleaf project — always nests inside the existing one. Never uses the conference's own style (.sty / .cls); always swaps to `your-template`.
Use when you need academic proofreading of a LaTeX paper (11 check categories).
Use when you need to assemble, anonymize, or audit a replication package.
| 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