auto-handoff
by Amel-DZRV · ★ 0 · updated yesterday
0
Shows a context bar with a red handoff mark, the prompt-cache countdown and per-request tokens. When context passes a threshold it writes a handoff summary, clears the session and loads the summary into the fresh one. /keepwarm pings the prompt cache while you are away (pings spend tokens).
Install
/plugin marketplace add Amel-DZRV/claude-code-auto-handoff/plugin install auto-handoff@amel-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.startturn.steptool.callsession.compactclassic.SessionStartprompt.submitturn.completeprompt.contextcommand.runui.render- API calls
$.agent.list$.clock.after$.clock.every$.clock.now$.command.register$.command.run$.env.get$.fs.list$.fs.read$.fs.write$.model.complete$.model.fork$.prompt.submit$.session.append$.session.id$.session.messages$.session.root$.session.usage$.state.get$.state.set$.store.delete$.store.get$.store.set$.ui.log$.ui.resolve$.ui.toast- Draws
AbovePrompt- Can see
every tool callcompactionclassic hooksevery promptthe system prompt- Reach
- level 2 of 3 other: $.state.getother: $.state.setwrites filesdrives Claudereads filesreads env varsreads the transcriptpersists 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/Amel-DZRV/claude-code-auto-handoff
- Path in repo
- repository root
- Source commit
48d4516the exact code the scan read- Author
- @Amel-DZRV
- 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.