Bring the awesomeness to your Claude Code terminal.
A dense, color-coded, information-packed status bar for Claude Code that turns your terminal into a cockpit. See everything that matters at a glance -- context usage, rate limits, git state, system health -- without leaving your flow.
The layout adapts to your terminal width automatically:
Wide (100+ columns)
awesome-claude-statusbar (main) ✓ | ctx: 62% · 5h: 34% · 7d: 13%
disk: 128G/460G (28%) · mem: 42% (ok) · batt: 91% ⚡ · 🐳: up (3)
🧠 Opus 4.6 (1M context)
Compact (<100 columns)
awesome-claude-statusbar (main) ✓
ctx: 62% · 5h: 34% · 7d: 13%
🧠 Opus 4.6 (1M context)
Everything is color-coded: green when you're comfortable, yellow when you should pay attention, red when something needs action.
| Segment | What it shows | Configurable |
|---|---|---|
| Directory + Git | Current directory name, branch, staged/unstaged/untracked indicators, ahead/behind upstream | always on |
| Context & Rate limits | Context window usage, 5-hour and 7-day rate limit usage | always on |
| Model | Active Claude model name | yes |
| Disk | Used / total with percentage | yes |
| Memory | System memory pressure with ok/warn/critical levels | yes |
| Battery | Charge percentage + charging indicator | yes |
| Docker | Daemon status and running container count | yes |
Git indicators: ✓ clean, ● staged, ○ unstaged, + untracked, ↑↓ ahead/behind.
System stats (disk, memory, battery, docker) are only shown in the wide layout.
Requires jq.
git clone https://github.com/mikasjp/awesome-claude-statusbar.git
cd awesome-claude-statusbar
bash install.shRequires PowerShell 7+. No other dependencies -- the script uses native PowerShell and .NET APIs.
git clone https://github.com/mikasjp/awesome-claude-statusbar.git cd awesome-claude-statusbar pwsh install.ps1
Then restart Claude Code.
The installer creates a config file at ~/.claude/awesome-statusbar.json where you can toggle individual segments on or off:
{
"segments": {
"disk": true,
"mem": true,
"batt": true,
"docker": true,
"model": true
}
}Set any segment to false to hide it. Changes take effect on the next statusline refresh -- no restart needed.
The installer registers a /configure-statusbar skill in Claude Code. Use it interactively:
/configure-statusbar
Or pass arguments directly:
/configure-statusbar disable docker batt
/configure-statusbar enable disk
The installer registers a global /update-statusbar skill in Claude Code. To update to the latest version, just type in any Claude Code session:
/update-statusbar
This will pull the latest changes from GitHub and re-run the installer automatically.
The status bar detects your terminal width and switches between two layouts:
| Terminal Width | Layout | Content |
|---|---|---|
| 100+ | Wide | Dir + git, limits, system stats, model |
| <100 | Compact | Dir + git, limits, model |
Width detection works by walking the process tree to find the controlling TTY:
- macOS:
stty -f /dev/ttysXXX size - Linux:
stty -F /dev/pts/X size - Windows:
mode con
You can also force a layout with the STATUSBAR_LAYOUT environment variable:
export STATUSBAR_LAYOUT=compact # wide | compact
The installer is more than just a file copier:
- Preflight checks -- verifies all required and optional dependencies before touching anything, with clear pass/warn/fail indicators
- Detects existing installations -- if Awesome Claude Status Bar is already installed, it cleanly removes the old version and installs fresh
- Respects foreign scripts -- if you have a different status bar script configured, the installer stops and warns you instead of silently overwriting it
- Force mode -- override foreign script detection with
--force(bash) or-Force(PowerShell); the foreign script is backed up as.bakbefore overwriting - Creates default config -- writes
~/.claude/awesome-statusbar.jsonwith all segments enabled (preserves existing config on reinstall) - Installs skills -- registers
/update-statusbarand/configure-statusbarglobally
# Override a foreign status line script
bash install.sh --force
pwsh install.ps1 -ForceA single self-contained script. macOS only.
src/
statusline-command.sh # Everything in one file
Modular, cross-platform architecture with OS-specific platform libraries:
src/
statusline-command.ps1 # Main script (OS-agnostic)
lib/
platform-darwin.ps1 # macOS provider
platform-windows.ps1 # Windows provider
platform-linux.ps1 # Linux provider
Each platform library implements the same interface:
| Function | Returns |
|---|---|
Get-BatteryInfo |
@{ Percent; IsCharging } |
Get-DiskInfo |
@{ TotalGB; UsedGB; FreeGB } |
Get-MemoryInfo |
@{ UsedPercent; Level } |
The installer detects your OS and copies the right library as statusline-platform.ps1 alongside the main script. No dead code, no runtime OS branching -- just the platform code you actually need.
src/
skills/
update-statusbar/
SKILL.md # /update-statusbar — pull latest and reinstall
configure-statusbar/
SKILL.md # /configure-statusbar — toggle segments on/off
Skills are installed to ~/.claude/skills/ and available globally in all Claude Code sessions.
Claude Code supports a statusLine configuration in ~/.claude/settings.json. The status bar script receives JSON with workspace, model, context, and rate limit data via stdin, and outputs ANSI-colored text to render below the input area.
The installer writes this configuration for you:
Bash (macOS)
{
"statusLine": {
"type": "command",
"command": "bash ~/.claude/statusline-command.sh",
"padding": 2
}
}PowerShell (cross-platform)
{
"statusLine": {
"type": "command",
"command": "pwsh -NoProfile -File ~/.claude/statusline-command.ps1",
"padding": 2
}
}Remove the scripts, config, skills, and the statusLine config from your settings:
rm -f ~/.claude/statusline-command.sh ~/.claude/awesome-statusbar.json rm -rf ~/.claude/skills/update-statusbar ~/.claude/skills/configure-statusbar jq 'del(.statusLine)' ~/.claude/settings.json > ~/.claude/settings.tmp && mv ~/.claude/settings.tmp ~/.claude/settings.json
Remove-Item ~/.claude/statusline-command.ps1, ~/.claude/statusline-platform.ps1, ~/.claude/awesome-statusbar.json -ErrorAction SilentlyContinue Remove-Item ~/.claude/skills/update-statusbar, ~/.claude/skills/configure-statusbar -Recurse -ErrorAction SilentlyContinue $s = Get-Content ~/.claude/settings.json -Raw | ConvertFrom-Json; $s.PSObject.Properties.Remove('statusLine'); $s | ConvertTo-Json -Depth 10 | Set-Content ~/.claude/settings.json
Restart Claude Code after uninstalling.
Both versions gracefully degrade when optional tools are missing:
| Tool | What happens without it |
|---|---|
git |
Git branch/status segment is hidden |
docker |
Shows n/a instead of container count |
| Battery hardware | Shows n/a on desktops without a battery |
MIT
