usage-meter

by Viktor Åkerskog · ★ 2 · updated 6 days ago

BandsReskinsGuardswarnings

0

Directory, branch, worktree, model, effort and prompt-cache warmth, with 5h and weekly limits (subscription) or cost (pay-per-token), above the prompt; context below it

install usage-meter

Install

/plugin marketplace add akerskuuug/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.measuretool.callturn.stepclassic.SessionStartclassic.PostModelSwitchturn.completeui.render
API calls
$.clock.every$.clock.now$.process.run$.session.cwd$.session.model$.session.usage$.state.get$.state.set$.store.get$.store.set$.ui.resolve
Draws
AbovePromptPromptHint
Can see
Bash callsclassic hooks
Reach
level 2 of 3 runs processesreads 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/akerskuuug/claude-mods
Path in repo
plugins/usage-meter
Source commit
18a9cb3 the exact code the scan read
Author
Viktor Åkerskog @akerskuuug
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 akerskuuug/claude-mods

context-weather

akerskuuug/claude-mods

A lo-fi pixel weather window whose sky follows the context: clear when it is empty, a thunderstorm when it is full, and day or night by your clock

★ 2PanesBandsReskins

sim-board

akerskuuug/claude-mods

A shared board of iOS Simulators for UI tests: which are booted, free, or claimed by which Claude Code session, with claim/release tools and a guard that stops sessions testing on each other's simulators

★ 2PanesStatus lineGuards

Other mods in Bands, close to this one by stars.