Cette page est affichée en anglais. Une traduction française est en cours.
ConfigsMay 25, 2026·3 min de lecture

CCStatusLine — Beautiful Customizable Statusline for Claude Code

A highly customizable statusline for the Claude Code CLI featuring powerline support, multiple themes, and real-time git, cost, and session information. Built with TypeScript and designed for terminal aesthetics.

Prêt pour agents

Cet actif peut être lu et installé directement par les agents

TokRepo expose une commande CLI universelle, un contrat d'installation, le metadata JSON, un plan selon l'adaptateur et le contenu raw pour aider les agents à juger l'adaptation, le risque et les prochaines actions.

Needs Confirmation · 66/100Policy : confirmer
Surface agent
Tout agent MCP/CLI
Type
Skill
Installation
Single
Confiance
Confiance : Established
Point d'entrée
CCStatusLine Overview
Commande CLI universelle
npx tokrepo install c3e9dabf-57f1-11f1-9bc6-00163e2b0d79

Introduction

CCStatusLine enhances the Claude Code CLI with a rich, configurable statusline that displays contextual information like git branch, token cost, session duration, and model in use. It brings the polish of IDE status bars to the terminal-based coding agent experience.

What CCStatusLine Does

  • Displays real-time git branch, status, and diff stats in the statusline
  • Shows token usage and estimated cost for the current session
  • Supports multiple themes including powerline, minimal, and custom layouts
  • Provides segment-based configuration for choosing what information to display
  • Updates dynamically as you work within Claude Code

Architecture Overview

CCStatusLine is a TypeScript application that hooks into Claude Code's status line interface. It collects data from git, the session context, and system metrics, then formats the output using configurable segment templates. Powerline-compatible fonts are supported for separator glyphs. Theme definitions are JSON files that control colors, segments, and layout.

Self-Hosting & Configuration

  • Install globally via npm or use npx for one-off usage
  • Configure by editing ~/.ccstatusline/config.json or via command-line flags
  • Choose from built-in themes or create custom themes as JSON files
  • Enable or disable individual segments (git, cost, model, time, etc.)
  • Powerline fonts are optional but recommended for the full visual experience

Key Features

  • Powerline-style rendering with customizable separators and colors
  • Multiple built-in themes with easy custom theme creation
  • Real-time token cost tracking per session
  • Git integration showing branch, changes, and ahead/behind counts
  • Lightweight with minimal impact on terminal performance

Comparison with Similar Tools

  • Default Claude Code statusline — minimal information; CCStatusLine adds rich, themed segments
  • Starship prompt — general shell prompt; CCStatusLine is specifically designed for Claude Code
  • Oh My Zsh themes — shell themes, not agent-aware; CCStatusLine integrates with agent session data
  • Powerline — general terminal statusline; CCStatusLine understands Claude Code context

FAQ

Q: Does it work with other AI coding agents? A: It is specifically designed for Claude Code. Other agents would need adapter support.

Q: Do I need special fonts? A: Powerline themes look best with a Nerd Font or Powerline-patched font. Non-powerline themes work with any monospace font.

Q: How much overhead does it add? A: Negligible. It runs as a lightweight process that updates on each prompt cycle.

Q: Can I create my own theme? A: Yes. Themes are JSON files specifying segments, colors, and separators. Place them in the themes directory and select by name.

Sources

Fil de discussion

Connectez-vous pour rejoindre la discussion.
Aucun commentaire pour l'instant. Soyez le premier à partager votre avis.

Actifs similaires