Claude Code status line

claude-code-statusline

A status line showing git state, context usage, model and cost with minimal setup.

52 stars 7 forksStatus lines Source

Install

From source
git clone https://github.com/glauberlima/claude-code-statusline.git

From 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…
Read the full README on GitHub

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.
Claude Code docs

Details

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

Browse the most popular Claude Code mods, all status lines, or the skills and MCP server directories.