compact-adviser
PluginClaude Code plugin that detects when work appears complete and advises running /compact to reduce token usage.
/plugin marketplace add kunchenguid/compact-advisercompact-adviser is an agent plugin that answers a single question: should I /compact now?
It uses Jev to instantly judge whether the current session is likely at a boundary that's safe to compact.
It can give you a hint to run `/compact` - or, on Pi and Claude Code, if you opt in, it can run it for you at the right time automatically. Codex CLI and Grok are hint-only: nothing outside their sessions can trigger `/compact`.
Judgment is two one-sentence Jev questions in one request (is the unit finished; is this hands-on work or coordination), composed in code into one score. The hint floor is 0.90 while the context is mostly empty (through about 10%) and relaxes toward 0.50 by about 90% full - a wrong hint costs most when there is still room. "Full" means the point where the host compacts: on Claude Code that is its auto-compact threshold when enabled, elsewhere the model's window. If you would rather compact we…
- Source
- community
- Known advisories
- 0
- Maintenance
- active
- License
- MIT
- Age
- 0 months