Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By DoctorMozgv0.57.0MITIn 1 marketplace
Hands a long, repeatedly compacted session over to a fresh one: writes a handoff file from the transcript and git, and loads it after /clear
Claude loads one when your task matches it, or you run it by name.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.

mz-handoff)Session handoff for Claude Code. Each compaction summarizes the previous summary, so a long session drifts. After a few compactions, mz-handoff has Claude write down where the work stands, built from the transcript and git rather than from what the context still remembers. Then you type /clear, and the fresh session picks the file up. One skill ships with it: /mz-handoff:handoff.
claude plugin marketplace add DoctorMozg/claude-pipelines
claude plugin install mz-handoff
| Hook | Event | What it does |
|---|---|---|
| Handoff session | SessionStart (startup/clear/compact) | Flags each compaction, loads this terminal's handoff after /clear, and lists open handoffs on startup |
| Handoff stop | Stop | After MZ_HANDOFF_AFTER compactions (default 3), keeps Claude going once to write a handoff |
The flow:
compact_boundary lines in the main transcript. Subagent compactions don't count, and the count starts over after /clear.MZ_HANDOFF_AFTER compactions the Stop hook blocks the stop once, and Claude runs /mz-handoff:handoff. Each later compaction gets a one-line reminder instead..mz/handoff/<YYYY_MM_DD_HHMM>_<first 8 chars of session id>.md from facts that handoff-facts.sh reads out of the transcript and git. Where the facts and the model's memory of the session disagree, the facts win./clear. Nothing can clear a session for you./clear, SessionStart picks the handoff whose claude_pid matches the same claude process, so parallel terminals stay apart. It injects a short pointer of at most 2000 characters (goal, first next steps, commit), not the whole file. With no match it lists up to three open handoffs. A fresh start also lists them and loads none on its own./mz-handoff:handoff resume reads the whole file, checks git log <head>..HEAD, reads the user messages sent after the handoff, runs the "Verify on resume" commands, then marks the file status: claimed <session id> so no later session loads it again.You can also run /mz-handoff:handoff by hand at any time.
A handoff has YAML frontmatter (session, claude_pid, transcript, branch, head, status) and these sections, in at most 150 lines:
For a running pipeline, the handoff points at the task's .mz/task/<task_name>/state.md and doesn't copy it.
| Variable | Meaning |
|---|---|
MZ_HANDOFF_AFTER | Compactions before the handoff nudge (default 3). 0 turns off the automatic nudge only. Manual runs and pickup still work |
MZ_MEMORY_ROOT | Override project-root detection (absolute path) |
The project root is the nearest .git above CLAUDE_PROJECT_DIR, the same .mz/ root mz-memory uses. A MZ_HANDOFF_AFTER value that isn't a whole number logs a warning and falls back to 3. Set it in the env block of settings.json:
{ "env": { "MZ_HANDOFF_AFTER": "5" } }
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub doctormozg/claude-pipelines --plugin mz-handoffPlugins from other owners that cover similar ground