Claude Code status line
cship
A Starship-style status line configured with TOML, with themeable colours, Nerd Font glyphs and cost and context thresholds.
Install
cargo install cshipgit clone https://github.com/stephenleo/cship.gitFrom 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…
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.
Details
- Repository
- stephenleo/cship
- Type
- Status lines
- 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
claude-code-mods
439hamzafer/claude-code-mods
Mods that add a prompt-cache timer under the status line and a colour-coded context-window bar above the prompt.
better-statusline
421Autumn1337/better-statusline
A status line that draws session figures as dot-matrix rings alongside the music you are playing.
Usage Pulse
471NoobyGains/usage-pulse
A usage status bar showing session and weekly limits, cost, context and agents, with ten themes and no API calls.
claude-pace
245Astro-Han/claude-pace
A pure Bash and jq status line that tracks rate limits and tells you whether your usage pace is sustainable.
coralline
550Nanako0129/coralline
A Powerlevel10k-inspired status line that Claude installs for you after a short interview about your preferences.
Token Tracker
535stormzhang/token-tracker
Claude Code & Codex 本地 token 追踪 — 状态栏(Codex 业界首创伪 statusline)、GitHub 风格热力图、多模型成本分析。 | Local token tracker for Claude Code & Codex — status line (industry-first Codex faux statusline), GitHub-style heatmap, multi-model cost analysis
Browse the most popular Claude Code mods, all status lines, or the skills and MCP server directories.