用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/andrem-sec/psc-comet --skill checkpoint命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | checkpoint |
| description | Named decision point for long-running tasks — PIVOT, REFINE, or PROCEED |
| version | 0.2.0 |
| level | 1 |
| triggers | ["checkpoint","check in","pivot or proceed","decision point","/checkpoint"] |
| context_files | ["context/learnings.md"] |
| steps | [{"name":"State Assessment","description":"What is done, in progress, and blocked?"},{"name":"Goal Alignment","description":"Does the current path still lead to the original goal?"},{"name":"Risk Surface","description":"What new risks or unknowns have appeared since the last checkpoint?"},{"name":"Decision","description":"PIVOT, REFINE, or PROCEED — with explicit rationale"},{"name":"Log if PIVOT","description":"If pivoting, write the abandoned approach and reason to context/learnings.md"}] |
A structured pause during long-running tasks. Prevents tunnel vision and catches drift before it compounds.
Without checkpoints, Claude continues executing a plan past the point where new information has invalidated one of its assumptions. The compound reliability math is real: at a 10% error rate per step, 10 steps yields 35% success. A checkpoint at step 5 resets the accumulation.
PROCEED — on track, no new risks, continue as planned.
REFINE — mostly correct, but one or two steps need adjustment. Document what changed and why, then continue.
PIVOT — the approach is fundamentally wrong or blocked. Stop. Re-plan the affected phase. Write the abandoned approach to learnings.md — this is high-value content.
A PIVOT is not a failure. A PIVOT without documentation is a failure.
Checkpoint — [task] — Step [N] of [N]
Completed: [list]
In Progress: [current step]
Blocked / New Info: [if any]
Decision: PROCEED / REFINE / PIVOT
Rationale: [one sentence]
Next: [specific next action]
Claude Code compacts at 93% of effective context (window minus 20k overhead). PSC checkpoints fire earlier:
| Level | Action |
|---|---|
| ~90% | Run checkpoint immediately — surface state, decide PIVOT/REFINE/PROCEED |
| ~95% | Blocking threshold — new tool calls may fail. Compact now. |
| Mid-debug | Do NOT compact — stack traces and error traces are the tool |
Signals that context is at 90%+: earlier parts of the conversation feel distant, rules from CLAUDE.md feel less active, you are uncertain about a constraint stated early in the session.
When in doubt, checkpoint. The cost of a false positive is one checkpoint. The cost of a missed threshold is silent context drift.
Do not issue a PROCEED when there are unresolved blockers. Acknowledge them and decide.
Do not PIVOT without writing the abandoned approach to learnings.md. Future sessions will revisit the same dead end without that record.