Help us improve
Share bugs, ideas, or general feedback.
From session
Creates a handoff brief to compact the current session or transition to a new one. Use when context usage is high (60-77%) or before clearing history.
npx claudepluginhub minhthang1009/dotclaude --plugin sessionHow this skill is triggered — by the user, by Claude, or both
Slash command
/session:handoff [--save | --inject][--save | --inject]This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Generate a concise handoff brief for session continuity or context compaction. Per Anthropic guidance ([session management blog](https://claude.com/blog/using-claude-code-session-management-and-1m-context)): **brief-injection into a new session is often better than resuming** — resuming drags in stale data whereas a brief carries only decisions and current state.
Guides technical evaluation of code review feedback: read fully, restate for understanding, verify against codebase, respond with reasoning or pushback before implementing.
Share bugs, ideas, or general feedback.
Generate a concise handoff brief for session continuity or context compaction. Per Anthropic guidance (session management blog): brief-injection into a new session is often better than resuming — resuming drags in stale data whereas a brief carries only decisions and current state.
| Situation | Action |
|---|---|
About to /compact (context 60-77%) | /handoff then /compact <instructions> |
About to /clear — need to remember things | /handoff --save then /clear |
| Starting a new session after a break | Open new session, paste handoff into first prompt |
| After crash / session error | claude --continue → /handoff to check state |
When invoked, follow these steps every time:
git status --short, git log --oneline -5, git diff --stat HEAD./compact <brief>.--save → write HANDOFF.md to every project root in the workspace. Find projects via find . -maxdepth 3 -name ".git" -type d -not -path "*/node_modules/*" -not -path "*/.git/modules/*", take parent dir of each .git/. Fallback to cwd if none found. For each project: write HANDOFF.md (not inside .claude/), ensure .gitignore has a HANDOFF.md entry. Report: Saved HANDOFF.md to: <list>. IMPORTANT: use the Write tool to write the file — never use Bash (cat >, echo >, tee). The Write tool triggers a PostToolUse hook that automatically moves the file to .claude/handoff.md.--inject → print a single paste-ready line: Continuing from handoff: [5-7 line inline brief]. Main files: <list>. Next step: <action>.# Handoff — <task name> — <YYYY-MM-DD HH:MM>
## Current session goal
<1 sentence — what problem is being solved>
## Done
- <short bullet — what was accomplished, with file path if applicable>
## In progress
- <work in progress, where it stopped>
- File being edited: `path/to/file.ts:120` — <note>
## Decisions made (with 1-sentence rationale)
- <Decision>: <rationale>
## Constraints / things to remember
- <perf, compat, security, business rule>
## Things to avoid / tried but didn't work
- <approach X — rejected because of reason Y>
## Next steps
1. <specific action>
2. <specific action>
## Useful commands for this project
- Build: `<command>`
- Test: `<command>`
- Lint: `<command>`
/compactAfter the brief is drafted, user can run:
/compact Keep the brief just drafted, drop debugging history and old tool output.