claudebar — a fast, themeable statusline for Claude Code

curl -fsSL https://raw.githubusercontent.com/micschr0/claudebar/main/install.sh | bash

Your session, in one line.

Color-coded context and live rate-limit countdowns — so you never get surprised mid-task.

Calm state — low usage, everything green

Calm

Low usage. Everything green, quietly out of your way.

Normal mid-session usage

Working

Mid-session: context budget and rate-limit windows at a glance.

Critical — high usage, bars red

Critical

Bars turn red as context and limits run hot.

Over limit — past 100% context, both bars red

Over limit

Past 100% context — both bars flag it loudly.

Outside a git repo — git segment drops out

No git

Outside a repo? The git segment just disappears.

Model without an effort param — effort indicator omitted

Adaptive

Segments drop out cleanly when their data isn't there.

~30 ms

~5× faster than the bash equivalent · ~1.5 MB · read-only — never touches your session.

Get the latest release

Configure it live, in your terminal.

A full-screen TUI that runs against your own session data: toggle and reorder segments, preview themes and styles live, and tune thresholds without hand-editing TOML.

claudebar TUI configurator with live preview

8 default + 3 optional segments · 16 themes · 7 styles — backed by 232 passing tests, 46 snapshot tests, and 14 edge-case fixtures.

Segments

Eight on by default. Three more available — flip them on when you need them.

Directory

Working directory, abbreviated with ~ for $HOME

Git

Branch, ahead/behind, modified + untracked files, stash count

Model

Active Claude model with inline reasoning effort

Context

Context-window gauge with token counts

Lines

Lines added / removed this session (+321 −87)

Rate Limits

5-hour + 7-day countdowns with color-coded bars

Cost

Session cost in USD

Duration

Session wall-clock time

Available, disabled by default:

Dev Context

Active development context — worktree, PR, agent

Burn

Projected time until a rate-limit window empties, across 5 urgency levels

Clock

Current time, 12h/24h auto-detected with timezone