sub-meter

by Miguel Ángel Durán (midudev) · ★ 1 · updated today

Reskinsvalidates

0

Your subscription usage at the bottom right of Claude Code: the 5-hour and weekly windows, as a bar that takes turns.

install sub-meter

Install

/plugin marketplace add midudev/after-for-claude-code
/plugin install sub-meter@better-claude

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
session.startsession.measureui.render
API calls
$.clock.every$.clock.now$.session.usage$.state.get$.state.set$.store.get$.store.set$.ui.resolve
Draws
SessionModePromptHint
Reach
level 1 of 3 other: $.state.getother: $.state.setpersists statedraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/midudev/after-for-claude-code
Path in repo
sub-meter
Source commit
c2ed4a0 the exact code the scan read
Author
Miguel Ángel Durán (midudev) @midudev
License
MIT
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.

More from midudev/after-for-claude-code

think-hard

midudev/after-for-claude-code

Start a prompt with + and that turn thinks at max effort. Other prompts keep the session's effort.

★ 1PromptAutomation

token-meter

midudev/after-for-claude-code

Each turn's tokens and the session's running total, in color at the end of the hint line under the prompt.

★ 1Reskins

use-haiku

midudev/after-for-claude-code

Start a prompt with _ and that turn runs on Haiku. Other prompts keep the session's model.

★ 1PromptAutomation