Save

Save session context and exit. Writes tmp/handoff.md for the next session to pick up automatically.

cerico 883a55d 1.3 KB Updated

File contents

Save

Save session context and exit cleanly.

Steps

  1. Review the conversation to understand what was worked on, decisions made, and what's next.

  2. Write tmp/handoff.md (create tmp/ if needed):

# Handoff
**Date**: [today's date]
**Branch**: [current git branch, or "n/a"]
## Summary
[1-2 sentences: what we worked on this session]
## Decisions
- [key decisions made]
## Next
- [what to do next session]
## Blockers
- [any blockers, or "none"]
  1. If the current directory is a hub, run /hub next <action> with the most important next step.

  2. Print: Session saved.

  3. Exit the session by running this Bash command:

kill -INT $CLAUDE_WRAPPER_PID 2>/dev/null || echo "Type /exit to close."

If CLAUDE_WRAPPER_PID is not set (session started without the wrapper), the fallback message tells the user to type /exit.

Rules

  • Fill in ALL sections from conversation context. Never leave placeholders.
  • Keep it concise. The next session needs orientation, not a transcript.
  • If there are no blockers, write "none".
  • If there's no git branch, write "n/a".
  • The kill command MUST be the very last thing executed. Nothing after it.

cerico/macfair/tree/main/files/claude/skills/save commit 883a55dcbe

Frequently asked questions

npx skillmds@latest add cerico/save