context-handoff

by Vibe-Commit · ★ 0 · updated 2 days ago

Status lineGuardsCommandsPromptTools & agentsvalidates

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 context-handoff

Install

/plugin marketplace add Vibe-Commit/claude-context-mods
/plugin install context-handoff@claude-context-mods

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

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
3d6a4e9 the 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.

More from Vibe-Commit/claude-context-mods

context-meter

Vibe-Commit/claude-context-mods

Shows context-window usage in the prompt footer

★ 0Reskins