/handoff
Create a handoff file for another session to pick up
$ npx -y skills add HelloRuru/claude-memory-engine --agent claude-codeShips with claude-memory-engine. Installing the plugin gets this command.
How it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/handoff
Context preview
What this command does when you run it.
Create a handoff file for another session to pick up
Command definition
handoff.mddescription: "Create a handoff file for another session to pick up"
Session Handoff
Generate a handoff file so another Claude Code session can continue where this one left off.
Steps
1. **Analyze current session** — What are you working on right now? What files have been modified? What decisions were made?
2. **Write handoff file** — Save to the project's memory directory as `handoff-{topic}.md` with this format:
---
name: handoff-{topic}
description: {one-line summary of what needs to be handed off}
type: project
---
# {Title} Handoff
**Status:** {what's done / what's pending}
**Date:** {today}
## What was done
{bullet list of completed work}
## What's left to do
- [ ] {pending task 1}
- [ ] {pending task 2}
## Key decisions
{any decisions the next session needs to know about}
## Files modified
{list of files changed in this session}3. **Confirm** — Tell the user the handoff file has been saved and will be automatically detected by the next session.
How it works
- **SessionStart hook** automatically reads all unread `handoff-*.md` files when a new conversation starts
- **memory-sync hook** detects new handoff files appearing mid-conversation and alerts immediately
- Handoff files are tracked in `.handoff-read.json` so they're only shown once
Claude Code 的記憶系統 | A memory system built with hooks + markdown. Zero dependencies.
Repo: HelloRuru/claude-memory-engine
Other commands on claude-memory-engine.
- /analyze
Analyze user corrections and log them into the error notebook
Open command - /backup
Push local memory files to your GitHub backup repository.
Open command - /bb-pause
Pause the SessionEnd auto-commit hook when refactoring core engine files.
Open command - /check
Run a quick scan of the memory system's health. For daily use.
Open command - /compact-guide
Help decide when to use `/compact` based on the current conversation state.
Open command - /correct
Review the error notebook — flip through past corrections before working
Open command

