ccstatusline-usage v2.4.4 is a fork of ccstatusline that adds API usage widgets for Claude Code CLI. It provides a highly customizable status line displaying model info, git branch, token usage, session/weekly Anthropic API utilization bars with progress, weekly pace indicator, reset timer, context window display, and off-peak status. It supports multi-provider routing: Anthropic models hit the usage API; opencode/local models (GLM, Kimi, MiniMax, Qwen, Ollama) skip the fetch to avoid unnecessary API calls. Released under MIT license, maintained on GitHub.
npm install ccstatusline-usageNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to set ccstatusline-usage as the status line in Claude Code CLI configuration.
Use npx -y ccstatusline-usage@latest in the statusLine command field.
Ensure model IDs contain expected substrings (e.g., glm, kimi, mm-, qwen, owen, mimo) for opencode routing.
Set ANTHROPIC_API_KEY in your environment before running Claude Code.
Change the statusLine command to use ccstatusline-usage@latest instead of ccstatusline.
Run the package via npx: npx -y ccstatusline-usage@latest
Ensure npm/npx is installed (Node.js >=14) and use the correct package name: ccstatusline-usage
No dependency data recorded yet.