context-handoff
by Andy Deighton · ★ 0 · updated 9 days ago
Warns above the prompt when context gets long and offers a fresh session seeded with a hand-off
Install
/plugin marketplace add andyxr/claude-mods/plugin install context-handoff@andy-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.startsession.measurecommand.runui.render- API calls
$.clock.now$.command.register$.command.run$.env.get$.fs.write$.model.fork$.prompt.submit$.session.root$.session.usage$.state.get$.state.set$.ui.resolve$.ui.toast- Draws
AbovePrompt- Reach
- level 2 of 3 writes filesdrives Claudereads env varsreads mod 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/andyxr/claude-mods
- Path in repo
plugins/context-handoff- Source commit
f2283a4the exact code the scan read- Author
- Andy Deighton @andyxr
- 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 andyxr/claude-mods
branch-live
andyxr/claude-mods
Live, bottom-up git graph of the current branch and commit in a side pane
context-gauge
andyxr/claude-mods
Status line gauge: context tokens left and tokens until autocompact, plus session timer above the prompt
invaders
andyxr/claude-mods
/invade opens a game of Space Invaders in a side pane; closing the pane ends the game
lemmings
andyxr/claude-mods
/lemmings opens a side pane where lemmings queue on a cliff, leap off as context is used, and their bodies pile up as the context window fills
snake
andyxr/claude-mods
/snake opens a game of Snake in a side pane; closing the pane ends the game