Custom status line for Claude Code shows context usage, rate limits, and token counts at a glance

A Reddit user has published a custom status line script for Claude Code that surfaces key telemetry directly in the terminal: context usage percentage, 5-hour rate limit percentage (Pro/Max only), KV cache reads, cumulative input and output tokens, the active model, and the working directory. The display is color-coded for dark terminals and updates live, so you can see when to run /clear or /compact without guessing.
Setup
The script requires jq and works on macOS and Linux. The user provided a guide with the script, install steps, and a color reference. To install, you can either follow the manual steps or hand the script file to your own Claude Code instance and say: "implement this status line setup."
Extensibility
The script is designed to be easy to extend. You can add custom fields like git branch, session cost, worktree name, or any other data you want in the bar. The 5-hour rate limit display hides cleanly if unavailable (e.g., on free tier).
Who it's for
Developers using Claude Code (especially Pro/Max subscribers) who want real-time insight into resource consumption without context-switching.
📖 Read the full source: r/ClaudeAI
👀 See Also

Claude Code Production Grade Plugin v3.0 Released: Autonomous Software Development Pipeline
Production Grade Plugin v3.0 for Claude Code is now available as free, open-source software under MIT license. The plugin creates a full development pipeline from requirements to deployment with 13 AI skills acting as an engineering team.

Building a Programming Language with Claude Code: The Cutlet Experiment
Ankur Sethi built a complete programming language called Cutlet using Claude Code over four weeks, with the AI generating every line of code while he focused on guardrails and testing. The language features dynamic typing, vectorized operations, and a REPL, running on macOS and Linux.

Claude Code v2.1.142: New claude agents flags, Opus 4.7 default, and bug fixes
Claude Code v2.1.142 adds eight new flags for configuring background sessions, switches fast mode to Opus 4.7 by default, and fixes over a dozen bugs including MCP tool timeout, macOS sleep/wake daemon issues, and Windows network-drive deadlocks.

Femtobot: Efficient Rust Agent for Low-Resource Environments
Femtobot is a lightweight Rust-based AI agent designed to run efficiently on low-resource machines, such as older Raspberry Pis, through a ~10MB binary without large runtime dependencies.