All Claude Code modsKrs7N/context-meter
context-meter
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 high, and Clawd, who types while Claude works, dresses up for the effort level, gets cross as the context fills and dozes off when you're idle.
context-meter reaches L2 (writes or runs) and passed claude plugin validate with warnings.
- Events hooked: 11
- API methods referenced: 18
- Access from classified calls: L2, writes or runs: drives Claude, reads settings, reads mod state, persists state, draws
- Reads mod state: the scan does not record whose state, so this does not show that it reads another mod’s values
- Static scan, not a runtime test
Install hint
/plugin install context-meter --marketplace Krs7N/context-meterFrom the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later.
Access
L2 Writes or runsdrives Claude, reads settings, reads mod state, persists state, drawsValidation
Passed with warningsListed under Prompt cache mods for Claude Code, Context and usage meters for Claude Code.
View the source on GitHub Back to the list
What the scan recorded
- Observed events
- every prompt, compaction
- Hooks
session.start, session.attach, session.detach, command.run {command=model}, session.measure, turn.complete, turn.step, prompt.submit, command.run {command=effort}, session.end, session.compact, ui.render {component=AbovePrompt}- 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- Validation
- Passed with warnings
- Scanned revision
157b29f7288d- Marketplace warnings
- context-meter
These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. What a mod can access and how the scan works.
Badge for your README
Authors can show the latest scan result in their README. Each badge links to this page.
[](https://mods.aidojo.si/mods/Krs7N--context-meter--context-meter/)
[](https://mods.aidojo.si/mods/Krs7N--context-meter--context-meter/)