auto-handoff
by Ishan Dubey · ★ 0 · updated yesterday
Hands the conversation off once the context passes a threshold (40% of windows over 200k tokens, 50% of smaller ones): a dedicated turn writes the handoff and the durable knowledge it names into an OKF bundle at .auto-handoff/, then the context is cleared and the work continues from the handoff
Install
/plugin marketplace add theishandubey/claude-mods/plugin install auto-handoff@claude-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.runturn.startturn.completeturn.stepprompt.contexttool.calltool.checksession.end- API calls
$.clock.now$.command.register$.command.run$.fs.exists$.fs.list$.fs.read$.fs.stat$.fs.write$.prompt.submit$.session.append$.session.cwd$.session.id$.session.model$.session.repo$.session.root$.session.surfaces$.session.usage$.ui.log- Can see
the system promptRead callsWrite callsEdit callsBash calls- Reach
- level 2 of 3 writes filesdrives Claudereads filesdraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/theishandubey/claude-mods
- Path in repo
plugins/auto-handoff- Source commit
571a4fbthe exact code the scan read- Author
- Ishan Dubey @theishandubey
- License
- No license declared — ask the author before reusing code.
- 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.