Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By midudevv0.1.0MITIn 1 marketplace
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.
Trending plugins
7-day copy clicks
Code that runs inside Claude Code on every session, as you, unsandboxed.
Claude Code asks for these when you enable the plugin. Sensitive values are stored in your system keychain.
Yellow fromwarnAt
Context percentage from which the meter turns yellow (time to /compact).
number1–100default 50
Red fromdangerAt
Context percentage from which the meter turns red (better start a new session).
1 critical to review before installing
JavaScript or TypeScript that runs inside Claude Code as you, unsandboxed. Read from its source, it makes none of the file, program, network, tool or prompt calls we list.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A Claude Code mod: how full the session's context window is, always in sight, right above the prompt at its right end. No more typing /context to decide whether it is time to compact.
context 58%
────────────────────────────────────────────────────────────────────────────
❯ revisa el módulo de recepción de pedidos
────────────────────────────────────────────────────────────────────────────
⏵⏵ auto mode on 5h ━───────── 2% · 4h 41m
/compact.Both thresholds are settings (warnAt, dangerAt) in /config. The footer stays as it is, so it sits well next to Sub Meter.
Before the first response of a session (a fresh or resumed one), and right after a compaction or a rewind, the engine has no reading yet. The meter then counts the window once, as /context does, and shows it with a ~ (context ~16%) until the next response brings the real figure.
/plugin marketplace add midudev/better-claude
/plugin install context-meter@better-claude
One hooks module (hooks/register.tsx):
$.session.usage() gives the first reading at start; session.measure hands over context.percent after each response that moved it (the status line's used_percentage).$.session.usage() again (a free call) and takes the figure when it moved.$.session.usage({ breakdown: 'full' }) once, the count /context makes, and keeps that estimate until the next response.ui.render hook on AbovePrompt draws the meter at the right end of the band right above the prompt; whatever the engine or another plugin draws there (Image Preview's chips) stays above it.claude plugin validate . # from this folder
claude plugin test . # runs hooks/register.test.tsx against the engine
MIT © Miguel Ángel Durán (midudev)
7-day copy clicks
npx claudepluginhub midudev/better-claude --plugin context-meterPlugins from other owners that cover similar ground
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.