Status bar fields:
Context usage ↑input tokens ↓output tokens | 5h usage reset countdown weekly usage reset countdown | Cost duration | Model name (context window) | Project > Branch
Note: usage information is only shown for Claude subscribers.
- Node.js 18+
- Git
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.
- Run this command in Claude Code:
/statusline delete- If you installed
cc-stat-barglobally, you can uninstall it withnpm uninstall -g cc-stat-bar.
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
Supports both dark (default) and light themes:
"command": "npx cc-stat-bar --theme light"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"
