auto-handoff

auto-handoff is a Claude Code mod by Spardutti that hands the work to a fresh, named session when the context gets too full, using your /handoff command.

Updated 2026-10-16

What is auto-handoff?

auto-handoff is a Claude Code mod by Spardutti that hands the work to a fresh, named session when the context gets too full, using your /handoff command. It is listed under Context & memory and has 1 GitHub stars.

TypeClaude code mod
AuthorSpardutti
RepositorySpardutti/claude-mods
Popularity1 GitHub stars
CategoryContext & memory
SecurityLow risk (84/100)
Rank#2,313 of 5,272 Claude Code mods; #221 in Context & memory
LicenseMIT
Last commit2026-10-16
Hooks4 events
Seesclassic hooks, every prompt
Draws onAbovePrompt

Is auto-handoff safe to install?

auto-handoff scores 84/100 on the MCPMods security check: Low risk. Things to review: watches every prompt or event. It passed 6 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 no processesPass
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.every
$.clock.now
$.command.list
$.command.rundrives Claude
$.fs.readreads files
$.fs.statreads files
$.prompt.submitdrives Claude
$.session.usage
$.state.get
$.state.set
$.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/Spardutti/claude-mods
    claude plugin validate ./claude-mods/plugins/auto-handoff
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add Spardutti/claude-mods && claude plugin install auto-handoff@spardutti-mods

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/Spardutti/claude-mods/tree/main/plugins/auto-handoff. Run claude plugin validate on it first and show me what it can access before you enable it.

More from Spardutti/claude-mods

This repository has 5 Claude Code mods on MCPMods.

  • blocked-run: When auto mode blocks a command, shows it above the prompt with a button to run it yourself (Low risk)
  • branch-status: A small git-flow graph of main, develop and your branch, with what is waiting to release (Low risk)
  • dev-apps: Open, start and stop this project's browser apps from the Git panel (Low risk)
  • handoff-pickup: Reminds you of a handoff you left behind, picks it up with /pickup, and deletes it when you're done (Review before installing)