What is compact-handoff?
compact-handoff is a Claude Code mod by REMvisual that eXPERIMENTAL: run /handoff or /handoffplan, then replace the conversation with the handoff and continue in the same terminal. Needs compact-handoff-answer. Tested on Claude Code 2.1.300. It is listed under Context & memory and has 76 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | REMvisual |
| Repository | REMvisual/claude-handoff |
| Popularity | 76 GitHub stars |
| Category | Context & memory |
| Security | Low risk (84/100) |
| Rank | #323 of 9,397 Claude Code mods; #31 in Context & memory |
| License | MIT |
| Last commit | 2026-11-11 |
| Hooks | 9 events |
| Sees | Edit calls, Read calls, Skill calls, Write calls, compaction, every prompt, every skill |
| Draws on | Spinner, AbovePrompt |
Is compact-handoff safe to install?
compact-handoff scores 84/100 on the MCPMods security check: Low risk. Things to review: watches every prompt or event. It passed 6 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts no processes | Pass |
| Writes no files or config | Pass |
| Doesn't read environment variables | Pass |
| Watches every prompt or event | Review |
| Drives Claude (model calls, prompts) | Note |
| Passes claude plugin validate | Pass |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.after | |
$.command.register | |
$.command.run | drives Claude |
$.fs.read | reads files |
$.prompt.submit | drives Claude |
$.session.compact | drives Claude |
$.session.cwd | |
$.session.usage | |
$.state.get | |
$.state.set | |
$.ui.resolve | draws interface |
$.ui.toast | draws interface |
How do I install compact-handoff?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/REMvisual/claude-handoff claude plugin validate ./claude-handoff/mods/compact-handoff
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add REMvisual/claude-handoff && claude plugin install compact-handoff@claude-handoff
Or ask Claude to set it up
Paste this into Claude Code and it installs compact-handoff for you:
Install the "compact-handoff" Claude Code mod from https://github.com/REMvisual/claude-handoff/tree/master/mods/compact-handoff. Run claude plugin validate on it first and show me what it can access before you enable it.
More from REMvisual/claude-handoff
This repository has 2 Claude Code mods on MCPMods.
- compact-handoff-answer: EXPERIMENTAL companion of compact-handoff: supplies the replacement message for the compactions compact-handoff starts ( (Low risk)