handoff
Compact the current conversation into a handoff document for another agent to pick up.
by KrishP147★ 37 GitHub stars
Install handoff in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
Write a handoff document summarising the current conversation so a fresh agent can continue the work. Save it in the repo under skilleddocs/handoffs/<YYYY-MM-DD>-<slug>.md (create the directory; local date, not UTC; slug = 2-4 kebab-case words for the focus (from the argument if given, else the topic)). If there is no repo or git working tree, fall back to the OS temporary directory. A repo's AGENTS.md / CLAUDE.md may prescribe a different folder or filename prefix; follow it. Commit it or not per TRACKING.md.
In a repo, record in the document the branch (detached HEAD: "detached at ", warning that its commits are on no branch until git switch -c <name>), the base SHA (git merge-base <default> HEAD; <default> per the TRACKING.md above; on <default> itself that is HEAD, an empty range, so use git merge-base @{u} HEAD (no upstream: origin/<default>) when it differs from HEAD, else the parent of the session's first commit, and say which) and the head SHA, so a verifier knows the range to check, plus git status --short when the tree is dirty (that work isn't in the range).
Include a "suggested skills" section in the document, naming which skills the next agent should call the Skill tool for.
Do not duplicate content already captured in other artifacts (specs, plans, ADRs, issues, commits, diffs). Reference them by path or URL instead.
Redact any sensitive information, such as API keys, passwords, or personally identifiable information.
If the user passed arguments, treat them as a description of what the next session will focus on and tailor the doc accordingly.
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
- README.md
FAQ
What does the handoff skill do?
Compact the current conversation into a handoff document for another agent to pick up.
How do I install the handoff skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the handoff skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
docx
AnthropicUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
xlsx
AnthropicUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
pptx
AnthropicUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…