Claude Code mod
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.
Install
/plugin marketplace add midudev/better-claude
/plugin install context-meter@better-claudeMods install like plugins. Run /reload-plugins or start a new session to load it.
What it can access
- Reach
- L1Reads: reads mod state, draws
- Draws in
AbovePrompt- Hooks
session.startsession.endsession.measureui.render
From a static scan of the mod's code by awesome-claude-code-mods. It shows what the code asks for, not a security review.
How Claude Code mods work
- A mod is a plugin with a JavaScript or TypeScript module that runs inside Claude Code (version 2.1.287 or later). It can draw panes beside the transcript, a band above the prompt, buttons and toasts, restyle the spinner and tool rows, and watch or rewrite tool calls and prompts.
- It installs like any plugin: add its marketplace with /plugin marketplace add owner/repo, then /plugin install name@marketplace.
- Check what a mod can reach before installing: it runs with your permissions. Reach goes from drawing only, to reading files, to writing files or running processes, to the network. Run claude plugin validate on a clone to list its hooks and calls without running it.
- Turn one off from the Installed tab in /plugin, or start Claude Code with --safe-mode to skip every customization for a session.
Details
- Repository
- midudev/better-claude
- Folder
plugins/context-meter- Marketplace
better-claude- Author
- Miguel Ángel Durán (midudev)
- License
- MIT
- Last updated
- 27 October 2026
- Listed in
- awesome-claude-code-mods
FAQ
What is 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. It is a mod for Claude Code, from midudev/better-claude on GitHub.
What can the context-meter mod access?
Its widest reach is "reads" (reads mod state, draws). It draws in AbovePrompt. Like any mod, it runs with your permissions.
How do I install context-meter?
Inside Claude Code (v2.1.287 or later), run /plugin marketplace add midudev/better-claude and then /plugin install context-meter@better-claude.
Is context-meter popular?
midudev/better-claude has 240 GitHub stars and 0 forks, and is included in 1 curated Claude Code list. It was last updated on 27 October 2026.
More context & usage mods
openai-balance
426hamzafer/claude-code-mods
Your OpenAI API credit above the prompt: an estimated balance with a gauge, today's spend, where the money mostly went, and the last call. /openai-balance shows the breakdown.
burn-baby-burn
2eel-brah/burn-baby-burn
Live session and weekly usage gauges under your prompt, fiery nags when your weekly limit is about to go unspent, and a friendly "slow down" when you burn through it too fast
taskcut
7wasd96040501/taskcut
Compacts when the work moves on from one sub-task to the next instead of when the context window fills, including in the middle of a long turn. Once the context is past a floor, a model judges each step, reading what you asked for and where Claude has got to but never any tool output, for whether the work moves on from a finished piece to another; if it does, taskcut runs Claude Code's own compaction. Below the floor it does nothing and costs nothing.
cache-guard
2Agulhas-Labs/claude-plugins
Warns once before a message that will cost far more than usual: a large Claude Code context whose prompt cache has expired, or a model or effort change that resets it. Shows the estimated cost, and offers a handoff file written by a cheap model in the background so you can /clear instead. While background work runs, it wakes an idle session just before its cache expires, so the result lands on a warm cache.
session-hud
7ofeklevy11/claude-code-hud
Session Tracker above the prompt box: context window with a /compact recommendation, 5-hour plan limit, prompt clocks and session cost.
commander-hud
6KevinZai/commander
Commander HUD: Fable state, running agents, tool-call budget and update pill above the prompt
Browse the most popular Claude Code mods, all context & usage mods, or the skills and MCP server directories.