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

✍️ OpenClawRadar📅 Published: May 5, 2026🔗 Source
Custom status line for Claude Code shows context usage, rate limits, and token counts at a glance
Ad

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

Ad

👀 See Also

Self-Evolving Skill pattern validation: 5-round experiment results
Tools

Self-Evolving Skill pattern validation: 5-round experiment results

A developer tested the Self-Evolving Skill design pattern for Claude Code with a 5-round experiment on a MySQL database with 29 tables and 590MB of smart building management data. Key results include a 63.6% Five-Gate rejection rate, incremental convergence, and 100% accuracy with no incorrect knowledge surviving.

OpenClawRadar
BuddyBoard: A Competitive Leaderboard for Claude Code's /buddy Feature
Tools

BuddyBoard: A Competitive Leaderboard for Claude Code's /buddy Feature

BuddyBoard is a community-built tool that creates a competitive leaderboard for Claude Code's /buddy feature, generating trading cards with stats, rarity tiers, and a BuddyDex tracking 1,728 possible combinations. Run with npx buddy-board to submit your buddy to the global ranking.

OpenClawRadar
Ephemeral OpenClaw setups with network sandboxing and auto-teardown
Tools

Ephemeral OpenClaw setups with network sandboxing and auto-teardown

A setup that boots OpenClaw inside an ephemeral VM with a network egress allowlist, injects API keys into RAM-backed storage, and includes a 2-hour auto-teardown. All LLM calls are recorded to SQLite for replay.

OpenClawRadar
Unsloth and NVIDIA Collaborate to Speed Up LLM Training by ~25%
Tools

Unsloth and NVIDIA Collaborate to Speed Up LLM Training by ~25%

Unsloth and NVIDIA release optimizations for LLM training: caching packed-sequence metadata (~14.3% speedup) and double-buffered async gradient checkpointing (~8% speedup), with no accuracy loss. Auto-enabled on RTX laptops, data center GPUs, and DGX Spark.

OpenClawRadar