Use when: - User says "done for today", "ending session", "save state" - Context is getting full (80%+) - User is taking a break - Before context compaction - User mentions "handoff", "pause work", "wrapping up"
Save current session state for later resumption.
bash ~/.claude/scripts/handoff.sh create
Or use the native command:
/create-handoff
The handoff file includes:
If the current branch is linked to a GitHub Issue (e.g., feat/123-description):
Post a progress comment on the issue:
gh issue comment 123 --body "## Session Update
- Completed: [summary of work done]
- Files modified: [list]
- Next steps: [what remains]"
Check off completed tasks in the issue body if any task checkboxes were resolved during this session.
This ensures project progress is visible to the whole team, not just in local handoff files.
~/.claude/handoffs/
├── project-name-2024-01-15-1430.md
├── project-name-2024-01-14-0900.md
└── ...
The setup automatically creates handoffs:
Confirms:
To resume from a handoff:
/resume-handoff
This loads the most recent handoff for the current project.