Claude Code Statusline Generator

•
1.2k
•

Customizes and troubleshoots the Claude Code status bar with real-time token tracking, cost analysis, and git status updates.

The Statusline Generator is a professional-grade utility for Claude Code that provides a highly configurable status bar, offering critical visibility into token consumption, session costs, and development context. It resolves the common 'blank statusline' issue through automated health checks and robust installation scripts, allowing developers to switch between minimal layouts for focus or full multi-line displays that include git branches and ccusage cost tracking. By converting percentages into absolute token counts, it ensures developers have precise control over their context window usage during complex coding sessions.

Key Features

01Integrated cost tracking via ccusage and git branch status indicators.
02Automated health check and installation scripts to prevent silent terminal failures.
03Real-time token usage monitoring with absolute counts and color-coded context thresholds.
04Advanced debug mode for capturing and inspecting Claude Code JSON stdin payloads.
05Switchable layouts between minimal one-line and full multi-line displays via environment variables.
061,174 GitHub stars

Use Cases

01Optimizing context window usage by monitoring absolute token counts during large-scale refactors.
02Troubleshooting and fixing unresponsive or blank Claude Code status bars with built-in diagnostics.
03Tracking project expenses in real-time with integrated session and daily cost displays.