context-handoff-cli
by ulttla · ★ 0 · updated 7 days ago
For the terminal: past a context threshold, records a hand-off, then starts a fresh session in the same terminal with /clear and continues the work from the notes
Install
/plugin marketplace add gunkr-com/claude-mod-repo/plugin install context-handoff-cli@claude-mod-repoThen 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.submitskill.promptturn.startturn.completesession.endclassic.SessionStartcommand.run- API calls
$.clock.after$.command.list$.command.register$.command.run$.fs.exists$.prompt.submit$.session.compact$.session.root$.session.usage$.ui.log$.ui.toast- Can see
every promptevery skillclassic hooks- Reach
- level 2 of 3 drives 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/gunkr-com/claude-mod-repo
- Path in repo
context-handoff-cli- Source commit
8cbba2athe exact code the scan read- Author
- ulttla @gunkr-com
- 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 gunkr-com/claude-mod-repo
auto-pin
gunkr-com/claude-mod-repo
Pins a new session in the desktop app's sidebar as it starts
context-handoff
gunkr-com/claude-mod-repo
Past a context threshold, records a hand-off and continues the work from the notes: in a new desktop-app session by default, or in this one after a compaction or the app's clear
context-meter
gunkr-com/claude-mod-repo
Shows the git branch, context window usage, what the last turn added, and plan limit usage above the prompt
session-end-unpin
gunkr-com/claude-mod-repo
Unpins the session from the desktop app's sidebar once you ask to end it and Claude finds nothing left: the end-of-session steps done, no question, decision or follow-up waiting