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

OpenYak: Open-Source Desktop AI Agent for Local File Management and Automation
OpenYak is an open-source desktop AI assistant that runs entirely on your machine, offering file management, data analysis, and office automation with 100+ AI models through OpenRouter and 20+ BYOK providers.

graphify-ts: Local MCP server cuts Claude Code PR review tokens from 63K to 8.7K
graphify-ts builds a local knowledge graph of your codebase using tree-sitter AST + Louvain communities + BM25 + optional ONNX rerank, exposing it via MCP stdio. In production tests, it reduced input tokens by 2.6x and latency by 2.8x for code queries, and cut PR review prompts from 63K to 8.7K tokens.

ClawsifyAI Agent Handles Email, Research, and Brainstorming Tasks
A developer tested ClawsifyAI, an AI agent-style claw bot, for a week and found it handled emails, research, repetitive work, and brainstorming. The agent provides clear feedback, practical solutions, and sometimes better ideas than originally planned.

Lore: MCP Server That Shares AI Agent Session History Across Tools
Lore is an MCP server that indexes AI agent sessions into a local SQLite store, letting any agent—regardless of tool—access another's session history. Fresh client sessions, no shared context, yet agents can pull up past conversations on demand.