context-meter
by A. Mattera · ★ 0 · updated 15 Oct 2026
0
Context meter above the prompt: a full-width context bar, a KV-cache clock, the 5-hour session usage and a one-click Handoff (write handoff → /clear → resume).
Install
/plugin marketplace add m0s4ik/context-meter/plugin install context-meter@amattera-modsThen 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.measureturn.stepturn.completeprompt.submitui.render- API calls
$.agent.list$.clock.after$.clock.every$.clock.now$.command.run$.config.list$.env.get$.model.fork$.prompt.submit$.session.usage$.state.get$.state.set$.store.set$.ui.resolve$.ui.status$.ui.toast- Draws
AbovePrompt- Can see
every prompt- Reach
- level 2 of 3 drives Claudereads env varsreads 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/m0s4ik/context-meter
- Path in repo
- repository root
- Source commit
22c7e9dthe exact code the scan read- Author
- A. Mattera @m0s4ik
- 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.