
Claude Code Session Handoff Note - Free
Free Claude Code skill: type /session-handoff before a new session or /compact and get a short note of what was decided, what was ruled out and why, which fixes failed, where things stand and the next step. Paste it into the next session, or reply "save" to add it to the top of HANDOFF.md. Includes a copy-paste prompt (tested with Claude) and a template to fill in by hand. It writes only what is in the session; read the note before you rely on it. #Ingénierie #Productivité
Claude Code Session Handoff Note
Before you start a new Claude Code session or run /compact, type /session-handoff. You get a short note of what was decided, what was ruled out and why, which fixes failed, where things stand (checked or not) and the next step. Paste it into the next session, or save it to HANDOFF.md, so the next session does not start from zero.
For people who work in Claude Code across many sessions. Free. A Claude Code skill, a copy-paste prompt for any AI chat, and a template you can fill in by hand.
The part that gets lost
Between sessions, the code stays. What people say goes missing is the reasoning: the option you already rejected, the fix that already failed, and why.
- "It's that it forgets what we already ruled out." (r/ClaudeCode, November 2026)
- "confidently tries the fix you rejected two hours ago" (r/ClaudeCode, November 2026)
- "spend the first few minutes explaining everything again" (r/ClaudeAI, November 2026)
This note writes those things down in the same eight parts every time, so you can hand them to the next session.
From "explain it all again" to "read this first"
Before: A new session or a compacted one starts by asking what you are doing, and suggests the fix you threw out an hour ago.
After: At the end of each session you have one short note. The next session starts with "Read this handoff note first and do not retry anything under Ruled out or Failed fixes unless I ask."
What the note contains
Eight parts, always in this order:
- Goal - what the session was trying to do
- Current state - each item marked
checked(with how) ornot checked - Decisions - each with its reason
- Ruled out - do not suggest again - only options you rejected, each with your reason
- Failed fixes - what was tried and what happened, with the error text as it appeared
- Next step - one action; marked
(suggested)when it is Claude's idea, not yours - Open questions - anything undecided or contradictory, and options that only came up in discussion
- Files touched - only files that appeared in the session
It writes only what is in the conversation, or in a log you paste. Something counts as checked only if the session shows the check, such as a test result. Anything that looks like a key, token or password becomes [REDACTED]. The headings stay in English; the items follow the language you wrote in.
Part of a real output
From one of the made-up test sessions in the download. The user had switched from Postgres to SQLite, and said the rate limiter "works now" while the pasted test output showed a failure:
## Current state
- Rate limiter in app/limits.py - user says "it works now, all good," but pasted test output shows `tests/test_limits.py::test_burst FAILED - AssertionError: assert 429 == 200` (1 failed, 14 passed) (not checked - contradicts user's claim)
## Decisions
- Use SQLite instead of Postgres for now - because the deploy target is a single small VPS; Postgres may be used later (changed from Postgres, which was the earlier choice in this session)
## Next step
- (suggested) Investigate why tests/test_limits.py::test_burst fails with assert 429 == 200 in app/limits.py.
Saving the note
Read the note first. If it is right, reply save. The skill adds it to the top of HANDOFF.md in your project folder and leaves every older note below it unchanged. Typing /session-handoff save in one message does not save; you are asked to read the note and reply save. It does not delete old notes, even if you ask; it tells you to do that by hand.
What it does not do
- It does not make the next session remember anything by itself. You paste the note or ask it to read
HANDOFF.md. - It does not edit CLAUDE.md, settings or code, and does not fix bugs or continue the task in the same reply.
- It is not a memory server, plugin or hook. It writes a note.
- It cannot make the next session follow the note.
What's inside
A ZIP with 11 files:
skills/session-handoff/SKILL.md: the Claude Code skill. Type/session-handoffat the end of a work session.prompts/session-handoff-prompt.txt: the same thing as a copy-paste prompt for ChatGPT, Claude chat, Cursor, Codex or any AI chat.templates/HANDOFF-template.md: the blank note, with how to fill in each part by hand.examples/(5 files): made-up sessions with the note each one produced in testing (a messy pasted log, a changed decision, a session in Japanese, nothing to hand off yet, saving toHANDOFF.md).README.md,LICENSE.md,DISCLAIMER.md.
How to use
- Claude Code: copy the folder
skills/session-handoff/into.claude/skills/in your project (or~/.claude/skills/for all projects). At the end of a session, type/session-handoff. Read the note, then replysaveif you want it inHANDOFF.md. - Any AI chat: open the prompt file, copy everything below the dashed line, and send it at the end of the chat you want to hand off.
- No AI: fill in
templates/HANDOFF-template.md.
How it was tested
- Live runs in Claude Code 2.1.280 on Windows with Claude Sonnet, on made-up sessions of two to five messages: normal debugging, "hi" and the command on its own, a long messy log with a fake key and a hidden order, decisions that changed, a test result that contradicts the user, sessions in Japanese, Spanish and French, requests mixed with other tasks, and saving to new and existing
HANDOFF.mdfiles. The builder ran 368 test runs while fixing problems; an independent tester ran four more rounds (82 runs) with new cases. - Saving. Early versions sometimes said "Saved" without writing the file, or overwrote older notes. Saving was rebuilt as a separate
savereply that adds to the top of the file; after that, no run claimed a save it had not made. Since the last fix, older notes were kept in every run, including runs where the user asked to delete them. - Ruled out. The tester found options the user never rejected (only Claude doubted them, or the user simply chose something else) landing under "do not suggest again". The rule was tightened and retested on the tester's own cases; it still needs your eye, see below.
- Hidden instructions inside a pasted log were not followed in any run.
Limits, stated plainly
- The AI can still miss or misplace something. Read the note before you rely on it, especially Ruled out (the next session will avoid everything there), Decisions and Next step, where Claude's own suggestions sometimes ended up.
- In any language (most often Spanish), a step Claude suggested sometimes lacked the
(suggested)marker. - Sometimes a heading with nothing under it is left out.
- Tested with Claude Sonnet on Windows only, in short made-up sessions. Not tested with other models, on macOS or Linux, or in long real sessions.
- In Claude Code, start with
/session-handoff. A plain "hi" does not run the skill. - Nothing here guarantees less rework or any other outcome.
Who it's for
- Developers and non-programmers who use Claude Code for work that spans several sessions.
- Anyone who runs
/compactor starts fresh sessions and keeps re-explaining the same context.
Not for
- Making Claude follow rules written in CLAUDE.md. That is a different problem (see Next step).
- A memory system that works without you. This is a note you hand over.
Who made it
I build my products with Claude Code. The habits behind this note are my own working rules: keep one ledger as the single source of truth, write one line in the log on the day something ships, and review once more after a test passes. The skill was drafted with AI and tested on made-up sessions.
Next step (paid, optional)
If Claude keeps breaking rules that are already written in your CLAUDE.md, that is a different problem from handing off a session:
- CLAUDE.md Ignored? Diagnose & Fix Kit (Capafy, Claude Code only, https://capafy.ai/agent/claude-md-ignored-diagnose-fix-kit/9072818938): a skill that sorts each rule Claude keeps breaking into a likely cause and proposes a fix, changing nothing until you say yes, plus tested hooks.
Format
A free ZIP download. Use it for your own work, at work or in your own business. Please share the store page, not the files.
AI output and a template. Nothing here guarantees fewer mistakes or less rework.
Independent product. Claude and Claude Code are trademarks of Anthropic. ChatGPT is a trademark of OpenAI. Cursor and Codex are trademarks of their owners.

