Statusline
codyhxyz/statusline
Painel de controle de tokens e limites de taxa para Claude Code
Ver no GitHubDashboard em tempo real para Claude Code que monitora uso de contexto, limites de taxa (5h e 7d) e countdowns de reset com indicadores visuais em anel com gradiente HSL. Previne esgotamento de token antes que o sistema avise para usar /clear.
Instalação
npx convez-ai codyhxyz/statusline1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.
Métricas
Casos de uso
- Monitorar uso de contexto em sessões longas
- Gerenciar limites de taxa de requisições (5h e 7d)
- Receber alertas visuais antes de atingir limites de token
- Otimizar custos evitando contexto deteriorado
Veredito

Ferramenta essencial para quem usa Claude Code em sessões intensivas. A visualização em tempo real dos limites de taxa e contexto elimina surpresas de esgotamento, mas exige jq instalado e terminal com suporte a 24-bit truecolor.
README
A tradução para o português deste README ainda está na fila.
statusline
My Claude Code statusline. Built around token management and context-rot prevention.
Opus 4.7 is sharp, but the new cost of sharpness is that vague prompts burn tokens at a real clip. So my main priority right now is aggressive context management: watch the context window, watch the session limits, dial down thinking effort when I can.
This statusline is the dashboard for that. Always on. That way I don't find out I'm hemorrhaging tokens only when Claude tells me to /clear.
What it shows
Opus 4.7 (1M context) ctx ◑ 42% [420k] · 5h ◔ 24% [T-3h12m] · 7d ○ 8% [T-5d14h]
ctx— current context window usage (auto-detects 200k vs 1M from the model ID) with a color-graded ring (green → red) and raw token count.5h— Max session (5-hour) rate limit usage with a live countdown to reset.7d— rolling 7-day rate limit usage with a live countdown to reset.
All countdowns come straight from Claude Code's rate_limits payload. Nothing hard-coded, nothing to configure. The ring glyph (○ ◔ ◑ ◕ ●) plus a 24-bit color gradient is the point. You don't have to read the number to know you're in the red.
Install
/plugin marketplace add codyhxyz/codyhxyz-plugins
/plugin install statusline@codyhxyz-plugins
See the full codyhxyz-plugins marketplace for my other plugins.
How I actually manage context
The statusline is the dashboard. What I do with it:
- Keep
/statuslineon, always. By the time Anthropic tells you to/clear, you've already been paying for a bloated context for a while. /clearearly and often. Hand context to a fresh session yourself. Cheaper than letting the current one rot.- Push subtasks to subagents so the main thread stays lean without breaking flow.
That's how I run ~10 parallel Claudes on Max x20 without the wheels coming off. :L)
Bonus: if your prompts are vague, Opus will punish you
Opus 4.7 burns real tokens on vague prompts. If you already know the prompt you're about to send is sloppy, try my prompt-optimizer plugin — @prompt-optimizer at the end does it. Burn fewer tokens, get better results.
Requirements
jqon PATH (macOS:brew install jq)- A terminal that supports 24-bit truecolor (basically every modern one)
License
MIT
Part of codyhxyz-plugins 🍋 — my registry of Claude Code plugins.