session-handoff-button

by gclbck · ★ 2 · updated 4 days ago

BandsPromptvalidates

0

A Session Hand-off button above the prompt, colored by context usage; reads Context clean and cannot be pressed while green. From orange on, one press writes the handoff, saves it to a temp .md, clears the session and continues in the fresh one with a short message while the handoff goes in as hidden context. Past 65% it stops your next prompt once and recommends the button.

install session-handoff-button

Install

/plugin marketplace add gclbck-crealore/session-handoff-button-mod
/plugin install session-handoff-button@session-handoff-button-mod

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

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.measureprompt.submitturn.startturn.completeui.render
API calls
$.clock.after$.clock.now$.command.list$.command.run$.env.get$.fs.write$.prompt.fill$.prompt.read$.prompt.submit$.session.append$.session.usage$.state.get$.state.set$.ui.resolve$.ui.toast
Draws
AbovePrompt
Can see
every prompt
Reach
level 2 of 3 writes filesdrives Claudewrites the prompt boxreads env varsreads the prompt boxreads 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/gclbck-crealore/session-handoff-button-mod
Path in repo
session-handoff-button
Source commit
16c10ab the exact code the scan read
Author
gclbck @gclbck-crealore
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.