Claude Status Line — Design skill for Claude Code
Beautiful status line for Claude Code with per-window token tracking, visual indicators, and intelligent fallbacks.
How to install Claude Status Line
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open lukaskraic/claude-status-line and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Status Line does
Beautiful status line for Claude Code with per-window token tracking, visual indicators, and intelligent fallbacks.
Alternatives in Design
- Canvas Design — Create beautiful visual art in PNG and PDF documents using design philosophy 94.1k ★
- Poco Claw — A more beautiful and easier-to-use alternative to OpenClaw 1.3k ★
- Claude Powerline — by Owloops - A vim-style powerline statusline for Claude Code with real-time usage tracking, git integration 940 ★
README
Claude Code Status Line with Token Counter
Status line for Claude Code that shows how much context you have left **before auto-compact fires** — not before the raw window ends.
Features
- ✅ Auto-compact aware: measures usage against
context_window_size - autocompact_buffer, which is the limit that actually triggers compaction - ✅ Exact token counts: reads
context_window.total_input_tokensfrom the status line JSON, no transcript parsing or guesswork - ✅ Visual Indicators:
- ✓ Safe (0-74% usage)
- ⚠ Warning (75-89% usage)
- ⚠⚠ Critical (90-100% usage, auto-compact imminent)
- ✅ Session & week limits: 5-hour session usage with countdown to reset, and 7-day usage, in % (Pro/Max); ⚠ from 80%
- ✅ Respects your auto-compact config: honours
CLAUDE_CODE_AUTO_COMPACT_WINDOW,autoCompactWindowandautoCompactEnabled - ✅ Git Integration: shows current branch when in a git repository
- ✅ Model Display: shows which Claude model you're using
Demo
Format: ~/directory (branch) [Model Name] ✓ XXk/YYYk (ZZ%) · Session S% (reset 1h23m) · Week W%
Examples:
~/Work/myproject (main) [Opus 5] ✓ 138k/967k (14%) · Session 14% (reset 2h05m) · Week 9%
~/Documents (develop) [Sonnet 5] ⚠ 130k/167k (78%) · Session ⚠86% (reset 42m) · Week 31%
~/.claude [Haiku 4.5] ⚠⚠ 150k/167k (90%)
The denominator is the effective window: 967k on a 1M model, 167k on a 200k model.
Session and Week come from the account rate limits, which Claude Code only sends for Pro/Max subscriptions (last example is an API-key user).
Quick Install
Prerequisites
- Claude Code 2.1.6 or newer (the
context_windowfield in the status line JSON) jqinstalled:brew install jq # macOS sudo apt install jq # Linux
Installation
- Download and install the script:
curl -o ~/.claude/statusline-with-tokens.sh \ https://raw.githubusercontent.com/lukaskraic/claude-status-line/main/sta
Related Skills
ClawDeck
Control Stream Deck buttons for Claude Code terminal sessions with live status, tap-to-focus, hold-to-dictate,
Lost Island Windows
A Dynamic Island for Windows 10 and 11, written in C++ with Direct2D. Live activities, Claude Code status, mus
Claudeview
Terminal dashboard for real-time Claude Code session monitoring — k9s-style TUI with live tool call tracking,
UI Themes
Switchable UI themes for Claude Code: padded message boxes, themed markdown, matching status line
Claude Config Manager
Local, open-source UI for editing every Claude Code config file from one place — settings, CLAUDE.md, MCP serv
Lippstack
My Claude Code stack: mods (agents panel, stage bar, done notifications, status line), product owner skills fo
Related Agents
Tp Session Restorer
PROACTIVELY use this as the FIRST step after /clear, compaction, or a fresh window when a recent session_snaps
Artist
Visual content creator. Called BY Media skill workflows only. Expert at prompt engineering, model selection (F
Growth Analytics
Analytics setup and post-launch analysis. Use to implement KPI/event tracking, and to run cohort/RFM/window-fu