A custom statusline for Claude Code that displays:
- Folder name (dim cyan) — the current workspace directory
- Git branch (dim yellow) — shown only inside a git repo
- Model name (dim magenta) — e.g.
Opus 5 - Context usage (dim white) —
ctx 3% (32.3k)with percentage and token count - Rate limits (green → yellow → red) —
limit: (42%|68%)for 5-hour and 7-day windows, color-coded by severity