usage-stats

by Mina Asham · ★ 0 · updated 10 days ago

BandsCommandsvalidates

0

Shows your Claude plan usage above the prompt: current session (5h) and weekly percentage used, with reset times.

install usage-stats

Install

/plugin marketplace add mina-asham/claude-usage-stats
/plugin install usage-stats@claude-usage-stats

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.measurecommand.runui.render
API calls
$.clock.after$.clock.every$.clock.now$.command.register$.env.get$.fs.read$.fs.write$.http.fetch$.session.authorize$.session.usage$.state.get$.state.set$.store.get$.store.set$.ui.resolve
Draws
AbovePrompt
Reach
level 3 of 3 networkwrites filesreads filesreads env varsreads mod staterequests 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/mina-asham/claude-usage-stats
Path in repo
repository root
Source commit
31b2081 the exact code the scan read
Author
Mina Asham @mina-asham
License
No license declared — ask the author before reusing code.
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.