usage-mod

by Kien Hoang Trung · ★ 0 · updated 2 days ago

PanesBandsCommandsvalidates

0

Your Claude Code usage as colored chips above the prompt: 5h and weekly limits (% left), session cost and spend history. /usage-mod opens the full view.

install usage-mod

Install

/plugin marketplace add kreddevils18/claude-usage-mod
/plugin install usage-mod@claude-usage-mod

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.measureturn.completeui.rendercommand.run
API calls
$.clock.every$.clock.now$.command.register$.env.get$.fs.read$.fs.write$.http.fetch$.process.run$.session.authorize$.session.id$.session.usage$.session.version$.state.get$.state.set$.store.get$.store.set$.ui.open$.ui.resolve
Draws
AbovePromptPane
Reach
level 3 of 3 other: $.state.getother: $.state.setnetworkruns processeswrites filesreads filesreads env varsreads the transcriptpersists 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/kreddevils18/claude-usage-mod
Path in repo
repository root
Author
Kien Hoang Trung @kreddevils18
License
MIT
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

Kien Hoang@kien_hoang18

today i shipped usage-mod 🟡 your Claude Code limits (5h, weekly, Fable, extra), spend and resets as chips above the prompt. no menubar app. want a replacement for CodexBar / OpenUsage? install: https://github.com/kreddevils18/claude-usage-mod open source, PRs welcome #buildinpublic