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

✍️ OpenClawRadar📅 Published: April 1, 2026🔗 Source
cstat: A Native Rust Status Line for Claude Code with 2ms Performance
Ad

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
Ad

Installation and Setup

Install via Homebrew:

brew install basuev/cstat/cstat

Then 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

Ad

👀 See Also

🦀
Tools

Multi-Agent Memory: Open Source Shared Memory System for AI Agents

Multi-Agent Memory is an open source project that provides a shared memory system for AI agents across different machines, tools, and frameworks. It supports four distinct memory types with specific behaviors and includes features like credential scrubbing, agent isolation, and LLM consolidation.

OpenClawRadar
WinRemote MCP: Open Source MCP Server for Full Control of Windows Desktops
Tools

WinRemote MCP: Open Source MCP Server for Full Control of Windows Desktops

WinRemote MCP provides AI agents with full control over Windows desktops, allowing for UI detection, file operations, registry access, and more, utilizing over 40 tools.

OpenClawRadar
Developer Builds Open Source AI Skill to Validate Startup Ideas, Kills Own Idea in 10 Minutes
Tools

Developer Builds Open Source AI Skill to Validate Startup Ideas, Kills Own Idea in 10 Minutes

A developer built an open source AI skill called startup-design that walks through 8 phases of startup validation from brainstorming to financial projections. When testing it on his own startup idea, the skill asked hard questions that revealed he wasn't the right founder for that particular concept.

OpenClawRadar
Open-Source Tool Measures AI Coding Agent Autonomy with Local Data Analysis
Tools

Open-Source Tool Measures AI Coding Agent Autonomy with Local Data Analysis

Codelens-AI is an open-source CLI tool that analyzes Claude Code session files alongside git history to calculate autonomy metrics like Autopilot Ratio and Self-Heal Score. The tool runs locally with zero setup using npx claude-roi and keeps all data on your machine.

OpenClawRadar