Rate Limit and Session Info v2
audited$1.00Two-line HUD: 5h/7d rate-limit countdowns, context % + tokens, cache-hit %, cost, model, effort, lines changed, git repo:branch with up/down drift. Semantic per-metric color ramps; responsive width sheds low-value segments so narrow terminals never wrap.
A pure-display bash statusline that reads Claude Code session JSON from stdin and renders two color-coded rows: a 'usage' row (5h/7d rate-limit countdowns, context %/tokens, cache-hit %, cost) and a 'session' row (directory, model, effort level, lines changed, git repo:branch with ahead/behind drift). It parses JSON via jq, runs read-only git commands against the workspace directory, uses awk/sed/date for formatting and color math, and does responsive width-shedding based on the COLUMNS env var. It reads $HOME/.claude/settings.json only to fall back for the effort level. No network calls, no file writes, no shell/config modification, no encoded or eval'd payloads.
Audits are advisory. This script runs on your machine — read it before installing.