What is context-handoff?
context-handoff is a Claude Code mod by Vibe-Commit that in the 60-70% context band, Claude writes a handoff, the handoff is rewound away, the session compacts, and Claude resumes from the file. It is listed under Context & memory and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | Vibe-Commit |
| Repository | Vibe-Commit/claude-context-mods |
| Popularity | no public popularity data yet |
| Category | Context & memory |
| Security | High risk (48/100) |
| Rank | #5,000 of 5,272 Claude Code mods; #463 in Context & memory |
| License | MIT |
| Last commit | 2026-10-14 |
| Hooks | 9 events |
| Sees | compaction, every prompt, every tool call, mcp__context-handoff__Handoff calls |
| Draws on | nothing |
Is context-handoff safe to install?
context-handoff scores 48/100 on the MCPMods security check: High risk. Things to review: starts processes outside the sandbox; writes files or config; reads environment variables; watches every prompt or event. It passed 3 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 processes outside the sandbox | Review |
| Writes files or config | Review |
| Reads environment variables | Review |
| 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 | |
$.clock.now | |
$.command.register | |
$.command.run | drives Claude |
$.env.get | reads env vars |
$.fs.stat | reads files |
$.fs.write | writes files |
$.process.run | runs processes |
$.prompt.submit | drives Claude |
$.session.append | |
$.session.id | |
$.session.usage | |
$.state.get | |
$.state.set | |
$.tool.register | drives Claude |
$.ui.log | draws interface |
$.ui.status | draws interface |
$.ui.toast | draws interface |
How do I install context-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/Vibe-Commit/claude-context-mods claude plugin validate ./claude-context-mods/plugins/context-handoff
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add Vibe-Commit/claude-context-mods && claude plugin install context-handoff@claude-context-mods
Or ask Claude to set it up
Paste this into Claude Code and it installs context-handoff for you:
Install the "context-handoff" Claude Code mod from https://github.com/Vibe-Commit/claude-context-mods/tree/main/plugins/context-handoff. Run claude plugin validate on it first and show me what it can access before you enable it.
More from Vibe-Commit/claude-context-mods
This repository has 3 Claude Code mods on MCPMods.
- context-meter: Shows context-window usage and five-hour and weekly limit usage in the prompt footer (Low risk)
- prompt-timestamp: Prefixes every prompt you type with the local date and time, visible to you and Claude. (Low risk)