ctx-handoff
by cablate · ★ 30 · updated 2 days ago
0
Auto handoff + /clear at a context threshold; keep the prompt cache warm while idle, then save an away handoff
Install
git clone https://github.com/cablate/ctx-handoff-modclaude --plugin-dir ./ctx-handoff-modThen 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.startprompt.contextturn.completeclassic.Stopprompt.submittool.callcommand.run- API calls
$.agent.list$.clock.after$.clock.now$.command.register$.command.run$.env.get$.fs.exists$.fs.list$.fs.read$.fs.write$.model.fork$.prompt.submit$.session.cwd$.session.id$.session.root$.session.turns$.session.usage$.store.delete$.store.get$.store.keys$.store.set$.ui.log$.ui.status$.ui.toast- Can see
the system promptclassic hooksevery promptevery tool call- Reach
- level 2 of 3 writes filesdrives Claudereads filesreads env varspersists statedraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/cablate/ctx-handoff-mod
- Path in repo
- repository root
- Author
- @cablate
- 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.