session_checkpoint
Save session state to disk when context reaches 70-80%, producing handoff files and logs. Ensures the next session resumes with complete context and no lost work.
Instructions
Save the current session state to disk. CALL THIS at 70-80% context. Writes: handoff.md, tasks.json, dead_ends.md, assumptions.md, environment.json, architecture.mermaid, session_log.jsonl. Also auto-writes handoff.md to CLAUDE.md so next session loads it.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "session_checkpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trigger | No | manual | |
| one_liner | No | One sentence summary of what happened this session | |
| context_pct | No | Current context window usage percentage |