Claude Code status line
claudia-statusline
A Rust status line with compaction detection and SQLite-backed session tracking across consoles.
Install
git clone https://github.com/hagan/claudia-statusline.gitFrom the README
Claudia Statusline *Enhanced statusline for Claude Code - track costs, git status, and context usage in real-time* A high-performance statusline for Claude Code that shows you workspace info, git status, model usage, session costs, and more. Example output: Quick Install That's it! The installer downloads the right binary, installs it, and configures Claude Code automatically. Need help? See Installation Guide for all platforms and options. What You Get - Current directory with ~ shorthand - Git branch and changes (+2 added, ~1 modified, ?3 untracked) - Context usage with progress bar (45% [=====>----]) - Real-time compaction detection (experimental) - instant feedback via hooks (~600x faster) - Normal: 79% [========>-] ⚠ (warning when approaching limit) - In Progress: Compacting... ⠋ (hook-based, -----] ✓ (checkmark after successful compact) - Claude model (O4.5/S4.5/H4.5 - consistent version display) - Session duration (1h 23m) - Cost tracking ($3.50 session, $2.54/hour burn rate) - Lines changed (+150 added, -42 removed) Automatic features: - Persistent cost tracking across sessions - Multi-console safe (run multiple Claude instances) - 11 embedded themes (dark, light, monokai, solarized, high-contrast, gruvbox, nord, dracula, one-dark, tokyo-night, catppuccin) - 5 layout presets (default, compact, detailed, minimal, power) with custom template support - 4 model formats (abbreviation: O4.5, full: Claude Opus 4.5, name: Opus, version: 4.5) - SQLite database for reliability - Token rate metrics (opt-in) - display tokens/second with cache efficiency tracking - Hook-based compaction detection (experimental, opt-in) - instant real-time feedback via Claude Code hooks - Adaptive context learning (experimental, opt-in) - learns actual context limits by…
How status lines work
- A status line is a command Claude Code runs to draw the bar under the prompt. It gets the session as JSON on stdin (model, folder, cost, context) and prints one or more lines.
- Point the statusLine setting in ~/.claude/settings.json at it: { "statusLine": { "type": "command", "command": "<the command from the README>" } }.
- Or run /statusline inside Claude Code and describe what you want.
Details
- Repository
- hagan/claudia-statusline
- Type
- Status lines
- Language
- Rust
- Last updated
- 1 November 2026
- Topics
- claude-codeclirustsqlitestatusline
- Listed in
- awesome-claude-code (extra)
FAQ
What is claudia-statusline?
A Rust status line with compaction detection and SQLite-backed session tracking across consoles. It is a status line for Claude Code, from hagan/claudia-statusline on GitHub.
How do I install claudia-statusline?
Clone hagan/claudia-statusline from GitHub and follow the setup steps in its README.
Is claudia-statusline popular?
hagan/claudia-statusline has 37 GitHub stars and 6 forks, and is included in 1 curated Claude Code list. It was last updated on 1 November 2026.
More status lines
Model Relay
106cablate/model-relay
Per-window model switcher, subagent router, and automatic 429 failover for Claude Code — switch any window with /provider, delegate subagents across models, and keep Remote Control & statuslines working.
claudeline
55fredrikaverpil/claudeline
A minimalist status line for Claude Code written in Go.
claude-usage-monitor
58aiedwardyi/claude-usage-monitor
A status line plugin showing 5-hour and 7-day quota, context usage, tokens and reset countdowns.
waybar-ai-usage
55NihilDigit/waybar-ai-usage
Displays Claude Code and Codex usage in the Waybar status bar on Linux.
arcade-statusline
81sorosora/arcade-statusline
An arcade-themed status line with a Pac-Man style chase game and a flower-trail animation.
goccc
35backstabslash/goccc
A single-binary cost calculator that can also drive a customizable Claude Code status line.
Browse the most popular Claude Code mods, all status lines, or the skills and MCP server directories.