Skip to content

Instantly share code, notes, and snippets.

@benabraham
Last active January 26, 2026 21:05
Show Gist options
  • Select an option

  • Save benabraham/3728d8efd4dd62ad82b22e0e286e85d0 to your computer and use it in GitHub Desktop.

Select an option

Save benabraham/3728d8efd4dd62ad82b22e0e286e85d0 to your computer and use it in GitHub Desktop.
Simple Claude Code status line with context usage progress bar (dark/light themes, truecolor/256 fallback)
#!/usr/bin/env python3
"""
This script has moved to GitHub:
https://github.com/benabraham/claude-code-status-line
Please download the latest version from the repo:
curl -o ~/.claude/claude-code-status-line.py https://raw.githubusercontent.com/benabraham/claude-code-status-line/main/claude-code-status-line.py
"""
print("\033[1m\033[38;5;220mThis statusline script has moved to GitHub:\033[0m")
print("\033[1m https://github.com/benabraham/claude-code-status-line\033[0m")
print()
print("Update with:")
print(" curl -o ~/.claude/claude-code-status-line.py https://raw.githubusercontent.com/benabraham/claude-code-status-line/main/claude-code-status-line.py")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment