cc-stat-bar
v1.0.2
Published
A minimalist status bar for the Claude Code CLI
Maintainers
Readme
Claude Code Stat Bar
English | 简体中文
A minimalist status bar for the Claude Code CLI.

Status bar fields:
Context usage ↑input tokens ↓output tokens | 5h usage reset countdown weekly usage reset countdown | Cost duration | Model name (context window) | Project > BranchNote: usage information is only shown for Claude subscribers.
Requirements
- Node.js 18+
- Git
Installation and Configuration
Just configure Claude Code's settings.json. No file download is required:
{
"statusLine": {
"type": "command",
"command": "npx cc-stat-bar@latest"
}
}If startup speed matters, install it globally first with
npm install -g cc-stat-bar, then changecommandtocc-stat-bar.
Uninstall
- Run this command in Claude Code:
/statusline delete- If you installed
cc-stat-barglobally, you can uninstall it withnpm uninstall -g cc-stat-bar.
Advanced Configuration
Customize displayed modules and order
By default, all information is shown. You can append arguments after the command path to choose which modules to display and in what order.
Available modules:
context: context usage and token countsrateLimits: 5-hour / 7-day token usage and reset countdowncost: accumulated cost and session durationmodel: current model name and context window sizeworkspace: project directory and Git branch
Theme Switching
Supports both dark (default) and light themes:
"command": "npx cc-stat-bar --theme light"Configuration Examples
Example 1: Show only context and usage
"command": "npx cc-stat-bar context rateLimits"Example 2: Custom order + light theme
"command": "npx cc-stat-bar --theme light model context cost"