A Claude Code slash command that checkpoints a session: it captures durable session state, routes learnings to skills/memory, reconciles project docs and trackers, commits locally (never pushes), and reports a structured restart-readiness verdict.
Two purposes:
- Durable continuity — a session should be safely deletable with nothing of value lost; everything that matters moves out of the transcript into retrievable stores (the project's backlog record, content files, memory, git).
- Compounding learning — every session should leave the project and Claude smarter, so the next session never re-derives, re-breaks, or re-asks.
cp save.md ~/.claude/commands/save.mdThen run /save in Claude Code.
- Session handoff state is written to
.claude/session_state.md— gitignore it, and point your projectCLAUDE.mdat it so the next session auto-resumes. - The final section optionally hands back to an autopilot loop; if you don't run one,
/savesimply stops.