Daniel Bauke
Open Source / claude-counter-statusbar

claude-counter-statusbar

See it on GitHub
Animated demo: the statusline counts context, cost and rate limits while Claude Code works.

A Claude Code statusline that shows token usage, cost and real rate-limit utilization.

Why it exists

Token use, cost and rate limits stay in view in the statusline, next to the directory, model, session name and git branch.

What it does

Context bar
Context tokens as a progress bar with colored percentages.
Cost and water
Estimated API cost, and water use for the session and billing period.
Rate limits
5-hour and 7-day bars with reset countdowns.
Six bar styles
Dark and light themes, powerline or plain separators.

Bar styles

dots    ●●●○○
bar     ██░░░
ball    ──●──
capped  ━━╸┄┄
filled  ■■□□□
text    ~19.0k 40%