Claude Code mod
context-handoff
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 picks up from it. /handoff does it on demand.
Install
/plugin marketplace add levy-n/claude-code-mods
/plugin install context-handoff@levy-n-modsMods install like plugins. Run /reload-plugins or start a new session to load it.
What it can access
- Reach
- Unknown
- Sees
- classic hooks, every prompt, the system prompt, compaction
- Draws in
AbovePrompt- Hooks
session.startsession.attachsession.measureturn.startturn.completeclassic.Stopprompt.submitprompt.contextsession.endsession.compactclassic.DirectoryAddedcommand.runui.render
From a static scan of the mod's code by awesome-claude-code-mods. It shows what the code asks for, not a security review.
How Claude Code mods work
- A mod is a plugin with a JavaScript or TypeScript module that runs inside Claude Code (version 2.1.287 or later). It can draw panes beside the transcript, a band above the prompt, buttons and toasts, restyle the spinner and tool rows, and watch or rewrite tool calls and prompts.
- It installs like any plugin: add its marketplace with /plugin marketplace add owner/repo, then /plugin install name@marketplace.
- Check what a mod can reach before installing: it runs with your permissions. Reach goes from drawing only, to reading files, to writing files or running processes, to the network. Run claude plugin validate on a clone to list its hooks and calls without running it.
- Turn one off from the Installed tab in /plugin, or start Claude Code with --safe-mode to skip every customization for a session.
Details
- Repository
- levy-n/claude-code-mods
- Folder
context-handoff- Marketplace
levy-n-mods- Author
- Nati Levy
- License
- NOASSERTION
- Last updated
- 16 October 2026
- Listed in
- awesome-claude-code-mods
FAQ
What is context-handoff?
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 picks up from it. /handoff does it on demand. It is a mod for Claude Code, from levy-n/claude-code-mods on GitHub.
What can the context-handoff mod access?
Its reach could not be worked out from its code. It sees classic hooks, every prompt, the system prompt, compaction. It draws in AbovePrompt. Like any mod, it runs with your permissions.
How do I install context-handoff?
Inside Claude Code (v2.1.287 or later), run /plugin marketplace add levy-n/claude-code-mods and then /plugin install context-handoff@levy-n-mods.
More context & usage mods
context-handoff
Gat0rRex/claude-mods
Tells the model when the context passes 250k tokens (heads-up) and 300k (hand off), so it finishes the task it's on and then hands off to a fresh session instead of starting another.
context-hud
MiCat-S/context-hud
One-line usage HUD above the prompt: 5-hour session, weekly, per-model (Fable) windows and the prompt cache, each a ring beside a short line of text.
context-guard-bot
ryannorman-6494/context-guard-bot
A permanent, slim context-usage bar above the prompt with a chomping Pac-Man and a 10px bar; green under 20%, amber 20-30%, red past 30%, munching faster each zone, with an Xplorer-themed line per tier
context-lab
EsenssiAromasDev/context-lab
Context architecture profiler for Claude Code: what context Claude receives, where it comes from, and whether it earns its cost.
context-guard
Wvduijn/wd-claude-mods
Live context meter above the prompt; asks Yes/No to save a handoff and clear when the window fills, and feeds that handoff into the next session
context-line
Haoyu-UT/claude-mods
One-line summary of the context window under the prompt: usage, window size and the top 5 categories.
Browse the most popular Claude Code mods, all context & usage mods, or the skills and MCP server directories.