Claude Code mod
sub-meter
Your subscription usage at the bottom right of Claude Code: the 5-hour and weekly windows, taking turns, side by side or fixed on one of them.
Install
/plugin marketplace add midudev/better-claude
/plugin install sub-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, persists state, draws
- Draws in
SessionModePromptHint- 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/sub-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 sub-meter?
Your subscription usage at the bottom right of Claude Code: the 5-hour and weekly windows, taking turns, side by side or fixed on one of them. It is a mod for Claude Code, from midudev/better-claude on GitHub.
What can the sub-meter mod access?
Its widest reach is "reads" (reads mod state, persists state, draws). It draws in SessionMode, PromptHint. Like any mod, it runs with your permissions.
How do I install sub-meter?
Inside Claude Code (v2.1.287 or later), run /plugin marketplace add midudev/better-claude and then /plugin install sub-meter@better-claude.
Is sub-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
usage-weather
4ptpmediabr/usage-weather
One quiet line above the prompt: context, 5-hour and weekly usage, whether the prompt cache is warm, and a Clear & continue button.
cache-meter
3DarioFontanel/claude-code-mods
Barra sopra il prompt che si svuota col tempo: quanto resta dell'ora di prompt cache dall'ultima richiesta
usage-pane
4T-AI-Labs/claude-code-mods
A pane, opened with /tokens, that adds up tokens, cache hit rate, turns, tool calls and API price for the last turn, the session, today, 7 and 30 days, by model and by project, with the history of the 5-hour and weekly limits, and lists each session's prompts by cost with what made them expensive.
cache-meter
3drdickgraysonjr/chalkery
Prompt cache status above the prompt: how long the cache stays warm, what a re-cache would cost, plan limits near the cap. Keeps a big cache warm on request and asks before a cold send. The cache part of Nate Herk's cache-keeper.
usage-bar
4abyigiter/claude-usage-bar
See your Claude Code session at a glance: context left, cost, today's and month-to-date spend, rate limits, git diff and PR status, right above the prompt. Set /budget limits and get a toast before you go over. Open the detail panel for context breakdown, turns, cache hit rate and top tools. Works in the CLI and the desktop Code tab.
cache-watch
3ishuagrawal/cache-watch
A band above the prompt that counts down to your prompt cache expiring and shows what it costs your next message
Browse the most popular Claude Code mods, all context & usage mods, or the skills and MCP server directories.