Claude-skill-registry bye
Save session state (continue working or exit safely)
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/bye" ~/.claude/skills/majiayu000-claude-skill-registry-bye && rm -rf "$T"
manifest:
skills/data/bye/SKILL.mdsource content
Save Session
When the user invokes
/bye or "save session", you should:
Step 1: Save Session
Spawn the
agent to create:session-saver
- YAML handoff at
thoughts/shared/handoffs/{date}_{topic}.yaml - Quick state files in
.claude/memory/
This is the unified save mechanism - one source of truth for all hooks.
Step 2: Confirm with User
After saving, show:
✓ Session saved to: thoughts/shared/handoffs/{date}_{topic}.yaml Summary: - Goal: [what you were working on] - Done: [key accomplishments] - Next: [first action item] You can: - Continue working (session state is checkpointed) - Safely exit (use `/resume` next time to pick up where you left off)
Usage
- full save with summary/bye
- minimal save (goal/now/done/next only)/bye quick- "save session" - same as
/bye
Quick Mode
If
/bye quick, tell session-saver to create minimal handoff:
goal: [1-line summary] outcome: IN_PROGRESS now: [immediate next action] done_this_session: - [1-2 key items] next: - priority: P0 task: [most important next step]
Migration Note
This replaces the old dual-system where
/create_handoff wrote Markdown and session-saver wrote separate state files. Now everything goes through session-saver for consistency.