
Handoff
Write a compact, decision-ready handoff so the next session (or the user) can continue...
Install
npx skills add codewhale-hq/Codewhale --skill handoff -g -a claude-code -y- Repository
- codewhale-hq/Codewhale41.2k
- Category
- Writing
- Updated
- 3d ago
- License
- MIT
- Context cost
- Lightabout 1,113 tokens
- Runs scripts
- No, instructions only
What it does
Write a compact, decision-ready handoff so the next session (or the user) can continue without reconstructing the current one. Use when the session is ending, context is running low, the user asks for a handoff / 'pass the baton' / 'hand off', or a long-running operation needs a durable state checkpoint.
Handoff
Write a compact, decision-ready handoff so the next session (or the user) can continue without reconstructing the current one. Use when the session is ending, context is running low, the user asks for a handoff / "pass the baton" / "hand off", or a long-running operation needs a durable state checkpoint. The goal: the durable artifact survives, the context does not need to.
Invocation: model+user
When to use
- The user says "handoff", "hand off", "pass the baton", "takeover prompt", "write me a handoff", or the session is about to end / compact.
- A long operation (multi-turn, multi-workstream) has state that must survive context loss: commits, branches, PRs, CI, blockers, decisions.
- You are switching to a fresh session and want the new session to start from evidence instead of reconstructing the old one.
What to do
- Gather the truth from tools, not memory. Run/collect:
git branch --show-current,git status --short,git log --oneline origin/<default>..HEAD(what is local-only),git log --oneline -5(recent context).- Live remote state where relevant (
gh pr list --state open,gh pr checks <n>,gh run list), only what the user's operation actually depends on; do not pad the handoff with a full GitHub dump. - Any in-flight work: dirty files, uncommitted slices, partial worktrees, running background jobs/workers, queued CI.
- Write a compact markdown handoff (aim under ~60 lines; the user may also ask for a "short text-only" variant, then aim under ~15 lines):
