Claude Code status line
starship-claude
Renders the Claude Code status line using your existing Starship prompt configuration.
Install
/plugin marketplace add martinemde/starship-claudegit clone https://github.com/martinemde/starship-claude.gitFrom the README
starship-claude _Use Starship for your claude code status line._ Quick Start Run each of the following commands in claude _one at a time_. Then run the setup wizard: The wizard is just instructions to claude that will help with setup: 1. Check if starship is installed (offers to install if missing) 2. Detect existing configuration and ask what to do 3. Ask about Nerd Font support 4. Let you choose a color palette 5. Let you choose a prompt style 6. Install the script and generate your config 7. Update your Claude Code settings 8. Verify everything works Manual Install You'll need starship to render the statusline: You'll probably want a Nerd Font (optional) for the robot icons. When you're ready to install, run these in your terminal (not in claude): Add the statusline in your Claude Code settings (~/.claude/settings.json): Run it directly to test it out but you'll need to grab a test fixture JSON file. My Favorite Feature: Context Window Progress Bar Show progress bars for context usage percentages in terminals like Ghostty. (I love it!) We use [Dex Horthy's "dumb zone" (video)][dumb-zone] to start warning at 40%. - Progress bar scales for 80% compaction. - 0-40%: Normal - You're good. - 40-60%: Warning - Reset if it's not going well. - 60%+: Error - Compacting soon... Warning does not mean stop, but be aware of your context usage. This doesn't work in tmux even if you are using Ghostty. Let me know if you find a workaround. Customize Add these options to the ~/.claude/settings.json if you want do things differently. Running Tests Install BATS and run tests: License MIT License © 2026 Martin Emde
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
- martinemde/starship-claude
- Type
- Status lines
- Website
- martinemde.com
- Language
- Shell
- License
- MIT
- Last updated
- 30 April 2026
- Topics
- claudeclaude-codestarshipstarship-prompt
FAQ
What is starship-claude?
Renders the Claude Code status line using your existing Starship prompt configuration. It is a status line for Claude Code, from martinemde/starship-claude on GitHub.
How do I install starship-claude?
Run /plugin marketplace add martinemde/starship-claude inside Claude Code, then follow the setup in the README.
Is starship-claude popular?
martinemde/starship-claude has 151 GitHub stars and 13 forks. It was last updated on 30 April 2026.
More status lines
Quosparr
316Licoy/Quosparr
Native menu bar & tray app for macOS, Windows and Linux: track Codex, Claude Code and Grok quotas, resets, API-equivalent cost and local sessions, with multi-account and API relay switching | 原生 macOS、Windows、Linux 菜单栏与托盘应用,统一查看 Codex、Claude Code、Grok 额度、重置动态、API 等价成本与本机会话,支持多账号与中转 API 切换
claude-code-statusline
120ilia-pluzhnikov/claude-code-statusline
A dependency-free Node.js status line with model, git state, context window, rate limits and a peak-hours indicator.
claude-statusline
208awesomezun/claude-statusline
An aesthetic, decorative status line for Claude Code.
claude-usage-bar
115mnapoli/claude-usage-bar
A status bar that shows your Claude Code usage.
claude-code-statusline
199kcchien/claude-code-statusline
A dense status line with a gradient progress bar, git status and cost tracking that hides fields when not needed.
byebyecode
96byebye-code/byebyecode
An enhanced fork of CCometixLine that adds 88code account information to the status line.
Browse the most popular Claude Code mods, all status lines, or the skills and MCP server directories.