context-meter
by Krs7N · ★ 2 · updated 16 Oct 2026
See your context window fill up as you work, no /context needed. A live band above the prompt shows an animated fill bar, token count, auto-compact headroom and the turns it lasts, usage trend, session cost, prompt-cache hits and a cold-cache warning, and rate limits with when the recent pace runs one out. It also has one-click model and effort pickers, a compact button once the context runs...
Install
/plugin marketplace add Krs7N/context-meter/plugin install context-meter@context-meterThen 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.attachsession.detachcommand.runsession.measureturn.completeturn.stepprompt.submitsession.endsession.compactui.render- API calls
$.clock.after$.clock.every$.clock.now$.command.run$.config.list$.session.compact$.session.model$.session.surfaces$.session.usage$.session.version$.settings.read$.state.get$.state.set$.store.get$.store.set$.ui.log$.ui.resolve$.ui.toast- Draws
AbovePrompt- Can see
every promptcompaction- Reach
- level 2 of 3 drives Claudereads settingsreads mod statepersists 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/Krs7N/context-meter
- Path in repo
- repository root
- Source commit
157b29fthe exact code the scan read- Author
- @Krs7N
- 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.