Claude Code status line

claude-statusline

A status line with 18 themes, rate limits, context tracking and an ASCII Claude avatar.

26 stars 2 forksStatus lines Source

Install

From source
git clone https://github.com/bartleby/claude-statusline.git

From the README

Claude Code Statusline

Compact, colorful status line for Claude Code CLI with 21 themes, real-time rate limits, context usage, cost tracking and git info.

Works on macOS, Linux, and Windows!

Features

- 21 Themes — from Kratos to Spiderman, switch with /skin command
- Rate limits — 5-hour and 7-day usage with progress bars + time until reset
- Context usage — real-time token consumption with color-coded alerts
- Cost & Time — session cost in USD and total time
- Git info — branch name, uncommitted changes count
- Lines changed — added/removed lines counter

Install

macOS / Linux

Windows (PowerShell)

Press Shift+Tab to see the statusline!

Themes

21 themes available. Use /skin to see gallery or /skin  to apply.

Press Shift+Tab to refresh statusline after changing skin.

Usage

Reading the statusline

The statusline displays three rows of information:

Row 1 — Model, directory, git branch, changes count, lines added/removed
Row 2 — Context usage, session cost in USD, session time
Row 3 — 5-hour rate limit with reset time, weekly rate limit with reset time

Status indicators

Color warnings

Progress bars change color based on usage:
- Normal color — under 70%, plenty of capacity
- Yellow/Warning — 70-89%, approaching limit
- Red/Critical — 90%+, limit almost reached

Changing themes

After applying a theme, press Shift+Tab to refresh the statusline.

Folder skins are stored in ~/.claude/skin_dirs ( per line) and override the global skin; the most specific matching folder wins.

Uninstall

macOS / Linux

Windows (PowerShell)

Requirements

macOS / Linux
- jq — JSON processor (brew install jq)
- git — for repository info

Windows
- Python 3.8+ (from python.org or Microsoft Store)
- git — for repository info
- keyring package (optional, for rate limits): pip install…
Read the full README on GitHub

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.
Claude Code docs

Details

Language
Python
Last updated
5 October 2026
Topics
anthropicclaude-codeclirate-limitsstatusline

FAQ

What is claude-statusline?

A status line with 18 themes, rate limits, context tracking and an ASCII Claude avatar. It is a status line for Claude Code, from bartleby/claude-statusline on GitHub.

How do I install claude-statusline?

Clone bartleby/claude-statusline from GitHub and follow the setup steps in its README.

Is claude-statusline popular?

bartleby/claude-statusline has 26 GitHub stars and 2 forks. It was last updated on 5 October 2026.

More status lines

Browse the most popular Claude Code mods, all status lines, or the skills and MCP server directories.