/kit:handofffrom kit
Use when the user asks for a handoff, says they will run /clear or /compact, starts a task that is not part of the current work, or when the context-nudge hook or the usage bar reports a large session. Writes a short note for one topic to .claude/handoffs/<topic>.md in the project, so a fresh session continues with a few thousand tokens in place of the whole conversation. Several sessions can each keep their own note. Also use when the user says "read the handoff", "continue from the handoff", or "continue from handoff <topic>".
Ships in kit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A long session is expensive because every step re-reads all of it. A fresh session that reads a 40-line note costs a few thousand tokens. The note must hold what the next session cannot find in the code or in git.
Each topic has its own note in .claude/handoffs/ at the root of the project. Two sessions that work on two topics at the same time write two notes, and neither overwrites the other.
Git must ignore the folder, because the notes are personal and short-lived. Before the first note in a project, run this command. It adds the line only when git does not ignore the folder yet, and it does nothing outside a git repository:
git rev-parse --is-inside-work-tree >/dev/null 2>&1 && ! git check-ignore -q .claude/handoffs/note.md && printf '\n# Handoff notes between two Claude Code sessions, one file for each topic. Personal and short-lived.\n.claude/handoffs/\n' >> .gitignore
Name a note by its topic, never by the session ID. Claude Code gives a new session ID after each /clear, so the next session cannot find a note that has the old ID in its name.
api-spend or usage-bar.
ls .claude/handoffs/. If a note with your name exists, read its Goal. If that goal is a different task, choose a different name. Another session owns that note..claude/handoffs/<topic>.md. Overwrite only the note of this topic. Keep it under 40 lines. Use these headings, and leave out a heading that has nothing under it:# Handoff: <topic> — <date and time, UTC>
## Goal
<One or two sentences: what the user wants, in their words where possible.>
## Done
- <Each finished step. Name the commit hash, or the files changed if not committed.>
## State now
- <What runs right now, and where: a background command, a container, a probe.>
- <What is uncommitted: `git status --short` summary. Say which files belong to this topic, because another session can have changes in the same tree.>
## Decisions and why
- <A choice the user made or agreed to, and the reason. The next session must not argue it again.>
## Open questions
- <What still needs the user's answer.>
## Next step
<The exact next action, with the command or the file and line.>
## Read first
- <At most five files or skills the next session needs, most important first.>
Rules for the content:
Tell the user in two sentences:
.claude/handoffs/<topic>.md./clear, then say "continue from handoff "..claude/handoffs/<topic>.md.ls -t .claude/handoffs/. If there is one note, read it. If there are two or more, show the user each topic name with the first line of its Goal, and ask which one to continue. Do not guess..claude/handoffs/ is empty, tell the user that no note exists.git status --short and check that a background command finished.Delete a note only when its goal is finished and the user agrees. The finished work is in git, so the note has no more use. A note that stays after its work is done makes the list in step 1 longer and can send a later session to old work. Do not delete the note of another topic.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub nandyalu/claude-session-kit --plugin kit