compact-handoff

by AnExiledDev · ★ 0 · updated 7 days ago

GuardsTools & agentsAutomationvalidates

0

Replaces the engine's compaction with a subagent's handoff, and measures whether it can be one

install compact-handoff

Install

/plugin marketplace add AnExiledDev/compact-handoff-plugin
/plugin install compact-handoff@compact-handoff

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
session.startagent.offertool.callturn.completesession.compactengine.create
API calls
$.agent.list$.agent.register$.agent.spawn$.clock.sleep$.env.get$.fs.exists$.fs.read$.fs.write$.model.complete$.model.fork$.process.run$.session.compact$.session.cwd$.session.id$.session.messages
Can see
mcp__compact-handoff__force_compact callsmcp__compact-handoff__refresh_handoff callsmcp__compact-handoff__probe_spawn callsmcp__compact-handoff__probe_budget callsmcp__compact-handoff__ab_fork callsmcp__compact-handoff__handoff_status callsmcp__compact-handoff__handoff_list callsmcp__compact-handoff__handoff_lookup callsmcp__compact-handoff__handoff_search callsmcp__compact-handoff__handoff_feedback callscompaction
Reach
level 2 of 3 other: $.agent.registerruns processeswrites filesdrives Claudereads filesreads env varsreads the transcript

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/AnExiledDev/compact-handoff-plugin
Path in repo
repository root
Author
@AnExiledDev
License
A license file GitHub could not identify — read it in the repository before reusing code.
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.