Skip to main content

Beautiful, informative status line for Claude Code — zero dependencies, cross-platform

Project description

claude-status

Beautiful, informative status line for Claude Code — zero dependencies, cross-platform.

PyPI version Python versions License: MIT CI

[████████░░░░░░░░░░░░] in:245K out:18K cache:78% $0.73 burn:2.1K/min 12m05s +247 -38 ⎇ feat/statusline (200K)

Why claude-status?

  • Zero dependencies — pure Python stdlib, installs in seconds
  • Cross-platform — Windows, macOS, Linux — tested on all three
  • pip install — no npm, no cargo, no compilation

Quick Start

pip install claude-status
claude-status --install

Restart Claude Code. Done.

Installation

pip (recommended)

pip install claude-status
claude-status --install

pipx (isolated)

pipx install claude-status
claude-status --install

uvx (fast)

uvx claude-status --install

From source

git clone https://github.com/mkalkere/claude-statusline.git
cd claude-status
pip install -e .
claude-status --install

What --install does

Adds statusLine to ~/.claude/settings.json — preserves all existing settings. Use --theme to pick a theme: claude-status --install --theme powerline

Command not found? Make sure your Python scripts directory is in PATH. Fallback: python -m claude_statusline --install

Features

Feature Description
Context bar 20-char progress bar, green/yellow/red adaptive
Token counts Input/output with human-readable formatting (245K, 1.2M)
Cache efficiency % of tokens served from prompt cache
Cost tracking Session cost in USD
Burn rate Tokens/min consumption rate
Session duration Wall-clock time
Lines changed +added / -removed with git-diff colors
Git branch Color-coded (green=main, yellow=feature)
Context size (200K) vs (1M) indicator
!CTX warning Red alert when exceeding 200K tokens
Vim mode NORMAL/INSERT indicator
Agent name Shows active subagent
Worktree Branch indicator when in worktree

Themes

default

[████████░░░░░░░░░░░░] │ in:245K out:18K │ cache:78% │ $0.73 │ burn:2.1K/min │ 12m05s │ +247 -38 │ ⎇ feat/statusline │ (200K)

minimal

●●●●●●●●·············· 245K $0.73 12m05s ⎇ feat/statusline

powerline

████████░░░░░░░░░░░░  in:245K out:18K  cache:78%  $0.73  burn:2.1K/min  12m05s  +247 -38  ⎇ feat/statusline  (200K)

Preview all themes: claude-status --demo

CLI Reference

Command Description
claude-status --install Auto-configure Claude Code
claude-status --install --theme powerline Install with specific theme
claude-status --demo Preview all themes with sample data
claude-status --doctor Diagnostics: Python, OS, terminal, settings
claude-status --version Version info
claude-status --help Usage

Manual Configuration

If you prefer manual setup, add to ~/.claude/settings.json:

{
  "statusLine": "claude-status"
}

Or with a theme:

{
  "statusLine": "claude-status --theme minimal"
}

Comparison

Feature claude-status ccstatusline claude-powerline
Language Python Node.js Bash
Dependencies 0 npm bash-only
pip install Yes No No
Cross-platform Yes Partial Unix only
Themes 3 1 1
Burn rate Yes No No
Auto-install Yes Manual Manual

Uninstall

pip uninstall claude-status

Then remove "statusLine" from ~/.claude/settings.json.

Contributing

See CONTRIBUTING.md.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

claude_status-0.1.0.tar.gz (14.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

claude_status-0.1.0-py3-none-any.whl (12.8 kB view details)

Uploaded Python 3

File details

Details for the file claude_status-0.1.0.tar.gz.

File metadata

  • Download URL: claude_status-0.1.0.tar.gz
  • Upload date:
  • Size: 14.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for claude_status-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b15bc50319d5206160216e23233634770968df106d560730e850770552a0beb2
MD5 278521e194fd0ea7d6af63e72e9e4866
BLAKE2b-256 02bbcc35d8395d7a0a1e86577e84bc1f7ef2690a9924729d77ea5583e69024dd

See more details on using hashes here.

Provenance

The following attestation bundles were made for claude_status-0.1.0.tar.gz:

Publisher: publish.yml on mkalkere/claude-statusline

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file claude_status-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: claude_status-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 12.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for claude_status-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 913220ff362c05e54a155c4fa6b6319ba426301474f3706f5e479b391a8362c4
MD5 299d20f15642b053bd85f89ad0492711
BLAKE2b-256 5f6a6e512e22459bf0f56470292ae3be0e095594d3d96da2bf15f5aedc1c3998

See more details on using hashes here.

Provenance

The following attestation bundles were made for claude_status-0.1.0-py3-none-any.whl:

Publisher: publish.yml on mkalkere/claude-statusline

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page