context-handoff
by Vibe-Commit · ★ 0 · updated 2 days ago
0
In the 60-70% context band, Claude writes a handoff, the handoff is rewound away, the session compacts, and Claude resumes from the file.
Install
/plugin marketplace add Vibe-Commit/claude-context-mods/plugin install context-handoff@claude-context-modsThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
What it hooks into
From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.
- Events
session.startcommand.runtool.callprompt.submitturn.completesession.compact- API calls
$.clock.after$.command.register$.env.get$.fs.stat$.fs.write$.process.run$.prompt.submit$.session.compact$.session.id$.session.usage$.state.get$.state.set$.tool.register$.ui.log$.ui.status$.ui.toast- Can see
mcp__context-handoff__Handoff callsevery tool callevery promptcompaction- Reach
- level 2 of 3 other: $.state.getother: $.state.setruns processeswrites filesdrives Claudereads filesreads env varsdraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/Vibe-Commit/claude-context-mods
- Path in repo
plugins/context-handoff- Source commit
3d6a4e9the exact code the scan read- Author
- @Vibe-Commit
- License
- MIT
- First published
- Last pushed
- First listed here
Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.