Home / Claude Code mods / Context & memory / handoff-on-clear

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.

Updated 2026-10-11

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.

TypeClaude code mod
Authoripartington
Repositoryipartington/claude-mods
Popularityno public popularity data yet
CategoryContext & memory
SecurityReview before installing (72/100)
Rank#3,455 of 5,272 Claude Code mods; #323 in Context & memory
LicenseMIT
Last commit2026-10-11
Hooks5 events
Seesevery prompt
Draws onAbovePrompt

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.

CheckResult
No network accessPass
Starts processes outside the sandboxReview
Writes no files or configPass
Doesn't read environment variablesPass
Watches every prompt or eventReview
Drives Claude (model calls, prompts)Note
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.now
$.command.register
$.model.forkdrives Claude
$.process.runruns processes
$.session.cwd
$.session.messagesreads the transcript
$.state.get
$.state.set
$.store.deletekeeps its own state
$.store.getkeeps its own state
$.store.setkeeps its own state
$.ui.resolvedraws interface
$.ui.toastdraws interface

How do I install handoff-on-clear?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. 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
  3. 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)