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

WeAreHere Browser Extension and MCP Tools Scan Website Privacy Practices
Two open-source tools—barebrowse and wearehere—scan websites for trackers, fingerprinting, and data broker connections. The wearehere browser extension shows real-time privacy scores (0-100) as you browse, while MCP servers enable AI assistants to assess any site on command.

agentcache: Python Library for Multi-Agent LLM Prefix Caching
agentcache is a Python library that enables multi-agent LLM frameworks to share cached prompt prefixes, achieving up to 76% cache hit rates and cutting inference time by more than half in tests with GPT-4o-mini.

jsongrep: A DFA-Based JSON Query Tool That Outperforms jq in Benchmarks
jsongrep is a Rust-based command-line tool for querying JSON documents using a regular language syntax that compiles to deterministic finite automata (DFA), achieving faster search times than jq, jmespath, jsonpath-rust, and jql in benchmarks.

AGENTS.md Schema for LLM-Compiled Knowledge Bases with Learning Layer
AGENTS.md v1.0 provides a schema standard for Claude to build and maintain personal research wikis from raw sources, including a spaced repetition learning layer with automatic flashcard generation and knowledge gap tracking.