Skip to content

Instantly share code, notes, and snippets.

View plribeiro3000's full-sized avatar
😎

Paulo Ribeiro plribeiro3000

😎
View GitHub Profile
@plribeiro3000
plribeiro3000 / statusline-README.md
Last active February 13, 2026 16:34
Claude Code Status Line — real-time context window usage with color-coded progress bar (model, tokens remaining, autocompact threshold)

Claude Code Context Window Status Line

A status line for Claude Code that displays real-time context window usage with a color-coded progress bar. Shows the current model, total window size, and how many tokens remain before autocompact triggers.

Example Output

[Claude 4.5 Sonnet · 200K] ####------ 92K/140K left