A rich 2-line status bar for Claude Code that displays session info with emojis.
π MrDemonWolf/official-app (dev) | π ~/Developer/mrdemonwolf/official-app
π€ Opus 4.6 Β· Ctx 25% Β· β± 19:38 | π² $2.57 Β· π 18.7K in / 22.7K out
| Line | Info |
|---|---|
| Line 1 | π GitHub org/repo, branch |
| Line 2 | π€ Model name Β· Context % Β· β± Duration |
- jq
- Git (for repo/branch detection)
macOS:
brew install jqUbuntu/WSL:
sudo apt update && sudo apt install -y jq-
Create the Claude config directory (if it doesn't exist):
mkdir -p ~/.claude -
Download the script:
curl -o ~/.claude/statusline-command.sh \ https://gist.githubusercontent.com/nathanialhenniges/01f699aaab4609fbc69bf8c3458813c1/raw/statusline-command.sh -
Make it executable:
chmod +x ~/.claude/statusline-command.sh -
Configure Claude Code to use it by adding to
~/.claude/settings.json:{ "statusLine": { "command": "bash ~/.claude/statusline-command.sh" } }Or if you already have a
settings.json, just add thestatusLinekey. -
Restart Claude Code to see the status line.
The script is plain bash β edit ~/.claude/statusline-command.sh to tweak the layout, change emojis, or add/remove fields. All data comes from JSON piped in by Claude Code on stdin.