Skip to content
Development
Command

/handoff

Create a handoff file for another session to pick up

From plugin
13219 skills19 commands9 hooks
shell
$ npx -y skills add HelloRuru/claude-memory-engine --agent claude-code

Ships 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.md
description: "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
Read it on GitHub ↗
Ships withclaude-memory-engine

Claude Code 的記憶系統 | A memory system built with hooks + markdown. Zero dependencies.

Get the whole plugin, auto-invoked
Stats
132
Stars
0
Views
27
Forks
Maintained
Maintenance
JavaScript
Language
MIT
License
2mo ago
Last commit
4mo ago
Created

Repo: HelloRuru/claude-memory-engine