A real-time statusline for Claude Code — context, cost, usage bars, sparkline, and live tool trace, right inside your session.
Website: slima4.github.io/claude-tui
Compact mode — everything in one line:
claudetui mode compactFull mode — three lines with context, session/weekly usage bars, sparkline, and live tool trace:
claudetui mode fullSee the statusline README for the full feature list, customization (claudetui mode custom), widgets, color thresholds, and debugging flags.
brew tap slima4/claude-tui
brew install claude-tui
claudetui setup # configure statusline, hooks, and commandscurl -sSL https://raw.githubusercontent.com/slima4/claude-tui/main/install.sh | bashOr clone and install locally:
git clone https://github.com/slima4/claude-tui.git && ./claude-tui/install.shClaudeTUI requires a Unix-like environment. On Windows, use WSL 2:
curl -sSL https://raw.githubusercontent.com/slima4/claude-tui/main/install.sh | bashclaudetui uninstall
brew uninstall claude-tuiIf you already ran brew uninstall first:
curl -sSL https://raw.githubusercontent.com/slima4/claude-tui/main/uninstall.sh | bashClaudeTUI ships a few companion utilities alongside the statusline. Each lives in its own directory with its own README:
| Tool | What it does |
|---|---|
| claude-code-statusline | The statusline itself — full docs, widgets, color thresholds |
| claude-code-monitor | Live session dashboard for a second terminal — claudetui monitor |
| claude-code-sniffer | API call interceptor proxy — claudetui sniffer / claudetui sniff |
| claude-code-session-stats | Post-session analytics — claudetui stats |
| claude-code-session-manager | Browse, compare, resume, and export sessions — claudetui sessions list |
| claude-code-hooks | Hooks for automatic in-session context: hotspots, reverse deps, churn |
| claude-code-commands | Custom slash commands: /tui:session, /tui:cost, /tui:perf, /tui:context |
| claude_tui_core | Shared domain logic — models, pricing, network, settings |
| claude_tui_components | Shared UI library — progress bars, sparklines, widgets, colors |
MIT

