What is context-handoff?
context-handoff is a Claude Code mod by levy-n that when the context grows heavy, offers to continue from the same point in a fresh window: the model writes a full handoff to .context/HANDOFF.md, the window clears, and the new conversation. It is listed under Context & memory and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | levy-n |
| Repository | levy-n/claude-code-mods |
| Popularity | no public popularity data yet |
| Category | Context & memory |
| Security | High risk (56/100) |
| Rank | #7,039 of 9,397 Claude Code mods; #621 in Context & memory |
| Last commit | 2026-10-16 |
| Hooks | 13 events |
| Sees | classic hooks, compaction, every prompt, the system prompt |
| Draws on | AbovePrompt |
Is context-handoff safe to install?
context-handoff scores 56/100 on the MCPMods security check: High risk. Things to review: 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 no processes | Pass |
| 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 |
| No license detected | Note |
API calls in its code
| Call | What it means |
|---|---|
$.agent.list | |
$.clock.after | |
$.clock.now | |
$.clock.sleep | |
$.command.list | |
$.command.register | |
$.command.run | drives Claude |
$.env.get | reads env vars |
$.fs.exists | reads files |
$.fs.read | reads files |
$.fs.stat | reads files |
$.fs.write | writes files |
$.model.fork | drives Claude |
$.prompt.submit | drives Claude |
$.session.cwd | |
$.session.id | |
$.session.messages | reads the transcript |
$.session.repo | |
$.session.root | |
$.session.surfaces | |
$.session.turns | |
$.session.usage | |
$.settings.read | reads settings |
$.store.delete | keeps its own state |
$.store.get | keeps its own state |
$.store.keys | keeps its own state |
$.store.set | keeps its own state |
$.ui.invalidate | draws interface |
$.ui.log | draws interface |
$.ui.resolve | 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/levy-n/claude-code-mods claude plugin validate ./claude-code-mods/context-handoff
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add levy-n/claude-code-mods && claude plugin install context-handoff@levy-n-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/levy-n/claude-code-mods/tree/main/context-handoff. Run claude plugin validate on it first and show me what it can access before you enable it.
More from levy-n/claude-code-mods
This repository has 2 Claude Code mods on MCPMods.
- token-weather: A live forecast of the context window, drawn above the prompt: a weather icon, the fill percentage, and a chart of the l (Low risk)