Back to Discover

claude-usage-bars

plugin

Moco99

View on GitHub
0 starsSynced Aug 2, 2026

Install to Claude Code

/plugin marketplace add Moco99/claude-usage-bars

README

claude-usage-bars

A Claude Code plugin that shows usage and context progress bars in the status line.

▶▶ accept edits on (shift+tab to cycle)    usg ████████░░ 79%·3h  ctx █████░░░░░ 48%

Installation

Run these two commands in Claude Code:

/plugin marketplace add Moco99/claude-usage-bars
/plugin install claude-usage-bars@moco99

That's it. The bars appear automatically on your next prompt.

Bars

BarColorData source
usg#B3B9F4 (lavender)Rate limit usage — resets every 5h
ctx#CA7C5E (orange)Context window tokens used

The ·Xh next to the usage bar shows hours until your rate limit resets.

Customize colors

/bar-colors --usage #FF6B6B --ctx #4ECDC4

Both flags are optional — you can change one or both at a time. Colors must be in #RRGGBB format.

How it works

  • A statusline script reads JSON from Claude Code's native status line mechanism (stdin) and renders colored Unicode bars via ANSI escape codes
  • A SessionStart hook auto-configures ~/.claude/settings.json on first run (idempotent)
  • User colors are stored in ~/.claude/claude-usage-bars.json
  • No npm dependencies — pure Node.js

Uninstall

/plugin uninstall claude-usage-bars

This removes the plugin. The statusline entry in ~/.claude/settings.json will need to be removed manually (or it will silently fail to find the script).

hope yall like it!!!

Rendered live from Moco99/claude-usage-bars's GitHub README — not stored, always reflects the source repo.

1 Plugin

NameDescriptionCategorySource
claude-usage-barsUsage and context progress bars in Claude Code's status linehttps://github.com/Moco99/claude-usage-bars.git

0 Comments

Login required
Log in to post a comment or update on this repo.

No comments yet — be the first to share an update.