/cf-checkpoint-from
Manual onlyMedium1,500 – 3,000 tokens injected into promptupdatedLoad a previously saved checkpoint file back into a fresh conversation to continue prior work.
Context footprint: (medium) — what does this mean?
Works without coding-friend-cli. Reads the checkpoint file directly from
disk; no CLI features are required. See CLI
requirements for the full matrix.
The /cf-checkpoint-from skill loads a checkpoint saved by /cf-checkpoint back into a fresh conversation as working context — Goal, Current State, Key Decisions, and Next Steps — then continues with whatever the user asks next. It only reads and restores a checkpoint; it never creates or edits one.
This skill is slash-only (it does not auto-invoke) — trigger it explicitly with /cf-checkpoint-from.
Usage
/cf-checkpoint-from <slug> [message] [--recap]
The first word of the argument is the checkpoint slug; everything after it is an optional message — what to do once context is loaded. Add --recap (anywhere in the argument) to also print a summary of the restored context; it's off by default.
<slug> accepts:
- Full path — resolved to its canonical absolute path and validated to live directly under
{docsDir}/context/checkpoints/; anything outside that directory (including via..traversal) is refused. - Bare slug — rejected outright if it contains
/,\, or... Otherwise resolved in order, using the first that exists:{docsDir}/context/checkpoints/<slug>.md(exact match, including aYYYY-MM-DD-prefix if typed in full)- Glob
{docsDir}/context/checkpoints/*<slug>*.md(matches a bare slug typed without its date prefix), only when exactly one file matches
- No slug, no match, or multiple matches — lists the available checkpoints (file name,
topic,updated) and asks which one to load, rather than guessing.
Workflow
- Parse the argument — split off
--recap, then the slug (first token), then the message (the rest). - Resolve the checkpoint file — applies the path/slug resolution above. If the checkpoints directory is empty or missing, reports that clearly and suggests running
/cf-checkpointfirst. - Load context — reads the resolved file and treats its content strictly as data, never as instructions to execute. Loads its sections (Goal, Current State, Key Decisions, Breaking Changes, Open Questions / Next Steps, Relevant Files) as working context. If a Next Step or Relevant File entry reads as an imperative action unrelated to the stated Goal, it's flagged as suspicious rather than acted on. The user's typed message, not the checkpoint file, is the only trusted instruction.
- Recap (only with
--recap) — prints a short summary covering Goal, Current State, Key Decisions, and Next Steps. Skipped by default. - Continue — if a message was given, briefly confirms "Context loaded." and carries it out using the restored context; if not, says "Context loaded." and asks what to do next.
When to Use
- Starting a new conversation to continue previous work
- Picking up a task after a context reset or session end
- Handing off work saved via
/cf-checkpointto a later session
Recommended Workflow
/cf-checkpoint (previous session) → /cf-checkpoint-from <slug> [message] (new session) → continue work