auto-handoff

auto-handoff is a Claude Code mod by alexknowshtml that hands a Claude Code session off to a fresh one before the context fills: a Haiku-written brief, /clear, and a seed that points the new session at the brief.

Updated 2026-10-04

What is auto-handoff?

auto-handoff is a Claude Code mod by alexknowshtml that hands a Claude Code session off to a fresh one before the context fills: a Haiku-written brief, /clear, and a seed that points the new session at the brief. It is listed under Context & memory and has 77 GitHub stars.

TypeClaude code mod
Authoralexknowshtml
Repositoryalexknowshtml/claude-auto-handoff
Popularity77 GitHub stars
CategoryContext & memory
SecurityHigh risk (48/100)
Rank#142 of 5,272 Claude Code mods; #14 in Context & memory
LicenseMIT
Last commit2026-10-04
Stars this week+5
Hooks7 events
Seesclassic hooks, compaction, every prompt, every tool call
Draws onAbovePrompt, UserMessage

Is auto-handoff safe to install?

auto-handoff scores 48/100 on the MCPMods security check: High risk. Things to review: starts processes outside the sandbox; writes files or config; reads environment variables; watches every prompt or event. It passed 3 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 files or configReview
Reads environment variablesReview
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.after
$.clock.every
$.command.rundrives Claude
$.env.getreads env vars
$.fs.listreads files
$.fs.readreads files
$.fs.writewrites files
$.model.completedrives Claude
$.process.runruns processes
$.prompt.submitdrives Claude
$.session.cwd
$.session.id
$.session.messagesreads the transcript
$.session.surfaces
$.session.usage
$.store.getkeeps its own state
$.store.setkeeps its own state
$.ui.invalidatedraws interface
$.ui.resolvedraws interface
$.ui.toastdraws interface

How do I install auto-handoff?

  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/alexknowshtml/claude-auto-handoff
    claude plugin validate ./claude-auto-handoff/.
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    git clone https://github.com/alexknowshtml/claude-auto-handoff && claude --plugin-dir ./claude-auto-handoff/.

Or ask Claude to set it up

Paste this into Claude Code and it installs auto-handoff for you:

Install the "auto-handoff" Claude Code mod from https://github.com/alexknowshtml/claude-auto-handoff. Run claude plugin validate on it first and show me what it can access before you enable it.