Create a session handoff for later resumption
Creates a handoff document capturing session state for later resumption.
/plugin marketplace add sethdford/claude-toolkit/plugin install memory@claude-toolkit<summary>Create a handoff document capturing current session state for later resumption.
/handoff "Completed auth module, tests passing"
/handoff "WIP: Refactoring payment service, 60% done"
Run the handoff script:
"${CLAUDE_PLUGIN_ROOT}/scripts/memory.sh" handoff \
--summary "$ARGUMENTS" \
--session "$CLAUDE_SESSION_ID"
The handoff is stored as YAML:
---
id: handoff-2024-01-15-auth
session_name: auth-implementation
status: complete
created_at: 2024-01-15T10:30:00Z
---
# Session Handoff
## Summary
Completed auth module, tests passing
## What Was Done
- Implemented JWT authentication
- Added refresh token rotation
- Created auth middleware
- Wrote 15 unit tests (all passing)
## Files Modified
- src/auth/jwt.ts
- src/middleware/auth.ts
- tests/auth/*.test.ts
## Next Steps
1. Deploy to staging
2. Run integration tests
3. Update API documentation
## Open Questions
- Should we add OAuth providers?
Confirm to user:
/resume <id>The pre-compact-save hook automatically creates handoffs before context compaction to prevent losing work.
/handoffWrite or update a handoff document so the next agent with fresh context can continue this work.
/handoffProperly end a swarm session - release reservations, sync state, generate continuation prompt