handoff
Agent skill fromthedotmack/claude-mem
Generate a HANDOFF.md that captures goal, current state, files touched, failed attempts, and next steps — so a fresh Claude session can continue exactly where this one left off. Use when sessions are getting long, Claude keeps retrying the same broken solution, or the user wants to step away and resume later.
How to install handoff
install handoff
# install the claude-mem pack with the skills CLI
npx skills add thedotmack/claude-mem# or add only this skill to Claude Code: copy the folder
plugin/skills/handoff/
# into
~/.claude/skills/handoff/ (all projects)
.claude/skills/handoff/ (one project)
1# Handoff23Generate a structured `HANDOFF.md` file that gives a fresh Claude session everything it needs to continue this work without dragging the current degraded context forward.45claude-mem already injects recent observations into every new session, so the fresh agent starts with a timeline of what happened. The handoff adds what that timeline cannot: the goal, the failed attempts and why they failed, the current theory, and exact next steps, plus pointers into memory for deeper recall.67## When to Use89- The session is long and Claude feels confused or repetitive10- Claude keeps trying the same failing solution over and over11- The user wants to step away and resume later12- `/compact` ran but Claude still lacks clear direction13- The user says "handoff", "generate a handoff", "I want to start fresh", or "write a handoff doc"1415## What to Capture1617Think hard about the full arc of this conversation before writing. The handoff must be useful to a Claude instance that has never seen this conversation.1819### Required Sections20211. **Goal** — One paragraph. What is the user actually trying to accomplish? State the end state, not the current sub-task. Be specific enough that a fresh agent can orient immediately.22232. **Current State** — What is working right now? What is broken? What is the exact symptom of the problem? Include error messages verbatim if relevant.24…
Excerpt shown under the repository's Apache-2.0 license.
