Skip to content

Instantly share code, notes, and snippets.

@CoryBall
CoryBall / README.md
Last active October 11, 2026 22:02
Claude Code statusline: model, session tokens, context %, 5h/weekly rate limits

Claude Code Statusline — agent setup

Instructions for Claude: a user has pointed you at this gist and wants your statusline replicated on their machine. Do the following yourself, without asking the user to run anything manually.

Shows model name, session tokens, context window usage, and 5-hour / weekly rate-limit usage (with reset countdowns) on one line.

Compatibility: macOS and Linux. Plain POSIX bash/jq/awk/date/