01
It starts by itself
session ends. Runs in Claude Code routine.
- ↻ session ends
user invokes handoff at the end of a session
No lost context between sessions.
Install the Handoff skill and make it a habit: follow https://gethabit.dev/skills/mattpocock/handoff.md
1M installs300K starsMIT licenceSource on GitHub ↗

Handoff
by Matt Pocock · 1M installs
The skill
Sums up your chat so a new agent can carry on.
Only when you ask.
Time saved
No lost context between sessions. Time saved every time you start again.
↻ Runs by itselfwhen you end a work session
When does it start? How does it check its work? What does it remember?
Stops after one handoff document per run.
If you passed a note on the next session, your agent tailors the document to it.
It compacts the conversation so a fresh agent can continue the work.
It points to specs, plans, ADRs, issues, commits and diffs by path or URL.
It adds a suggested skills section for the next agent.
It removes API keys, passwords and personal data.
It saves to $TMPDIR or /tmp, not the workspace, and logs the path.
It writes only in its own folder and asks you before anything goes out.
Read both lists. If the left one sounds like you, the Handoff skill helps.
To the OS temp directory, not your project folder.
No. It links to them by path or URL.
It redacts keys, passwords and personal data, and the check scans for leftovers.
Copy the prompt at the top into your agent. It installs the skill from mattpocock/skills and sets up the habit. Or run npx skills add mattpocock/skills --skill handoff.
Yes. It is published under MIT. Habit is free too.
Install the Handoff skill and make it a habit: follow https://gethabit.dev/skills/mattpocock/handoff.md
All Matt Pocock skills →More notes skills →
Works in
Made by Matt Pocock, published under MIT. Habit links to the original and never changes it. Is this your skill?