sirmalloc/ccstatusline

🚀 Beautiful highly customizable statusline for Claude Code CLI with powerline support, themes, and more.

What it solves

It provides a highly customizable status line for the Claude Code CLI, allowing users to monitor essential session metrics directly in their terminal. It solves the problem of needing to manually run commands or switch contexts to track token usage, git status, API costs, and model performance while working with Claude Code.

How it works

It runs as a companion to the Claude Code CLI, reading its session data and state to render a real-time status bar. Users can configure the layout, colors, and visible widgets through an interactive terminal user interface (TUI). It supports advanced features like Powerline-style layouts, gradient coloring, and custom widget triggers.

Who it’s for

It is designed for developers and power users who use the Claude Code CLI daily and want a persistent, at-a-glance dashboard for their AI-assisted coding sessions.

Highlights

  • Comprehensive Metrics: Tracks token usage, session costs, context window limits, and compaction counts.
  • Git Integration: Displays branch names, PR/MR status, and file change counts (staged/unstaged/untracked).
  • Highly Customizable: Features an interactive TUI to reorder widgets, change colors (including gradients), and toggle visibility.
  • Performance Focused: Includes caching for Git commands and terminal width detection to ensure the status line remains responsive without slowing down the CLI.
  • Visual Polish: Supports Powerline-style layouts, Nerd Font icons, and flexible padding options.

Related

  • Project
  • Project
  • Project
  • Project
  • Project