usage-meter

by Renaud Lavoisier · ★ 0 · updated 9 days ago

Status linevalidates

0

Shows the 5-hour and 7-day usage limits in the status line and warns at 80% and 95%

install usage-meter

Install

/plugin marketplace add RenaudLavoisier/claude-code-mods
/plugin install usage-meter@claude-code-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.measure
API calls
$.clock.every$.clock.now$.session.usage$.state.get$.state.set$.ui.notify$.ui.status$.ui.toast
Reach
level 1 of 3 reads mod 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/RenaudLavoisier/claude-code-mods
Path in repo
usage-meter
Source commit
ce6b982 the exact code the scan read
Author
Renaud Lavoisier @RenaudLavoisier
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 RenaudLavoisier/claude-code-mods

changed-files

RenaudLavoisier/claude-code-mods

A pane that lists the files that differ from HEAD, as git diff shows them, untracked files left out

★ 0PanesGuardsCommands

context-pet

RenaudLavoisier/claude-code-mods

A pet above the prompt that grows and turns red as the context fills up

★ 0BandsCommands

pr-checks

RenaudLavoisier/claude-code-mods

A pane that shows the GitHub checks of the current branch's pull request

★ 0PanesCommands

turn-notify

RenaudLavoisier/claude-code-mods

Sends a native notification when a long turn ends

★ 0Automation