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.
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 |