session_snapshot
Record key session details—goal, decisions, blockers, next steps—into a token-efficient snapshot to prevent context loss during long sessions or compaction.
Instructions
Capture current session state as a compact markdown block (<200 tokens). Call before compaction, when switching direction, or periodically in long sessions. Model provides the facts, tool formats them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | Yes | Session goal — what and why | |
| decisions | No | Key decisions made and why (e.g., "removed sysfee step — caused double counting"). Prevents revisiting rejected approaches. | |
| confirmed | No | Established facts (what has been verified) | |
| files | No | Relevant file paths | |
| blocked | No | Current blocker or obstacle | |
| next | No | Next step to take |