claude-code-usage-quota
by Anant Raghunath · ★ 8 · updated 2 days ago
0
Your Claude plan limits, a forecast of when you'll run out, and your context window, live in a band above the prompt, with one-click and automatic compacting
Install
git clone https://github.com/anantraghunath/claude-code-usage-quota-modclaude --plugin-dir ./claude-code-usage-quota-modThen 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.startsession.measureui.focusui.pressprompt.editturn.startturn.completecommand.runui.render- API calls
$.clock.after$.clock.every$.clock.now$.command.register$.command.run$.env.get$.fs.read$.fs.stat$.http.fetch$.process.run$.session.authorize$.session.compact$.session.id$.session.usage$.state.get$.state.set$.store.get$.store.set$.ui.log$.ui.resolve$.ui.status$.ui.toast- Draws
AbovePrompt- Reach
- level 3 of 3 other: $.state.getother: $.state.setnetworkruns processesdrives Claudereads 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/anantraghunath/claude-code-usage-quota-mod
- Path in repo
- repository root
- Source commit
dfe493fthe exact code the scan read- Author
- Anant Raghunath @anantraghunath
- 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.