Claude Code status line

cship

A Starship-style status line configured with TOML, with themeable colours, Nerd Font glyphs and cost and context thresholds.

430 stars 41 forksStatus lines Source

Install

Install
cargo install cship
From source
git clone https://github.com/stephenleo/cship.git

From the README

⚓ CShip (pronounced "sea ship")

A beautiful, fully customizable statusline for Claude Code
*Starship-style TOML config, themeable colours, Nerd Font glyphs, and tunable cost/context/usage thresholds.*

cship renders a live statusline for Claude Code sessions, showing session cost, context window usage, model name, API usage limits, and more — all configurable via a simple TOML file.

Key features:
- 🎨 Fully Customizable: Configure every module with Starship-compatible TOML. Colors, symbols, thresholds — your statusline, your rules.
- ⚡ Blazing Fast: Written in Rust with a ≤10ms render budget.
- 🔌 Starship Passthrough: Embed any Starship module (git_branch, directory, language runtimes) right next to native CShip modules.
- 💰 Session Insights: Track cost, context window usage, API limits, vim mode, agent name, and more — all from Claude Code's live JSON feed. Implement custom warn and critical thresholds with custom colors for each.

🚀 Install

⚡ Method 1a: curl installer (macOS / Linux)

Auto-detects your OS and architecture (macOS arm64/x86_64, Linux x86_64/aarch64), downloads the binary to ~/.local/bin/cship, creates a starter config at ~/.config/cship.toml, and wires the statusLine entry in ~/.claude/settings.json.

Optional dependencies (Starship for passthrough modules, and libsecret-tools on Linux for usage limits) are handled as follows:

- Interactive terminal — the installer prompts you for each.
- --yes / -y — auto-installs all optional deps without prompting:

- Non-interactive (Docker RUN, CI pipelines, no TTY) — optional deps are skipped automatically; the installer prints instructions for manual installation.

🪟 Method 1b: PowerShell installer (Windows)

Run this one-liner in PowerShell (5.1 or later):

Installs to…
Read the full README on GitHub

How status lines work

  • A status line is a command Claude Code runs to draw the bar under the prompt. It gets the session as JSON on stdin (model, folder, cost, context) and prints one or more lines.
  • Point the statusLine setting in ~/.claude/settings.json at it: { "statusLine": { "type": "command", "command": "<the command from the README>" } }.
  • Or run /statusline inside Claude Code and describe what you want.
Claude Code docs

Details

Website
cship.dev
Language
Rust
License
Apache-2.0
Last updated
6 September 2026
Topics
agentic-aiclaudeclaude-aiclaude-codeclaude-code-statusline

FAQ

What is cship?

A Starship-style status line configured with TOML, with themeable colours, Nerd Font glyphs and cost and context thresholds. It is a status line for Claude Code, from stephenleo/cship on GitHub.

How do I install cship?

Run cargo install cship, then follow the setup in the README.

Is cship popular?

stephenleo/cship has 430 GitHub stars and 41 forks. It was last updated on 6 September 2026.

More status lines

Browse the most popular Claude Code mods, all status lines, or the skills and MCP server directories.