What is handoff-on-clear?
handoff-on-clear is a Claude Code mod by ipartington that saves a handoff when you /clear or exit, and offers it back on your next prompt. It is listed under Context & memory and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | ipartington |
| Repository | ipartington/claude-mods |
| Popularity | no public popularity data yet |
| Category | Context & memory |
| Security | Review before installing (72/100) |
| Rank | #3,455 of 5,272 Claude Code mods; #323 in Context & memory |
| License | MIT |
| Last commit | 2026-10-11 |
| Hooks | 5 events |
| Sees | every prompt |
| Draws on | AbovePrompt |
Is handoff-on-clear safe to install?
handoff-on-clear scores 72/100 on the MCPMods security check: Review before installing. Things to review: starts processes outside the sandbox; watches every prompt or event. It passed 5 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts processes outside the sandbox | Review |
| Writes no files or config | Pass |
| Doesn't read environment variables | Pass |
| Watches every prompt or event | Review |
| Drives Claude (model calls, prompts) | Note |
| Passes claude plugin validate | Pass |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.now | |
$.command.register | |
$.model.fork | drives Claude |
$.process.run | runs processes |
$.session.cwd | |
$.session.messages | reads the transcript |
$.state.get | |
$.state.set | |
$.store.delete | keeps its own state |
$.store.get | keeps its own state |
$.store.set | keeps its own state |
$.ui.resolve | draws interface |
$.ui.toast | draws interface |
How do I install handoff-on-clear?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/ipartington/claude-mods claude plugin validate ./claude-mods/handoff-on-clear
- Install it. Run this in your terminal, then /reload-plugins in an open session.
git clone https://github.com/ipartington/claude-mods && claude --plugin-dir ./claude-mods/handoff-on-clear
Or ask Claude to set it up
Paste this into Claude Code and it installs handoff-on-clear for you:
Install the "handoff-on-clear" Claude Code mod from https://github.com/ipartington/claude-mods/tree/main/handoff-on-clear. Run claude plugin validate on it first and show me what it can access before you enable it.
More from ipartington/claude-mods
This repository has 6 Claude Code mods on MCPMods.
- bg-task-band: A band above the prompt showing running background tasks, their elapsed time and last output line (Review before installing)
- command-guard: Refuses shell commands a project's .claude/command-guards.json rules out, for the main loop and every subagent (Low risk)
- merge-followthrough: Watches your PRs, and when one merges it pulls main and deletes the branch, then tells Claude (Review before installing)
- review-ledger: Keeps review findings (H1, M3, L2...) per repo across sessions and ticks them off when their PR merges (Review before installing)
- tts-lite: Speaks a one-line summary of each reply without starting a headless claude session (Review before installing)