Home / Claude Code mods / Context & memory / context-handoff

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.

Updated 2026-10-16

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.

TypeClaude code mod
Authorlevy-n
Repositorylevy-n/claude-code-mods
Popularityno public popularity data yet
CategoryContext & memory
SecurityHigh risk (56/100)
Rank#7,039 of 9,397 Claude Code mods; #621 in Context & memory
Last commit2026-10-16
Hooks13 events
Seesclassic hooks, compaction, every prompt, the system prompt
Draws onAbovePrompt

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.

CheckResult
No network accessPass
Starts no processesPass
Writes files or configReview
Reads environment variablesReview
Watches every prompt or eventReview
Drives Claude (model calls, prompts)Note
Passes claude plugin validatePass
No license detectedNote

API calls in its code

CallWhat it means
$.agent.list
$.clock.after
$.clock.now
$.clock.sleep
$.command.list
$.command.register
$.command.rundrives Claude
$.env.getreads env vars
$.fs.existsreads files
$.fs.readreads files
$.fs.statreads files
$.fs.writewrites files
$.model.forkdrives Claude
$.prompt.submitdrives Claude
$.session.cwd
$.session.id
$.session.messagesreads the transcript
$.session.repo
$.session.root
$.session.surfaces
$.session.turns
$.session.usage
$.settings.readreads settings
$.store.deletekeeps its own state
$.store.getkeeps its own state
$.store.keyskeeps its own state
$.store.setkeeps its own state
$.ui.invalidatedraws interface
$.ui.logdraws interface
$.ui.resolvedraws interface

How do I install context-handoff?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. 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
  3. 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)