self-compact

by Quiet-Wolfe · ★ 0 · updated 20 Oct 2026

Status lineGuardsPromptTools & agentsvalidates

0

Lets Claude compact its own conversation at a breakpoint it picks, with context-fill warnings so it knows when.

install self-compact

Install

/plugin marketplace add Quiet-Wolfe/self-compact
/plugin install self-compact@self-compact

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.starttool.callprompt.submitturn.completesession.compact
API calls
$.clock.after$.command.run$.prompt.submit$.session.usage$.tool.register$.ui.log$.ui.status$.ui.toast
Can see
mcp__self-compact__compact callsmcp__self-compact__context_usage callsevery tool callevery promptcompaction
Reach
level 2 of 3 drives Claudedraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/Quiet-Wolfe/self-compact
Path in repo
repository root
Source commit
76f3d1c the exact code the scan read
Author
@Quiet-Wolfe
License
MIT
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.

Other mods in Status line, close to this one by stars.