Home / Claude Code mods / Context & memory / compact-handoff

compact-handoff

compact-handoff is a Claude Code mod by AnExiledDev that replaces the engine's compaction with a subagent's handoff, and measures whether it can be one.

Updated 2026-10-05

What is compact-handoff?

compact-handoff is a Claude Code mod by AnExiledDev that replaces the engine's compaction with a subagent's handoff, and measures whether it can be one. It is listed under Context & memory and has no public popularity data yet.

TypeClaude code mod
AuthorAnExiledDev
RepositoryAnExiledDev/compact-handoff-plugin
Popularityno public popularity data yet
CategoryContext & memory
SecurityHigh risk (56/100)
Rank#2,620 of 5,272 Claude Code mods; #248 in Context & memory
Last commit2026-10-05
Hooks6 events
Seescompaction, mcp__compact-handoff__ab_fork calls, mcp__compact-handoff__force_compact calls, mcp__compact-handoff__handoff_feedback calls, mcp__compact-handoff__handoff_list calls, mcp__compact-handoff__handoff_lookup calls, mcp__compact-handoff__handoff_search calls, mcp__compact-handoff__handoff_status calls, mcp__compact-handoff__probe_budget calls, mcp__compact-handoff__probe_spawn calls, mcp__compact-handoff__refresh_handoff calls
Draws onnothing

Is compact-handoff safe to install?

compact-handoff scores 56/100 on the MCPMods security check: High risk. Things to review: starts processes outside the sandbox; writes files or config; reads environment variables. 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
Only sees the events it hooksPass
Drives Claude (model calls, prompts)Note
Passes claude plugin validatePass
No license detectedNote

API calls in its code

CallWhat it means
$.agent.list
$.agent.register
$.agent.spawndrives Claude
$.clock.sleep
$.env.getreads env vars
$.fs.existsreads files
$.fs.readreads files
$.fs.writewrites files
$.model.completedrives Claude
$.model.forkdrives Claude
$.process.runruns processes
$.session.compactdrives Claude
$.session.cwd
$.session.id

How do I install compact-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/AnExiledDev/compact-handoff-plugin
    claude plugin validate ./compact-handoff-plugin/.
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add AnExiledDev/compact-handoff-plugin && claude plugin install compact-handoff@compact-handoff

Or ask Claude to set it up

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

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