Claude Code status line
Bar
A statusline for Claude Code that shows context usage, session limits, and git info right in your terminal.
Install
npx @allthingsclaude/barFound in the project README. Check it for setup steps after installing.
git clone https://github.com/allthingsclaude/bar.gitFrom the README
Bar by All Things Claude A statusline for Claude Code. Shows context usage, session limits, and git info — right in your terminal. Quick start The interactive setup wizard will: 1. Ask which lines you want visible (context, session, git) 2. Install claude-bar globally 3. Open your browser to authenticate with your Anthropic account 4. Configure Claude Code's statusLine in ~/.claude/settings.json Restart Claude Code and you're done. Manual setup If you prefer to set things up yourself: 1. Install 2. Authenticate Opens your browser to sign in with your Anthropic account (OAuth + PKCE). Tokens are stored securely in ~/.bar/tokens.json. 3. Configure Claude Code Add to your Claude Code settings (~/.claude/settings.json): What it shows Progress bars shift from dim to bright as usage increases. Line visibility The setup wizard saves your preferences to ~/.bar/config.json. You can also edit it directly: Set any line to false to hide it. Commands Auth options Bar resolves tokens in this order: 1. BAR_TOKEN environment variable 2. CLAUDE_CODE_OAUTH_TOKEN environment variable 3. ~/.bar/tokens.json (created by claude-bar login) License MIT
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
- allthingsclaude/bar
- Type
- Status lines
- Website
- allthingsclaude.cc
- Language
- JavaScript
- Last updated
- 5 May 2026
FAQ
What is Bar?
A statusline for Claude Code that shows context usage, session limits, and git info right in your terminal. It is a status line for Claude Code, from allthingsclaude/bar on GitHub.
How do I install Bar?
Run npx @allthingsclaude/bar, then follow the setup in the README.
Is Bar popular?
allthingsclaude/bar has 29 GitHub stars and 0 forks. It was last updated on 5 May 2026.
More status lines
claude-code-statusline
13jsubroto/claude-code-statusline
A terminal configurator for picking status line fields and a theme.
Claude Tab Tracking
26lightpointventures/claude-tab-tracking
Real-time task tracking and conversation memory for Claude Code sessions
agent-usage-tmux
13artischocki/agent-usage-tmux
Shows Claude Code and Codex usage in the tmux status line.
claude-scope
11YuriNachos/claude-scope
A dependency-free status line with multiple widgets and themes.
Claude Statusline
27hell0github/claude-statusline
A Lightweight Statusline plugin for Claude Code CLI to track context, cost usage and session reset time
Ccbar
25Narcooo/ccbar
A lightweight, per-project tracking cost & quota statusline for Claude Code with zero dependencies.
Browse the most popular Claude Code mods, all status lines, or the skills and MCP server directories.