From statusline-pro
Displays customizable statusline in Claude Code with git branch/status, directory path, session time, memory/CPU usage, battery, and optional weather/Spotify. Invoke via /statusline-pro, /statusline, /status.
How this skill is triggered — by the user, by Claude, or both
Slash command
/statusline-pro:statusline-proThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
> Level up your Claude Code experience with a stunning, informative statusline.
Level up your Claude Code experience with a stunning, informative statusline.
╭──────────────────────────────────────────────────────────────────────────────╮
│ main ✓ │ ▸ ~/my-project │ 2.1G │ ◷ 14:30 │ ⏱ 23m │ 98% │
╰──────────────────────────────────────────────────────────────────────────────╯
curl -fsSL https://raw.githubusercontent.com/anthropics/claude-code/main/statusline-pro/install.sh | bash
Or clone and run:
git clone https://github.com/anthropics/claude-code-plugins.git
cd claude-code-plugins/statusline-pro && ./scripts/install-statusline.sh
Pick your style with --theme:
main ✓ ~/project 14:30 23m 2.1G
┃ ⟨main⟩ ✓ ┃ ⌁ ~/project ┃ ⌚ 14:30 ┃ ⚡ 23m ┃
main ✓ · ~/project · 14:30
[git:main|✓] [dir:~/project] [mem:2.1G] [⏱23m]
░▒▓ main ▓▒░ ~/project ░▒▓ 14:30 ▓▒░
█▀▀ main ▀▀█ ═══ ~/project ═══ ★ 14:30 ★
| Segment | Icon | Description |
|---|---|---|
| git | Branch, status, ahead/behind | |
| dir | ▸ | Smart-shortened directory path |
| time | ◷ | Current time (12h or 24h) |
| session | ⏱ | How long you've been coding |
| memory | | System memory usage |
| cpu | CPU load percentage | |
| battery | Battery level (laptops) | |
| weather | Current temp (needs API key) | |
| spotify | Now playing track |
After install, edit ~/.config/claude-statusline/config.sh:
# ═══════════════════════════════════════════
# STATUSLINE PRO CONFIG
# ═══════════════════════════════════════════
# Theme: powerline, cyberpunk, minimal, hacker, retro, nyan
THEME="powerline"
# Segments to show (order matters!)
SEGMENTS=(git dir memory time session)
# Time format: 12h or 24h
TIME_FORMAT="24h"
# Directory shortening
MAX_DIR_LENGTH=25
SHOW_FULL_HOME=false # ~/Code vs /Users/you/Code
# Colors: dracula, nord, gruvbox, monokai, solarized, catppuccin
COLOR_SCHEME="dracula"
# Separators (for powerline theme)
SEP_LEFT=""
SEP_RIGHT=""
# Refresh rate in seconds (for dynamic segments)
REFRESH_RATE=30
# ═══════════════════════════════════════════
# OPTIONAL INTEGRATIONS
# ═══════════════════════════════════════════
# OpenWeather API (free tier works)
WEATHER_API_KEY=""
WEATHER_CITY="San Francisco"
WEATHER_UNITS="imperial" # imperial or metric
# Show warnings when...
WARN_MEMORY_ABOVE=80 # Memory usage %
WARN_SESSION_AFTER=120 # Minutes
Developer Focus (git + session only):
SEGMENTS=(git session)
# main ✓ │ ⏱ 1h23m
System Monitor:
SEGMENTS=(cpu memory battery)
# 12% │ 8.2G/16G │ 87%
Full Dashboard:
SEGMENTS=(git dir memory cpu time session)
# main ✓ │ ▸ ~/project │ 2.1G │ 5% │ ◷ 14:30 │ ⏱ 23m
# Preview a theme without installing
statusline-pro preview cyberpunk
# Switch theme
statusline-pro theme powerline
# Toggle a segment
statusline-pro toggle memory
# Show current config
statusline-pro config
# Update to latest
statusline-pro update
If you prefer manual installation:
cp templates/statusline.sh ~/.config/claude-statusline/
cp templates/session-start.sh ~/.config/claude-statusline/
chmod +x ~/.config/claude-statusline/*.sh
~/.claude/settings.json:{
"hooks": {
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "~/.config/claude-statusline/session-start.sh"
}
]
}
],
"Notification": [
{
"hooks": [
{
"type": "command",
"command": "~/.config/claude-statusline/statusline.sh"
}
]
}
]
}
}
| Scheme | Preview |
|---|---|
| Dracula | 🟣 Purple/pink/cyan on dark |
| Nord | 🔵 Cool blues and teals |
| Gruvbox | 🟤 Warm retro browns/oranges |
| Monokai | 🟢 Vibrant greens/pinks |
| Solarized | 🟡 Classic tan/blue |
| Catppuccin | 🌸 Soft pastels |
| Tokyo Night | 🌃 Purple/blue neon |
Install a Nerd Font or switch to ASCII theme:
statusline-pro theme hacker # Uses ASCII-only icons
# Test the hook directly
~/.config/claude-statusline/statusline.sh
# Check Claude sees it
claude --debug
# Manually trigger session start
~/.config/claude-statusline/session-start.sh
These use system commands (top, free, vm_stat). Make sure they're available:
# macOS
which vm_stat
# Linux
which free
Got a cool theme? Submit a PR!
# Create your theme
cp themes/minimal.sh themes/mytheme.sh
# Edit and test
statusline-pro preview mytheme
Made with ☕ for the Claude Code community
npx claudepluginhub lego4005/foxit-marketplace --plugin statusline-proInteractive wizard sets up Claude Code's custom status line with progress bars, token counts, git branch, model name, and session info. Cross-platform for Mac/Linux/Windows via bash/PowerShell scripts.
Creates and customizes Claude Code status lines to display contextual info like model name, git branch, token usage, project colors, and session cost. Supports manual scripts or ccstatusline widget.
Customizes the Claude Code statusline: add/remove segments (cost, git, model, context), switch color themes (catppuccin, dracula, nord), and modify display settings.