context-meter (whyashthakker)

Reviewed at commit 39335b2

See the current context window fill and remaining tokens.

Made by
Yash Thakker
What we checked

Opens a pane with /context-meter that shows how full the context window is as a bar, the token count and the tokens remaining. It only reads usage numbers Claude Code reports and does little more than that; no files, programs or network calls and nothing is stored.

Review details

Static review of the source at the pinned commit; not run. Registers the command context-meter on session.start and opens a pane on command.run. The pane calls $.session.usage() and renders a text bar (yellow at 80% and above), used and total tokens and the remainder; if the figures are missing it says so. A refresh button re-renders. No file, process, network or storage calls. Shared ui.js helpers are pure formatting functions. No npm dependencies.

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: no
  • Shows something on screen: yes
Hooked events
Screenshot of context-meter (whyashthakker)
Made this mod? Add a badge to your README

modsforClaude badge for context-meter (whyashthakker)

Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.

[![Listed on modsforClaude](https://modsforclaude.com/badge/context-meter-whyashthakker.svg)](https://modsforclaude.com/mods/context-meter-whyashthakker/)

← All mods