/compactor:compactorfrom compactor
Use when starting fragile multi-step work (debugging chains, multi-file refactors, long autonomous runs, dispatching subagents) in a session with the compactor plugin, or when a compactor message mentions a hold, nudge, ceiling, breakpoint or handoff note.
Ships in compactor. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Auto-compaction fires when context passes the configured threshold. With this plugin you can hold it during fragile work and release it at a safe point. You cannot start a compaction yourself. Releasing lets the next automatic check go through.
| Command | Use |
|---|---|
compactor hold "<why>" | Before fragile work. The reason is required, so be specific. |
compactor release --note "<what matters>" | At a natural breakpoint. The note comes back after compaction. |
compactor note "<text>" / compactor note --clear | Update or clear the handoff note without releasing. |
--file <path> on note or release | Also re-inject the last 40 lines of that file (such as your ledger) after compaction. |
compactor status | Show the hold, the note, running subagents, background tasks, and context usage. |
One hold can span many tasks: give it a reason that covers the stretch, such as
compactor hold "executing plan 7, tasks 11-15". You don't need a new hold per task. Running
hold again only updates the reason and keeps the original start time.
Before releasing, write down anything that isn't on disk yet and that you'd need after
compaction: the current hypothesis, the next steps, the file:line references in play, and
decisions made. End the note with the first thing to do after compaction, such as "read the
tail of docs/ledger.md", so you resume from that rather than by exploring. Prefer
compactor release --note "..." so the note and the release happen together. A note persists
across compactions until you replace or clear it, so clear stale notes with
compactor note --clear.
If your real recovery state lives in a file, such as a plan ledger, point the note at it with
--file <path>: the note then keeps a short pointer and the file's tail comes back with it.
Background Bash commands you started are listed after compaction with their IDs, so you can
still stop them with TaskStop; you don't need to copy the IDs into the note.
compactor status: its subagents: line shows running Agent-tool
subagents and its background tasks: lines show background Bash commands you started.
Monitors aren't tracked, so check your own task list for those.compactor hold "waiting on <task> report". Keep holding after the report arrives until you
have analysed it and done the work it calls for (edits, tests, a handoff note), then release.
Don't release just because a report arrived.compactor hold, release and note. Subagents and teammates
share the main agent's session, so their attempts are refused by a hook. If you are one,
don't try; ignore any compactor note or hold notice you receive (compactor status is fine).What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub rhwendt/compactor --plugin compactor