handoff-on-clear

by Iain Partington · ★ 0 · updated 2 days ago

BandsCommandsPromptvalidates

0

Saves a handoff when you /clear or exit, and offers it back on your next prompt

install handoff-on-clear

Install

git clone https://github.com/ipartington/claude-mods
claude --plugin-dir ./claude-mods/handoff-on-clear

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.endcommand.runprompt.submitui.render
API calls
$.clock.now$.command.register$.model.fork$.process.run$.session.cwd$.session.messages$.state.get$.state.set$.store.delete$.store.get$.store.set$.ui.resolve$.ui.toast
Draws
AbovePrompt
Can see
every prompt
Reach
level 2 of 3 other: $.state.getother: $.state.setruns processesdrives Claudereads 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/ipartington/claude-mods
Path in repo
handoff-on-clear
Source commit
2075f3b the exact code the scan read
Author
Iain Partington @ipartington
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 ipartington/claude-mods

bg-task-band

ipartington/claude-mods

A band above the prompt showing running background tasks, their elapsed time and last output line

★ 0BandsGuardsPrompt

merge-followthrough

ipartington/claude-mods

Watches your PRs, and when one merges it pulls main and deletes the branch, then tells Claude

★ 0BandsCommandsPrompt

review-ledger

ipartington/claude-mods

Keeps review findings (H1, M3, L2...) per repo across sessions and ticks them off when their PR merges

★ 0PanesGuardsCommands

tts-lite

ipartington/claude-mods

Speaks a one-line summary of each reply without starting a headless claude session

★ 0Status line