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.1MITIn 1 marketplace
Each turn's tokens and the session's running total, in color at the end of the hint line under the prompt.
Trending plugins
7-day copy clicks
Code that runs inside Claude Code on every session, as you, unsandboxed.
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: after each turn, the hint line under the prompt ends with that turn's tokens and the session's running total, in color.
⏵⏵ auto mode on · ↑ 1.2k ↓ 340 cache 4.1k · session ↑ 1.2k ↓ 340
↑ input (blue), ↓ output (green), cache the tokens read from or written to the prompt cache (Claude orange); the session total is dim. It starts over when the session starts.
/plugin marketplace add midudev/better-claude
/plugin install token-meter@better-claude
One hooks module (hooks/register.tsx):
turn.complete keeps the turn's usage and adds it to the session total, in $.state.ui.render hook on PromptHint wraps what the engine draws there (await next(e), so its pills stay live and other plugins still apply) and adds the meter after it.The status line ($.ui.status) only takes plain text, so the meter draws in the hint line to have colors.
claude plugin validate ./plugins/token-meter # from the repository root
claude plugin test ./plugins/token-meter # runs hooks/register.test.tsx against the engine
MIT © Miguel Ángel Durán (midudev)
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.
npx claudepluginhub midudev/better-claude --plugin token-meterPlugins from other owners that cover similar ground