Back to home

Claude Statusline

A real-time statusline for Claude Code CLI that provides at-a-glance visibility into your coding session. Designed for developers who live in the terminal.

What it shows:

  • Context window — Visual bar showing how much of Claude's context is consumed
  • API rate limits — Color-coded bars (green → yellow → red) for remaining requests
  • Git state — Current branch, lines added/removed, uncommitted changes
  • Session metrics — Duration, tool calls, and cost estimate

Built with performance as a first-class concern — batched JSON parsing ensures renders complete in under 50ms even with complex git repositories. Published on npm as @cmorenogit/claude-statusline.

Key Features

  • Real-time context window usage visualization
  • API rate limit bars with color-coded thresholds
  • Git branch, lines changed, and session duration
  • Batched JSON parsing for <50ms render time
  • Published on npm as @cmorenogit/claude-statusline