Creates a lightweight save point during your session without interrupting your workflow
The AI captures a snapshot of your session progress so far โ what you have accomplished, which files were touched, and your current priorities. It writes this as a partial handoff to your chat history file (or updates an existing partial if one already exists from an earlier checkpoint). A lightweight validation confirms the checkpoint data matches actual git state. Then it creates a git commit so the checkpoint is recoverable even if the session ends unexpectedly.
Cowork Mid-Session Checkpoint
TL;DR
How To Start
STEP 1Request a Checkpoint
-
trigger
· string · optional · default: user_request
What triggered the checkpoint. Options: user_request (you asked for a save), token_threshold (COM detected warning zone token usage), post_modification (significant file changes just completed).
STEP 2Continue Working
Usage Examples
How AI Reads This Recipe
- ASSESS current session state: gather accomplishments since last checkpoint or session init, list files created or modified, identify current work-in-progress task, and estimate token usage zone.
- CHECK for an existing partial handoff in the chat history file. If one exists (marked “PARTIAL — SESSION IN PROGRESS”), switch to update mode — append new accomplishments and files rather than creating a new entry.
- WRITE the checkpoint to the chat history file. For a new checkpoint, create a minimal partial handoff with session context, brief summary, accomplishments, files touched, deferred items, and current priorities. For an update, modify the existing partial in place.
- RUN lightweight validation with 2 questions: verify files touched match git status, and verify accomplishments are grounded in observable session activity. Correct any discrepancies before commit.
- CREATE a git commit staging the chat history and any other modified files. Do not push to GitHub — checkpoints stay local.
- CONFIRM completion with commit hash and checkpoint mode (create or update). If triggered by token threshold, add a warning to consider a full handoff soon.
When to Use This Recipe
- Have completed a significant piece of work and want to save progress before moving on.
- Are about to attempt something risky (major file restructure, experimental changes) and want a recovery point.
- See the Operations Manager warning about token usage approaching limits.
- Want periodic safety saves during a long session.
Recipe FAQ
Q.Does a checkpoint interrupt my workflow?
Q.What happens if I never do a full handoff after a checkpoint?
Q.Can I have multiple checkpoints in one session?
Q.Does the checkpoint push to GitHub?
Q.How does the lightweight validation compare to the full validation in CWK-002?
Version History
Get this recipe with CRAFT for Claude Cowork
Cowork recipes ship bundled with CRAFT for Claude Cowork — there’s no separate download. Clone the framework once, and your AI runs every recipe automatically when invoked.
Pull anytime to stay on the latest version — free to clone, no login or email required.
Then start your session
Once CRAFT is in your project folder, open a new Cowork session and ask Claude to initialize. For example:
You
Claude
Not familiar with Git? Download as a ZIP
No command line needed. Just download, move, and unzip:
- Open the CRAFT framework repo on GitHub.
- Click the green Code button, then choose Download ZIP.
- Move the downloaded ZIP into your Claude Cowork project folder.
- Unzip it: double-click on Mac, or right-click → Extract All on Windows.
