cost-bar
by Malhar Ujawane · ★ 0 · updated 2 days ago
A one-row band above the prompt with session cost, 5h/7d plan limits and an optional budget bar.
Install
/plugin marketplace add Justmalhar/awesome-claude-mods/plugin install cost-bar@awesome-claude-modsThen 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
turn.completesession.measureui.render- API calls
$.session.usage$.ui.invalidate$.ui.resolve- Draws
AbovePrompt- Reach
- level 0 of 3 draws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/Justmalhar/awesome-claude-mods
- Path in repo
mods/cost-bar- Author
- Malhar Ujawane @Justmalhar
- 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.
More from Justmalhar/awesome-claude-mods
auto-checkpoint
Justmalhar/awesome-claude-mods
Snapshots the working tree into hidden git refs at the start of every turn, with /checkpoints to list them and /undo-turn to roll back.
branch-guard
Justmalhar/awesome-claude-mods
Stops Claude from editing files or running mutating git commands on main or master, and points it at a worktree instead.
file-tree-pane
Justmalhar/awesome-claude-mods
Adds /tree: a side pane with a lazy file tree coloured by git status. Press a file to put @path in the prompt.
notify-on-finish
Justmalhar/awesome-claude-mods
Sends a desktop notification when a long turn finishes, so you can look away while Claude works.
path-guard
Justmalhar/awesome-claude-mods
Blocks Write, Edit and MultiEdit calls that target a path outside the project root or inside .git, plus optional deny globs.
powerline-bar
Justmalhar/awesome-claude-mods
A one-row powerline-style band above the prompt: directory, git branch and state, model, context fill.
secret-guard
Justmalhar/awesome-claude-mods
Blocks Write, Edit and Bash calls that would put an API key, token or private key into a file or command.
sensitive-file-guard
Justmalhar/awesome-claude-mods
Blocks Read, Write, Edit, Grep, Glob and Bash calls that touch .env files, private keys and credential stores.
spinner-stats
Justmalhar/awesome-claude-mods
Adds elapsed time, the running tool and the tool-call count to Claude Code's own spinner.
test-guard
Justmalhar/awesome-claude-mods
Blocks edits that make tests pass by weakening them: new skip/only markers, fewer assertions, a gutted test file, or deleting a test file.