Claude Code status line
best-claude-hud
A minimal Rust-powered status line HUD for Claude Code.
Install
npm install -g best-claude-hud@latest && best-claude-hud --setupgit clone https://github.com/GaoSSR/best-claude-hud.gitFrom the README
English | 简体中文 | 日本語 Minimal Claude Code statusline HUD, powered by Rust best-claude-hud Overview best-claude-hud is a high-performance Claude Code statusline tool written in Rust. It shows the status information you actually need while using Claude Code in a terminal: model and live reasoning effort, workspace, Git branch/status, context window usage, and optional usage/rate-limit metadata. The default statusline focuses on: - Claude model display with live reasoning effort when available - Claude Code launch directory, stable across temporary working-directory changes - Git branch, clean/dirty/conflict state, and ahead/behind counts - context window usage from Claude Code's official statusLine data, with active-transcript fallback - optional usage/rate-limit, cost, session, and output style segments Install best-claude-hud is distributed through npm. The npm package uses prebuilt native binaries; users do not need Rust installed. Install best-claude-hud and configure Claude Code in one line: Restart Claude Code after setup. Existing sessions do not automatically reload ~/.claude/settings.json. Install only: Using yarn or pnpm: For users in China: Update an existing installation: Uninstall: Nix best-claude-hud also ships a Nix flake for declarative and reproducible environments. Run without installing globally: Install into a Nix profile: For home-manager or another declarative setup, point Claude Code directly at the Nix store binary. The example below declaratively manages the entire ~/.claude/settings.json file and does not merge existing settings. Use it only for a new file or when all Claude Code settings are declared in the same Nix configuration: If you keep ~/.claude/settings.json manually, run best-claude-hud --setup or add the statusLine…
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
- GaoSSR/best-claude-hud
- Type
- Status lines
- Language
- Rust
- License
- Apache-2.0
- Last updated
- 13 August 2026
- Topics
- claude-codeclideveloper-toolshudlinuxmacosnpmruststatuslineterminalwindows
FAQ
What is best-claude-hud?
A minimal Rust-powered status line HUD for Claude Code. It is a status line for Claude Code, from GaoSSR/best-claude-hud on GitHub.
How do I install best-claude-hud?
Run npm install -g best-claude-hud@latest && best-claude-hud --setup, then follow the setup in the README.
Is best-claude-hud popular?
GaoSSR/best-claude-hud has 995 GitHub stars and 24 forks. It was last updated on 13 August 2026.
More status lines
claude-dashboard
586uppinote20/claude-dashboard
A status line plugin showing context usage, API rate limits and session cost.
claude-statusbar
388leeguooooo/claude-code-usage-bar
A one-line status line showing 5-hour and 7-day rate-limit usage, reset countdowns, model and context, with several styles and themes.
cc-statusline
645chongdashu/cc-statusline
Generates an informative status line script for Claude Code through an interactive setup.
model-effort-band
1.1kYeonwooSung/my-claude-code-mods
A mod that shows the selected model and observed effort level in a coloured band above the prompt.
claude-statusline
1.4knilbuild/claude-statusline
A minimal personal status line setup for Claude Code.
claude-code-statusline
479rz1989s/claude-code-statusline
A themeable status line with flexible layouts, cost tracking and MCP server monitoring.
Browse the most popular Claude Code mods, all status lines, or the skills and MCP server directories.