Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By vignesh07v2.0.0MITIn 1 marketplace
Warns you before Claude Code auto-compacts mid-task, so a refactor is not cut off partway through. Shows free context in the status line; needs jq installed and a restart after setup.
Trending plugins
7-day copy clicks
Claude Code doesn't load everything this plugin declares
hooks/hooks.json has no top-level "hooks" object, so Claude Code runs none of its hooks. /plugin reports an error (hooks.json must have 'hooks' (the hook matchers) or 'modules' (hooks modules), or both).Checked against Claude Code 2.1.332.
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Automatic context monitoring for Claude Code — never get interrupted by mid-task compaction again.
/plugin marketplace add vignesh07/compaction-advisor
/plugin install compaction-advisor
/compaction-advisor:setup
Then restart Claude Code. That's it!
Requires:
jq(JSON processor). Install withbrew install jq(macOS) orapt install jq(Linux).
curl -fsSL https://raw.githubusercontent.com/vignesh07/compaction-advisor/main/install.sh | bash
Then restart Claude Code.
Claude Code auto-compacts when your context window fills up. This often happens mid-task — right when you're deep in a refactor or debugging session. You lose important context, and Claude has to rediscover things it already knew.
The worst part? By the time you see the warning, it's too late.
Compaction Advisor gives Claude real-time awareness of context usage with intelligent checkpointing. No user intervention needed.
┌────────────────────────────────────────────────────────────┐
│ │
│ Status Line: [Opus] 🟠 25k free ████████░░ │
│ │
│ You: I want to refactor the authentication system │
│ │
│ Claude: Context is at 25k free — that's tight for a │
│ refactor (~50k needed). Run /compact first to │
│ avoid interruption? │
│ │
└────────────────────────────────────────────────────────────┘
Claude automatically knows when context is low and proactively advises you.
Two lightweight components work together:
┌─────────────────┐ ┌─────────────────────────┐
│ Status Line │ │ UserPromptSubmit Hook │
│ (for you) │ │ (for Claude) │
└────────┬────────┘ └────────────┬────────────┘
│ │
▼ ▼
Displays in UI Runs on every prompt
│ │
▼ ▼
┌─────────────────┐ ┌─────────────────────────┐
│ 🟠 25k free │────────▶│ Reads state file │
│ ████████░░ │ writes │ Injects into Claude │
└─────────────────┘ └─────────────────────────┘
│
▼
┌─────────────────────────┐
│ Claude sees: │
│ <context-status> │
│ WARNING: 25k free... │
│ </context-status> │
└─────────────────────────┘
When context is healthy → hook stays silent (0 tokens)
During long autonomous tasks (refactors, multi-file changes), the plugin monitors progress and suggests checkpoints:
┌─────────────────────────────────────────────────────────────┐
│ Claude is working on a large refactor... │
│ │
│ [Edit] file1.ts ✓ │
│ [Edit] file2.ts ✓ │
│ [Bash] npm test ✓ │
│ [Edit] file3.ts ✓ │
│ ... 8 more operations ... │
│ │
│ <context-checkpoint> │
│ CHECKPOINT RECOMMENDED: Context at 22k after 12 operations. │
│ Good time to /compact. Summarize progress to preserve. │
│ </context-checkpoint> │
│ │
│ Claude: "Good checkpoint! I've completed: │
│ • Refactored auth module (files 1-5) │
│ • Fixed 3 failing tests │
│ • Remaining: API endpoints (files 6-10) │
│ │
│ Run /compact Focus on auth refactor progress │
│ Then I'll continue with the API changes." │
└─────────────────────────────────────────────────────────────┘
7-day copy clicks
npx claudepluginhub vignesh07/compaction-advisor --plugin compaction-advisorBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground