1. Habit
  2. Skills
  3. Handoff skill
Matt Pocock · 1M installsAI Hero · ex-Vercel · Total TypeScript

Handoff skill
Runs by itself, when you end a work session.

No lost context between sessions.

Install the Handoff skill and make it a habit: follow https://gethabit.dev/skills/mattpocock/handoff.md

  1. 1Copy
  2. 2Paste into Claude Code, Codex or Cursor
  3. 3It runs by itself

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

How the habit works.
You don't have to.

Three questionsWhen does it start? How does it check its work? What does it remember?

One run, step by step.
Then it stops.

Stop ruleStops after one handoff document per run.

  1. 01

    Take the focus

    If you passed a note on the next session, your agent tailors the document to it.

  2. 02

    Summarise

    It compacts the conversation so a fresh agent can continue the work.

  3. 03

    Link, not copy

    It points to specs, plans, ADRs, issues, commits and diffs by path or URL.

  4. 04

    Suggest skills

    It adds a suggested skills section for the next agent.

  5. 05

    Redact

    It removes API keys, passwords and personal data.

  6. 06

    Save and log

    It saves to $TMPDIR or /tmp, not the workspace, and logs the path.

What it may do.
Nothing more.

Safe by defaultIt writes only in its own folder and asks you before anything goes out.

Is it for you?
Use it when it fits.

Quick checkRead both lists. If the left one sounds like you, the Handoff skill helps.

Use it when

  • ✓ Your context is getting full
  • ✓ You hand work to another agent
  • ✓ You stop for the day

Skip it when

  • – The task is already done
  • – Everything lives in issues already

Questions

Handoff skill, answered.

Where does the handoff go?

To the OS temp directory, not your project folder.

Does it repeat my specs?

No. It links to them by path or URL.

Is it safe to share?

It redacts keys, passwords and personal data, and the check scans for leftovers.

How do I install the Handoff skill?

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.

Is the Handoff skill free?

Yes. It is published under MIT. Habit is free too.

Handoff. Now as a habit.

Install the Handoff skill and make it a habit: follow https://gethabit.dev/skills/mattpocock/handoff.md

  • Free
  • No account
  • Undo in one line

All Matt Pocock skills →More notes skills →

Works in

  • Claude Code
  • Codex
  • Cursor
  • ChatGPT
  • Claude app

Made by Matt Pocock, published under MIT. Habit links to the original and never changes it. Is this your skill?

Copying didn't work here. Select the line and copy it by hand.