What is usage-bar?
usage-bar is a Claude Code mod by omeerdvrn that shows your 5-hour and weekly plan limits, used or remaining, and the session's git branch or worktree under the prompt. It is listed under Cost & usage and has 7 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | omeerdvrn |
| Repository | omeerdvrn/o-mods |
| Popularity | 7 GitHub stars |
| Category | Cost & usage |
| Security | Low risk (88/100) |
| Rank | #1,157 of 9,397 Claude Code mods; #185 in Cost & usage |
| License | MIT |
| Last commit | 2026-10-15 |
| Stars this week | +1 |
| Hooks | 5 events |
| Sees | only the events it hooks |
| Draws on | SessionMode |
Is usage-bar safe to install?
usage-bar scores 88/100 on the MCPMods security check: Low risk. Things to review: starts processes outside the sandbox. It passed 7 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts processes outside the sandbox | Review |
| Writes no files or config | Pass |
| Doesn't read environment variables | Pass |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Passes claude plugin validate | Pass |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.every | |
$.clock.now | |
$.command.register | |
$.process.run | runs processes |
$.session.cwd | |
$.session.model | |
$.session.usage | |
$.state.get | |
$.state.set | |
$.store.get | keeps its own state |
$.store.set | keeps its own state |
$.ui.resolve | draws interface |
How do I install usage-bar?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/omeerdvrn/o-mods claude plugin validate ./o-mods/mods/usage-bar
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add omeerdvrn/o-mods && claude plugin install usage-bar@o-mods
Or ask Claude to set it up
Paste this into Claude Code and it installs usage-bar for you:
Install the "usage-bar" Claude Code mod from https://github.com/omeerdvrn/o-mods/tree/main/mods/usage-bar. Run claude plugin validate on it first and show me what it can access before you enable it.
More from omeerdvrn/o-mods
This repository has at least 9 Claude Code mods on MCPMods.
- faah: Meme sounds on events: FAAAH when tests fail, anime wow when they pass, bruh when Claude asks you something; failed buil (Review before installing)
- heat: NBA-Jam-style heat tracker: prompts and tool calls heat you up, idle time cools you down, and a fire burst rises above t (Low risk)
- huh: /huh opens Claude's last answer in the sidebar, rewritten to be easy to read (a short summary first, clear sections, lis (Review before installing)
- linear: Sidebar of your assigned Linear issues; Start creates a git worktree and begins implementing the issue. (Review before installing)
- persona: Pick a role for Claude on this machine (UI/UX, Backend, Dev, QA, Docs, PM); edits and shell commands outside the role ar (Review before installing)
- pr-status: Live CI status of the current branch's pull request above the prompt, or of any PR you pin with /pr-status . Detects Git (Review before installing)
- scenes: Animated pixel scenes above the prompt while Claude works, a random one each time: night drive, rainy window, fish tank, (Low risk)
- snippets: The input bar, smarter: your Linear tickets in the typeahead as you type an id, live highlighting (tickets, paths, @ment (High risk)