usage-meter

by HolyGrail · ★ 21 · updated 6 days ago

Bandsvalidates

0

Shows context, 5-hour, weekly and per-model weekly limit usage above the prompt

install usage-meter

Install

/plugin marketplace add HolyGrail/claude-mods
/plugin install usage-meter@claude-mods

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.endclassic.SessionStartsession.measureui.render
API calls
$.clock.every$.clock.now$.http.fetch$.session.authorize$.session.id$.session.usage$.store.delete$.store.get$.store.keys$.store.set$.ui.invalidate$.ui.resolve
Draws
AbovePrompt
Can see
classic hooks
Reach
level 3 of 3 networkrequests an Anthropic credential handlepersists 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/HolyGrail/claude-mods
Path in repo
plugins/usage-meter
Source commit
a215ef3 the exact code the scan read
Author
@HolyGrail
License
No license declared — ask the author before reusing code.
First published
Last pushed
First listed here
On X
Mentioned in 1 post on X

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.

Posts about this repo

蜘蛛糸まな🕸️ / HolyGrail@HolyGrail

デスクトップアプリでもこういうの表示できるようになったの便利だ https://github.com/HolyGrail/claude-mods/tree/main/plugins/usage-meter

More from HolyGrail/claude-mods

cache-meter

HolyGrail/claude-mods

Gauges how long the conversation's prompt cache stays warm, its hit ratio and misses, and what the next message re-caches once it has gone cold

★ 211 postsBands

notice-board

HolyGrail/claude-mods

Shares notices with every session in the same repository, or on the machine

★ 211 postsBandsCommands

pr-relay

HolyGrail/claude-mods

Watches the session's pull request and wakes the session when it is merged or Codex reviews it

★ 211 postsBandsStatus lineGuards

zsh-safe

HolyGrail/claude-mods

Lets Bash commands written for bash run under zsh: unmatched globs, leading =, and a missing timeout

★ 211 postsGuardsAutomation