Agent skill
bye
Save session state (continue working or exit safely)
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/bye
SKILL.md
Save Session
When the user invokes /bye or "save session", you should:
Step 1: Save Session
Spawn the session-saver agent to create:
- 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
/bye- full save with summary/bye quick- minimal save (goal/now/done/next only)- "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.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?