cstat: A Native Rust Status Line for Claude Code with 2ms Performance

What cstat Does
cstat is a native Rust binary that provides a status line for Claude Code. It addresses performance issues with existing solutions by eliminating subprocess spawning.
Performance Comparison
The developer reports that claude-hud spawns 24 subprocesses (jq, git, grep, date) on every invocation, taking 62ms each time. Claude Code calls the status line command approximately every 300ms. cstat achieves the same functionality in 2ms with zero subprocess spawns.
Displayed Information
- Model name
- Rate limits with reset countdown timers
- Project directory
- Git branch and dirty state
- Context window usage (color-coded)
- Active tools with file targets (e.g., Edit auth.ts, Grep x3)
- Running subagents with model and duration
- Task progress
Installation and Setup
Install via Homebrew:
brew install basuev/cstat/cstatThen add to ~/.claude/settings.json:
{"statusLine": {"type": "command", "command": "cstat"}}Technical Details
- Single ~1MB binary
- No runtime dependencies
- Statically linked Linux builds
Source
Available on GitHub: https://github.com/basuev/cstat
📖 Read the full source: r/ClaudeAI
👀 See Also

ModelFitAI: Deploy AI Agents Without VPS Setup, Built with Claude Code
ModelFitAI is a platform that lets developers deploy AI agents directly on its infrastructure, eliminating VPS setup, Docker configuration, and SSH sessions. The entire platform was built using Claude Code by a solo founder.

HomeButler: MCP Server for Managing Homelab Servers from Claude Without API Keys
HomeButler is an MCP server that lets Claude install, monitor, and manage self-hosted apps on homelab servers without requiring API keys. It runs locally, keeps everything on your network, and was built with Claude Code.

Cognithor: A Local-First Agent OS with PGE Trinity Architecture
Cognithor is a fully local, autonomous Agent OS built over a year with 16 development phases. It features the PGE Trinity architecture (Planner → Gatekeeper → Executor), 11,609+ tests with 89% coverage, and supports 16 LLM providers including Ollama and LM Studio.

Scaffold Framework Addresses Claude Code Memory and Workflow Issues
Scaffold is a 17-skill framework for Claude Code that provides persistent memory, decision enforcement, and workflow gates. It uses a 3-tier model routing system for token savings and can be installed via the Claude Code plugins menu.