ccsl

command module
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2026 License: MIT Imports: 3 Imported by: 0

README

CCSL — Claude Code StatusLine

A custom status line for Claude Code that displays real-time session information using Nerd Font icons and ANSI colors.

Standard preset:

Standard preset

Full preset:

Full preset

Features

  • 16 segment groups — model, git, context window, tokens, cost, API usage, weekly stats, version, session, speed, diff, activity, live, cwd, clock, environment
  • 8 color themes — Catppuccin, Cyberpunk, Dracula, Gruvbox, High Contrast, Monochrome, Nord, Solarized Light (with block variants)
  • 4 presets — minimal, standard, full, dev
  • TUI config editor — run ccsl interactively to configure themes, presets, and segments
  • SmartAlign rendering — intelligent width management with cross-line alignment
  • Variable-width segments — graceful truncation when terminal space is limited

Install

curl -sSfL https://raw.githubusercontent.com/ming-claude/ccsl/main/install.sh | sh

Or download from GitHub Releases and place the binary in your PATH.

Go install

Requires Go 1.25+:

go install github.com/ming-claude/ccsl@latest
Build from source
git clone https://github.com/ming-claude/ccsl.git
cd ccsl
make build
# binary: ./ccsl

Setup

Add to ~/.claude/settings.json:

{
  "statusLine": {
    "type": "command",
    "command": "ccsl"
  }
}

Claude Code will pipe session data to ccsl via stdin, and ccsl renders the status line to stdout.

Configuration

Run ccsl directly in a terminal (not piped) to open the TUI config editor:

ccsl

The config editor lets you:

  • Choose a color theme
  • Select a preset layout
  • Enable/disable individual segments

Config is saved to ~/.claude/ccsl/config.json.

Themes

Theme Style Description
Catppuccin Dark, soft pastel Community-favorite warm dark theme
Cyberpunk Dark, neon Hot pink, electric blue, fluorescent green
Dracula Dark, saturated High-saturation cool dark theme
Gruvbox Dark, warm Earthy warm tones with yellow-green accents
High Contrast Dark, accessible WCAG AA compliant bright-on-black
Monochrome Dark, minimal Single cyan hue, brightness-only differentiation
Nord Dark, arctic Cool blue-grey, low saturation
Solarized Light Light (block only) Solarized official light palette

Each theme has both non-block and block variants, except Solarized Light (block only).

Presets

  • minimal — single line: model, context, cost, git (compact overview)
  • standard — 3 lines: model/cwd/git, context/tokens/cost, usage/version
  • full — 5 lines: all 16 segment groups enabled
  • dev — 4 lines: model/context/tokens/cost, usage stats, git/diff, activity

Requirements

  • A terminal with Nerd Font installed (for icons)
  • Claude Code with status line support

Disclaimer

This is an unofficial community project and is not affiliated with, endorsed by, or sponsored by Anthropic. "Claude" is a trademark of Anthropic. This project uses the name solely to describe its functionality as a status line for Claude Code.

License

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
git
npm
tui

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL