usage-meter

by Wirawan · ★ 0 · updated 22 days ago

BandsPromptvalidates

0

A card above the prompt: context window by category, 5-hour and weekly usage against time elapsed, prompt-cache warmth, and when you started working.

install usage-meter

Install

/plugin marketplace add wirawansanusi/claude-mods-usage-meter
/plugin install usage-meter@wirawan-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.startprompt.submitsession.measuresession.compactsession.endui.render
API calls
$.clock.every$.clock.now$.session.usage$.state.get$.state.set$.store.get$.store.set$.ui.log$.ui.resolve
Draws
AbovePrompt
Can see
every promptcompaction
Reach
level 1 of 3 reads mod statepersists 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/wirawansanusi/claude-mods-usage-meter
Path in repo
repository root
Source commit
cc835d7 the exact code the scan read
Author
Wirawan @wirawansanusi
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.