compact-assist
by tomoyankun · ★ 0 · updated 4 days ago
Shows a compact cue below the mode line when context usage reaches 70%. /compact-memo writes decisions and open tasks to a memo file.
Install
/plugin marketplace add tomoyankun/oziji-claude-plugins/plugin install compact-assist@oziji-claude-pluginsThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
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.startsession.measuresession.compactcommand.runturn.completeui.render- API calls
$.clock.after$.command.register$.env.get$.fs.read$.prompt.submit$.session.compact$.session.usage$.state.get$.state.set$.ui.resolve$.ui.toast- Draws
PromptHint- Can see
compaction- Reach
- level 2 of 3 drives Claudereads filesreads env varsreads mod statedraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/tomoyankun/oziji-claude-plugins
- Path in repo
mods/compact-assist- Source commit
9a094f3the exact code the scan read- Author
- @tomoyankun
- 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.
More from tomoyankun/oziji-claude-plugins
notify-on-wait
tomoyankun/oziji-claude-plugins
Plays a sound and blinks a band above the prompt until answered when a permission prompt or a model question appears.
session-rm
tomoyankun/oziji-claude-plugins
Pick one session of this project in a pane and delete it with its related data. /session-rm opens the pane.
usage-status
tomoyankun/oziji-claude-plugins
Always shows the 5-hour and 1-week usage limits and the session token usage as gauges below the mode line. A gauge turns red at 80%.