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 Cowork mode explained: file-level task execution vs chat and code modes
Claude's Cowork mode operates inside a chosen folder to perform file-level tasks like organizing messy folders, extracting structured data from screenshots, and combining scattered notes into structured documents.

bareguard: A Lightweight Safety Gate for AI Agents — Now on npm
bareguard v1.0 is a ~1000-line, single-dependency safety layer for AI agents that blocks destructive actions (rm -rf, DROP TABLE) and enforces budget limits with human escalation. Part of the bare suite, live on npm.

Developer builds .NET SaaS template generator with Claude Code, shares workflow insights
A developer open-sourced NETrock, a .NET 10 SaaS starter template with authentication, ORM, and background jobs, then built a client-side generator for it using Claude Code. The generator lets users pick features and download a working .zip project that stays in their browser.

Claude Usage Monitor: Free macOS Menu Bar App for Tracking Claude.ai Limits
A developer built Claude Usage Monitor, a free macOS menu bar app that displays Claude.ai usage with color-coded icons, live counters, and reset timers. The app reads directly from Claude.ai sessions without requiring an API key.