All Claude Code modsmidudev/after-for-claude-code
context-meter
The session's context window fill, right above the prompt: gray while there is room, yellow when it is time to /compact, red when a new session is better.
context-meter reaches L1 (reads) and passed claude plugin validate on Claude Code 2.1.310.
- Events hooked: 4
- API methods referenced: 5
- Access from classified calls: L1, reads: reads mod 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 midudev/after-for-claude-codeFrom 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
L1 Readsreads mod state, drawsValidation
Passed on Claude Code 2.1.310Listed under Context and usage meters for Claude Code.
View the source on GitHub Back to the list
What the scan recorded
- Observed events
- Only what it hooks
- Hooks
session.start, session.end, session.measure, ui.render {component=AbovePrompt}- API calls
$.clock.every, $.session.usage, $.state.get, $.state.set, $.ui.resolve- Validation on 2.1.310
- Passed
- Scanned revision
9306204b4807- Marketplace passed
- better-claude
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.
More from midudev/after-for-claude-code
- afterA real prompt queue for Claude Code: /after <task> runs it after the current task, without steering. See, reo…
- image-previewHover a pasted [Image #N] to see the picture: above the prompt while you write, and on the prompts you sent.
- narratorClick ⏸︎ narrator off in the footer, or /narrator, and after each turn Claude tells you out loud what it did,…
- sub-meterYour subscription usage at the bottom right of Claude Code: the 5-hour and weekly windows, taking turns, side…
- think-hardStart a prompt with + and that turn thinks at max effort. Other prompts keep the session's effort.
- time-machineEvery turn that changes files is a git snapshot off your history: /timeline shows them and puts the working t…
- token-meterEach turn's tokens and the session's running total, in color at the end of the hint line under the prompt.
- use-haikuStart a prompt with _ and that turn runs on Haiku, shown as you type, while it runs and under the answer.
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/midudev--after-for-claude-code--context-meter/)
[](https://mods.aidojo.si/mods/midudev--after-for-claude-code--context-meter/)