Claude Code status line
claude-code-statusline
A status line showing git state, context usage, model and cost with minimal setup.
Install
git clone https://github.com/glauberlima/claude-code-statusline.gitFrom the README
Claude Code Statusline Ridiculously simple. Surprisingly rich. π‘ What You Get More context in Claude Code's statusline: directory, git status, file changes, model, context usage with progress bar, and cost β all visible at once. Install with one command. Works immediately. Configure when you need it. β¨ Quick Install macOS / Linux / WSL Windows β PowerShell Custom install directory Override where the binary and config are installed (default: ~/.claude): Install a specific version To install a specific release (e.g. for testing an unstable build): Both parameters can be combined: Release tags are listed on the GitHub releases page. Features - π Directory name - πΏ Git branch - βοΈ File changes - π€ Model name - π Context usage with progress bar and funny messages - π° Cost tracking - π¨ Color themes (Dracula, Tokyo Night, One Dark, Solarized Dark, Phosphor) βοΈ Configuration Edit ~/.claude/statusline.toml to customize features. Generate the default config: macOS / Linux / WSL Windows β PowerShell Available options: cost, messages, messages_language (en/pt/es), usage_bar_style (plain/rainbow/gradient/gsd/dracula/tokyo-night/one-dark/solarized-dark/phosphor), theme (default/dracula/tokyo-night/one-dark/solarized-dark/phosphor). π¨ Themes theme recolors the directory, git branch, file changes, model, cost, and context (plain bar style only) segments using the official palette of the selected theme. The rainbow and gsd bar styles are unaffected by theme β they always use their own fixed colors. The gradient and per-theme bar styles below are also independent of theme β pick them via usage_bar_style regardless of which theme is active. π Themed progress bars usage_bar_style also accepts each theme's nameβ¦
How status lines work
- A status line is a command Claude Code runs to draw the bar under the prompt. It gets the session as JSON on stdin (model, folder, cost, context) and prints one or more lines.
- Point the statusLine setting in ~/.claude/settings.json at it: { "statusLine": { "type": "command", "command": "<the command from the README>" } }.
- Or run /statusline inside Claude Code and describe what you want.
Details
- Repository
- glauberlima/claude-code-statusline
- Type
- Status lines
- Language
- Rust
- License
- MIT
- Last updated
- 19 August 2026
- Topics
- bashclaudeclaude-codeclicost-trackingdeveloper-experiencedeveloper-toolsgitobservabilityopen-sourceproductivitystatusline
FAQ
What is claude-code-statusline?
A status line showing git state, context usage, model and cost with minimal setup. It is a status line for Claude Code, from glauberlima/claude-code-statusline on GitHub.
How do I install claude-code-statusline?
Clone glauberlima/claude-code-statusline from GitHub and follow the setup steps in its README.
Is claude-code-statusline popular?
glauberlima/claude-code-statusline has 52 GitHub stars and 7 forks. It was last updated on 19 August 2026.
More status lines
Ccburn
97JuanjoFuchs/ccburn
Claude Code usage limits β TUI with burn-up charts, compact mode for status bars, JSON for automation
claude-ultimate-hud
49ai-younggle-man/claude-ultimate-hud
A status line combining rate limits, cost, project info, tool activity and todo progress.
goccc
35backstabslash/goccc
A single-binary cost calculator that can also drive a customizable Claude Code status line.
claude-tui
46slima4/claude-tui
A real-time status line plus a live session monitor and analytics hooks for Claude Code.
waybar-ai-usage
55NihilDigit/waybar-ai-usage
Displays Claude Code and Codex usage in the Waybar status bar on Linux.
cc-statusline-rs
42khoi/cc-statusline-rs
A Rust status line generator for Claude Code.
Browse the most popular Claude Code mods, all status lines, or the skills and MCP server directories.