usage-bar

usage-bar is a Claude Code mod by richardcsuwandi that usage bars (context, 5h, 7d, cost) above the prompt plus an auto-compact nudge; toggle with /usage-bar.

Updated 2026-10-03

What is usage-bar?

usage-bar is a Claude Code mod by richardcsuwandi that usage bars (context, 5h, 7d, cost) above the prompt plus an auto-compact nudge; toggle with /usage-bar. It is listed under Cost & usage and has 1 GitHub stars.

TypeClaude code mod
Authorrichardcsuwandi
Repositoryrichardcsuwandi/claude-mods
Popularity1 GitHub stars
CategoryCost & usage
SecurityLow risk (96/100)
Rank#2,271 of 5,272 Claude Code mods; #380 in Cost & usage
Last commit2026-10-03
Stars this week+1
Hooks4 events
Seesonly the events it hooks
Draws onAbovePrompt

Is usage-bar safe to install?

usage-bar scores 96/100 on the MCPMods security check: Low risk. No checks raised a concern. 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.

CheckResult
No network accessPass
Starts no processesPass
Writes no files or configPass
Doesn't read environment variablesPass
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
No license detectedNote

API calls in its code

CallWhat it means
$.command.register
$.session.compactdrives Claude
$.session.usage
$.state.get
$.state.set
$.ui.resolvedraws interface
$.ui.toastdraws interface

How do I install usage-bar?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/richardcsuwandi/claude-mods
    claude plugin validate ./claude-mods/plugins/usage-bar
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add richardcsuwandi/claude-mods && claude plugin install usage-bar@claude-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/richardcsuwandi/claude-mods/tree/main/plugins/usage-bar. Run claude plugin validate on it first and show me what it can access before you enable it.

More from richardcsuwandi/claude-mods

This repository has 4 Claude Code mods on MCPMods.

  • context-bar: Stacked context-window bar above the prompt, colored like /context; toggle with /context-bar (Low risk)
  • deadlines: Live deadline countdowns in the Claude Code status line. /ddl to list, add, remove. (Review before installing)
  • monitor: A control room above the prompt: background agents and shells (running, done, failed), blocked tool calls and context us (Low risk)