Who it is forA developer who stops mid-task and wants a teammate or a fresh chat to pick up the work without a long recap.
The problemWork in progress lives in one chat, so the next person or session has to rebuild the context by hand.
The outcomeA short note saved through /handoff that the next chat or teammate can read at the start of their session.
What you need first
- Node 22.16 or newer
- A git repository for your project
- Claude Code installed and able to run hooks
- Optional: a Postgres or MongoDB database if you want to share memory across machines
Steps
npm install -g claude-dbcd your-projectclaude-db install --project- Restart Claude Code.
- At the end of your session, run
/handoffand write a short note on what is done and what is next.
Prompt for your agent
In the repo <repo-path>, run /handoff in Claude Code at the end of the session and then start a new chat in the same project. Expected output is a short summary of the open work in the new chat. Verify that it names the same open task you wrote in the handoff.
Caveat. The note reaches a teammate only if they use the same Claude DB database, so a local SQLite store does not share it by default.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for Avijit07x/claude-db and "Leave a short handoff note for the next chat"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer