Alejandro AI for All

Claude Code workflow · Session Handoff Kit for Claude Code

Keep your project's context between Claude Code sessions

Every new Claude Code session starts from zero, and compaction drops details you needed. This kit keeps one handoff note per project, loads it automatically when a session starts and protects the important parts through compaction. /handoff saves where you are; /pickup continues.

Cover of Session Handoff Kit for Claude Code

The result

Before

Every new Claude Code session starts with you re-explaining your project.

After

The handoff note loads by itself and you pick up with /pickup.

The problem it solves

You spend the first minutes of every session re-explaining the project: what's done, what's broken, what's next. Or a long session compacts and forgets a decision you made an hour ago. A handoff note fixes both, as long as it's written the same way every time and loaded without you asking.

Who it's for

  • Developers who work on one project across many sessions
  • Long sessions that keep hitting compaction
  • People who switch between several repos
  • Teams that want a shared note committed with the code

Needs: Claude Code with hooks and skills, python3. git optional

See it in 20 seconds.

A short video of what the kit does for you, with sound.

What's inside

One handoff note per project, loaded at session start with the current git state and kept through compaction. Two skills, four hooks and 46 unit tests.

Stop re-explaining your project at the start of every Claude Code session. This kit keeps one handoff note per project, loads it automatically when a session starts, protects the important parts through compaction, and adds two commands: /handoff to save where you are and /pickup to continue.

What you get:

  • /handoff skill: writes the note in a fixed eight-section format and validates it.
  • /pickup skill: checks the note against the repository as it is now, reports what changed, asks the open questions and starts on the next step.
  • Four hooks in one Python script: session start (note + branch, uncommitted files, recent commits), pre-compact (what the summary must keep), post-compact (archives each summary), session end (one journal line).
  • A note checker, an installer with --dry-run and --uninstall that leaves your own hooks alone, an example note and a CLAUDE.md snippet.
  • 46 unit tests you can run yourself.

What you customize:

  • config.json: note location, size limit, freshness window, how much git state to show.
  • The sections of the note, if your work needs others.
  • The skills' trigger phrases and rules, to match how you work.
  • Whether the note is committed for your team or kept personal.

Good to know: plain Python 3 standard library and Markdown, nothing leaves your machine. Requires Claude Code with hooks and skills, and python3. git is optional. The note is written by Claude, so read it before you rely on it.

Questions about this kit

How does the note get loaded?

With hooks. At session start it adds the note plus the branch, uncommitted files and recent commits. Before compaction it tells the summary what to keep, and afterwards it archives each summary.

Does anything leave my machine?

No. It's plain Python 3 standard library and Markdown. git is optional.

Will it break the hooks I already have?

No. The installer has --dry-run and --uninstall, and it leaves your own hooks alone.

Can I trust the note?

Claude writes it, so read it before you rely on it. /pickup checks it against the repository as it is now and reports what changed.

Session Handoff Kit for Claude Code

Never re-explain your project: /handoff saves it, the next session loads it