context-meter
Reviewed
at commit 36f76db
Context window and session cost meter, drawn above the prompt.
0 upvotes
Log in to upvote or save- Made by
- Prompt Advisers
- Pinned commit
-
36f76db2eaace816c651a0c1ad3e6cb46f770432 - What we checked
-
Draws a row above the prompt with how full the context window is, a small history chart, the session cost and your 5-hour, 7-day and spend limit usage. It reads only the session's usage figures from Claude Code, makes no network calls, reads no files and stores only the recent readings in session state.
Review details
Static review of the source at the pinned commit; not run. Registers session.start, session.measure and ui.render (AbovePrompt). Uses $.session.usage() and the session.measure event (context tokens, window, percent, cost usd, rate limits), $.state.get/set for the last 12 readings and the limit list, and $.ui.resolve to render a Box/Text band beneath the original AbovePrompt element. Skipped when a survey is showing or no reading exists. No tool calls, prompts, files, network, env or process access. Plain JavaScript, no imports.
- What it uses
-
- Reads your prompts: no
- Sees tool calls: no
- Blocks or changes tool calls: no
- Reads or writes files: no
- Runs programs on your machine: no
- Calls the model (uses tokens): no
- Sends data over the network: no
- Stores data: yes
- Shows something on screen: yes
- Hooked events
Made this mod? Add a badge to your README
Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.
[](https://modsforclaude.com/mods/context-meter/)