Pick up where you left off in Claude Code

A session log and a handoff note, so a new session starts at your next step when you type continue.

Before you close
/handoffClaude writes one short note.
SESSION_LOG.mdHandoff note, at the top
  • DecidedChoices settled, and why
  • ChangedWhat, and in which file
  • Still openWhat nobody finished
  • Next stepOne 5-minute action
Older entries stay below
Three weeks later
A new session starts blank. You type:continueClaude tells you the next step
  1. Before you close a session, type /handoff. Claude writes one short note.
  2. The note goes at the top of SESSION_LOG.md and has four parts. Decided: choices settled, and why. Changed: what, and in which file. Still open: what nobody finished. Next step: one 5-minute action. Older entries stay below.
  3. Three weeks later, a new session starts blank. You type continue, and Claude reads the note and tells you the next step.
15 minLight terminal

You need

  • Claude Code
  • A project folder
  • The handoff skill ZIP, or just the pasted lines

You close a project. Three weeks later nobody remembers what was decided, what changed, or what to do first. Claude does not remember either, because every new Claude Code session starts blank.

The fix is a simple system. Every project keeps one file, the session log. Before you close a session, Claude writes a short handoff note at the top of it. Next time you open the project, you say "continue" and Claude starts from your next step.

01 / 05

Step 1: keep a session log

The session log is a plain text file called SESSION_LOG.md at the root of your project. Claude Code reads your project's CLAUDE.md file at the start of every session, so one block in that file is enough to make Claude keep the log and read it first.

Paste this block into your project's CLAUDE.md (create the file if you do not have one). For every project, paste it into your personal file instead: ~/.claude/CLAUDE.md (the .claude folder inside your home folder).

Lines to add
CLAUDE.md
## Session log
Keep SESSION_LOG.md at the project root. Before we stop, add a handoff note at the top: what was decided, what changed, what is still open, and the next step. At the start of every session, read SESSION_LOG.md first and tell me the next step.

If you only want the smallest change, this is the short version:

The one-line version
CLAUDE.md
Keep SESSION_LOG.md. Update it before we stop. Read it first when we start.

02 / 05

Step 2: write the note before you close

The handoff note has four parts:

  1. Decided. Choices that are settled, with the reason in a few words.

  2. Changed. What changed, and in which file.

  3. Still open. Questions or tasks nobody has finished.

  4. Next step. One action you can start in five minutes.

That is how the note records the decisions of the session, what happened, and the calls that were taken.

With the skill: type /handoff before you close. The skill writes the note at the top of SESSION_LOG.md and replaces the old one, so only one note sits at the top. Older log entries stay below it.

Download the ZIP for the skill, the CLAUDE.md lines and an optional start-up script. To install the skill, copy the handoff folder (the one holding SKILL.md) into your Claude skills folder: .claude/skills/ in your home folder for every project, or .claude/skills/ inside one project. Restart Claude Code and type /handoff to check it appears. The ZIP's README has the full steps.

Without the skill: paste this as your last message before you close a session.

Handoff note, no skill needed
Before I close: add a handoff note at the very top of SESSION_LOG.md in this project folder (create the file if it does not exist). Use exactly four parts: Decided, Changed, Still open, Next step. Make every line make sense to someone who has not seen this chat. The next step is one action I can start in five minutes. Write "none" under an empty part. No passwords or keys. Keep it under 25 lines, show me the note, and stop.
427 characters

Read the note before you close. Fix anything wrong by telling Claude what to change.

03 / 05

Step 3: come back and say "continue"

  1. Open Claude Code in the same project folder.

  2. Type continue, or read the session log and continue.

  3. Claude reads the note and tells you the next step.

This works because of the block you pasted in step 1. Without it, Claude does not know to look for the log. No block? Type: "Read the handoff note at the top of SESSION_LOG.md and tell me the next step."

04 / 05

Test it safely

  1. Try it on a small practice project first.

  2. Make one decision and one change, leave one thing open, then run /handoff.

  3. Check SESSION_LOG.md: the note is at the top, has all four parts, and the open item is still marked open.

  4. Close, reopen the folder in a new session, and type continue. Claude should name your next step.

Where was this tested? The author ran it on a dummy project: the skill wrote the four-part note, a new session started at the next step, and a second handoff replaced the first. The optional start-up script was tested by hand. It was not confirmed inside a live new Claude Code session, so treat that part as unverified.

Common mistakes

  1. Closing first and writing second. Write the note before you close.

  2. Vague next steps. "Finish the site" is not a step. "Open booking.html and add the opening-hours field" is.

  3. Decisions made outside Claude Code. Tell Claude before you run /handoff, or they are missing from the note.

  4. Secrets in the log. Keep passwords and keys out. The skill is told not to include them, but read the note before you close.

  5. Sharing the folder without thinking. SESSION_LOG.md is a normal text file in your project, so anyone who gets the folder gets the note.

Do I need the skill?

No. The CLAUDE.md lines and the pre-close prompt do the same job. The skill makes the note the same four parts, in the same place, every time.

Where does the note go?

At the top of SESSION_LOG.md. Older entries stay below it.

Why does Claude start blank each time?

Each Claude Code session begins with a fresh context window. The log is how you carry things across.

What if I forget to run it?

There is no note for that session, so write one by hand. Next time, run /handoff at a natural stopping point.

Finish line

What to do next

  1. Paste the CLAUDE.md block into one project.

  2. Run /handoff or the pre-close prompt at the end of today's session.

  3. Tomorrow, open the project and type continue.

Back to all the free guides. Two that pair well with this one: build your first Claude skill and teach Claude your business.

You reached the end of the guide