usage-meter
by cprentice9 · ★ 0 · updated 5 days ago
A row above the prompt with your 5-hour, weekly and Fable weekly plan limits and the session's context.
Install
git clone https://github.com/cprentice9/ccmodsclaude --plugin-dir ./ccmods/usage-meterThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
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.startturn.stepsession.measuresession.compactui.render- API calls
$.clock.after$.clock.every$.clock.now$.http.fetch$.session.authorize$.session.usage$.state.get$.state.set$.tool.call$.tool.list$.ui.resolve- Draws
AbovePrompt- Can see
compaction- Reach
- level 3 of 3 networkdrives Claudereads mod staterequests an Anthropic credential handledraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/cprentice9/ccmods
- Path in repo
usage-meter- Source commit
a520de9the exact code the scan read- Author
- @cprentice9
- 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.
More from cprentice9/ccmods
prose-guard
cprentice9/ccmods
Blocks em dashes in edits, shell commands and replies, and British spellings in prose files, commit messages and pull requests.
starfield
cprentice9/ccmods
A theme for the desktop app: the usual dark gray with the dotted night sky from the foot of claude.dev behind the conversation, with its crescent moon and ringed planet. While Claude works, Clawd the astronaut floats in it, with a mini astronaut for each running subagent.
stuck-detector
cprentice9/ccmods
Notices when the same test command fails twice in a row and tells the model to ask for a second opinion.
working-clawd
cprentice9/ccmods
While Claude works, Clawd walks above the prompt: across a starry sky in the desktop app, Ghostty and kitty, stopping to look around, wave and jump, and back and forth in half blocks in other terminals.