Install command
Not provided
Clean, performance-optimized statusline with Powerline glyphs showing model, directory, and token count
Open the source and read safety notes before installing.
Source-backed facts for citing this resource, derived directly from the registry — also available as plain text for AI assistants.
Decision playbook
Signals are present but mixed. Use the checklist below to confirm the source and operational safety for your environment.
0
78
—
No baseline selected
No major trust-signal divergence detected in the current selection.
Confirm ownership and provenance before trusting install instructions.
Source link availableRequired
Open the canonical repository and verify ownership.
Source provenance statusRequired
Marked as source-backed.
Metadata reviewed
Registry metadata indicates a reviewed listing.
Validate risk disclosures before installation or API wiring.
Safety notes presentRequired
Review the listed safety guidance before running commands.
Privacy notes presentRequired
Review data handling notes before connecting accounts or secrets.
Trust level risk gateRequired
Trust level does not block evaluation.
Check package metadata and artifact integrity signals.
Install payload available
Install or copy payload is available for review.
Package verification flag
No package verification flag provided.
Checksum metadata
No checksum provided for downloaded artifact.
Use compare context to validate trade-offs before adoption.
Compare tray has multiple entries
Add at least one more entry to compare trust differences.
Baseline comparison available
No baseline peer selected yet.
Diverging trust signals identified
No major trust-signal divergence found.
Setup at a glance
Copy-ready — paste the snippet to get started.
Install command
Not provided
Config snippet
Provided
Copy snippet
Provided
Prerequisites
6 to clear
Platforms
1 listed
Difficulty
2/100
Adoption plan
Current risk score 16/100. Use staged verification before broader rollout.
Validate source and review signals before any execution.
Confirm source provenanceRequired
Source URL/provenance metadata is present.
Confirm metadata review state
Listing has review metadata.
Verify install payload
Install/config payload exists and can be inspected.
Confirm safety, privacy, and package integrity signals.
Review safety notesRequired
Safety notes are present.
Review privacy notesRequired
Privacy notes are present.
Verify package integrity metadata
No package verification/checksum metadata.
Adopt in controlled steps based on the selected plan.
Run in isolated sandbox firstRequired
Use a constrained sandbox and observe behavior across multiple tasks.
Roll out graduallyRequired
Roll out to a small cohort before wider usage.
Set monitoring and fallback
Define rollback path and monitor errors after adoption.
Evidence readiness
Required evidence gates are covered (5/6 signals complete).
Source repository/provenance is listed.
Required in this preset
Review metadata is present.
Required in this preset
Safety notes are present.
Required in this preset
Privacy notes are present.
Optional in this preset
Package integrity metadata is missing.
Optional in this preset
Install payload is available.
Required in this preset
Required evidence gates are covered for this preset.
Decision timeline
5/6 steps complete with no blocking gaps for this preset.
triage
Source/provenance metadata is available.
triage
Review metadata is available.
verify
Safety notes are available.
verify
Privacy notes are available.
verify
Package integrity metadata is missing.
rollout
Install payload is available.
No required blockers for this timeline preset.
Prerequisite readiness
6 prerequisites to line up before setup.
Safety & privacy surface
1 safety and 1 privacy notes across 1 risk area. Review closely: credentials & tokens.
#!/usr/bin/env bash
# Minimal Powerline Statusline for Claude Code
# Displays: Model | Directory | Token Count
# Read JSON from stdin
read -r input
# Extract values using jq
model=$(echo "$input" | jq -r '.model // "unknown"')
dir=$(echo "$input" | jq -r '.workspace.path // "~"' | sed "s|$HOME|~|")
tokens=$(echo "$input" | jq -r '.session.totalTokens // 0')
# Powerline separators
SEP="\ue0b0"
# Color codes (256-color palette)
MODEL_BG="\033[48;5;111m" # Light blue background
MODEL_FG="\033[38;5;111m" # Light blue foreground
DIR_BG="\033[48;5;246m" # Gray background
DIR_FG="\033[38;5;246m" # Gray foreground
TOKEN_BG="\033[48;5;214m" # Orange background
TOKEN_FG="\033[38;5;214m" # Orange foreground
RESET="\033[0m"
# Build statusline with Powerline glyphs
echo -e "${MODEL_BG} ${model} ${RESET}${MODEL_FG}${SEP}${RESET} ${DIR_BG} ${dir} ${RESET}${DIR_FG}${SEP}${RESET} ${TOKEN_BG} ${tokens} ${RESET}${TOKEN_FG}${SEP}${RESET}"{
"statusLine": {
"type": "command",
"command": "$CLAUDE_PROJECT_DIR/.claude/statuslines/minimal-powerline.sh",
"refreshInterval": 500
}
}{
"statusLine": {
"type": "command",
"command": "$CLAUDE_PROJECT_DIR/.claude/statuslines/minimal-powerline.sh",
"refreshInterval": 500
}
}
Extended version including git branch information
#!/usr/bin/env bash
# Enhanced Minimal Powerline with Git Branch
input=$(cat)
model=$(echo "$input" | jq -r '.model.display_name // .model.id // "unknown"' | sed 's/claude-//')
dir=$(echo "$input" | jq -r '.workspace.current_dir // .workspace.project_dir // "~"' | sed "s|$HOME|~|")
tokens=$(echo "$input" | jq -r '.cost.total_tokens // .session.totalTokens // 0')
if [ "$tokens" -gt 1000 ]; then
tokens_formatted=$(printf "%'d" $tokens 2>/dev/null || echo $tokens)
else
tokens_formatted=$tokens
fi
# Get git branch if in git repository
cd "$dir" 2>/dev/null || cd .
git_branch=""
if git rev-parse --git-dir > /dev/null 2>&1; then
git_branch=$(git symbolic-ref --short HEAD 2>/dev/null || echo "(detached)")
fi
SEP="\ue0b0"
MODEL_BG="\033[48;5;111m"
MODEL_FG="\033[38;5;111m"
DIR_BG="\033[48;5;246m"
DIR_FG="\033[38;5;246m"
GIT_BG="\033[48;5;28m"
GIT_FG="\033[38;5;28m"
TOKEN_BG="\033[48;5;214m"
TOKEN_FG="\033[38;5;214m"
RESET="\033[0m"
# Build statusline
statusline="${MODEL_BG} ${model} ${RESET}${MODEL_FG}${SEP}${RESET} ${DIR_BG} ${dir} ${RESET}"
if [ -n "$git_branch" ]; then
statusline="${statusline}${DIR_FG}${SEP}${RESET} ${GIT_BG} ${git_branch} ${RESET}${GIT_FG}${SEP}${RESET}"
fi
statusline="${statusline} ${TOKEN_BG} ${tokens_formatted} ${RESET}${TOKEN_FG}${SEP}${RESET}"
echo -e "$statusline"
Version with configurable color scheme via environment variables
#!/usr/bin/env bash
# Minimal Powerline with Custom Colors
# Configurable colors (default: powerline-default)
MODEL_BG_COLOR=${POWERLINE_MODEL_BG:-111}
MODEL_FG_COLOR=${POWERLINE_MODEL_FG:-111}
DIR_BG_COLOR=${POWERLINE_DIR_BG:-246}
DIR_FG_COLOR=${POWERLINE_DIR_FG:-246}
TOKEN_BG_COLOR=${POWERLINE_TOKEN_BG:-214}
TOKEN_FG_COLOR=${POWERLINE_TOKEN_FG:-214}
input=$(cat)
model=$(echo "$input" | jq -r '.model.display_name // .model.id // "unknown"' | sed 's/claude-//')
dir=$(echo "$input" | jq -r '.workspace.current_dir // .workspace.project_dir // "~"' | sed "s|$HOME|~|")
tokens=$(echo "$input" | jq -r '.cost.total_tokens // .session.totalTokens // 0')
if [ "$tokens" -gt 1000 ]; then
tokens_formatted=$(printf "%'d" $tokens 2>/dev/null || echo $tokens)
else
tokens_formatted=$tokens
fi
SEP="\ue0b0"
MODEL_BG="\033[48;5;${MODEL_BG_COLOR}m"
MODEL_FG="\033[38;5;${MODEL_FG_COLOR}m"
DIR_BG="\033[48;5;${DIR_BG_COLOR}m"
DIR_FG="\033[38;5;${DIR_FG_COLOR}m"
TOKEN_BG="\033[48;5;${TOKEN_BG_COLOR}m"
TOKEN_FG="\033[38;5;${TOKEN_FG_COLOR}m"
RESET="\033[0m"
echo -e "${MODEL_BG} ${model} ${RESET}${MODEL_FG}${SEP}${RESET} ${DIR_BG} ${dir} ${RESET}${DIR_FG}${SEP}${RESET} ${TOKEN_BG} ${tokens_formatted} ${RESET}${TOKEN_FG}${SEP}${RESET}"
Complete setup script with Powerline font verification and color testing
#!/bin/bash
# Installation script for Minimal Powerline Statusline
# Check for jq (required for JSON parsing)
if ! command -v jq &> /dev/null; then
echo "Installing jq for JSON parsing..."
if [[ "$OSTYPE" == "darwin"* ]]; then
brew install jq
elif [[ "$OSTYPE" == "linux-gnu"* ]]; then
sudo apt-get install -y jq || sudo yum install -y jq
else
echo "Please install jq manually: https://stedolan.github.io/jq/"
fi
fi
# Check terminal color support
color_count=$(tput colors 2>/dev/null || echo "8")
if [ "$color_count" -lt 256 ]; then
echo "Warning: Terminal may not support 256 colors"
echo "Set TERM=xterm-256color: export TERM=xterm-256color"
echo "For tmux/screen: export TERM=screen-256color"
else
echo "Terminal supports $color_count colors"
fi
# Test Powerline separator
if echo -e '\ue0b0' &> /dev/null; then
echo "Powerline separator test: $(echo -e '\ue0b0')"
echo "If separator shows as box/question mark, install Powerline-patched font:"
echo " - Nerd Fonts: https://www.nerdfonts.com/"
echo " - Powerline Fonts: https://github.com/powerline/fonts"
else
echo "Warning: Powerline separator may not be supported"
fi
mkdir -p .claude/statuslines
cat > .claude/statuslines/minimal-powerline.sh << 'SCRIPT_EOF'
#!/usr/bin/env bash
# Minimal Powerline Statusline for Claude Code
# Displays: Model | Directory | Token Count
read -r input
model=$(echo "$input" | jq -r '.model.display_name // .model.id // "unknown"' | sed 's/claude-//')
dir=$(echo "$input" | jq -r '.workspace.current_dir // .workspace.project_dir // "~"' | sed "s|$HOME|~|")
tokens=$(echo "$input" | jq -r '.cost.total_tokens // .session.totalTokens // 0')
if [ "$tokens" -gt 1000 ]; then
tokens_formatted=$(printf "%'d" $tokens 2>/dev/null || echo $tokens)
else
tokens_formatted=$tokens
fi
SEP="\ue0b0"
MODEL_BG="\033[48;5;111m"
MODEL_FG="\033[38;5;111m"
DIR_BG="\033[48;5;246m"
DIR_FG="\033[38;5;246m"
TOKEN_BG="\033[48;5;214m"
TOKEN_FG="\033[38;5;214m"
RESET="\033[0m"
echo -e "${MODEL_BG} ${model} ${RESET}${MODEL_FG}${SEP}${RESET} ${DIR_BG} ${dir} ${RESET}${DIR_FG}${SEP}${RESET} ${TOKEN_BG} ${tokens_formatted} ${RESET}${TOKEN_FG}${SEP}${RESET}"
SCRIPT_EOF
chmod +x .claude/statuslines/minimal-powerline.sh
# Add to settings.json
if [ ! -f .claude/settings.json ]; then
echo '{"statusLine":{"type":"command","command":"$CLAUDE_PROJECT_DIR/.claude/statuslines/minimal-powerline.sh","refreshInterval":500}}' > .claude/settings.json
else
jq '.statusLine = {"type":"command","command":"$CLAUDE_PROJECT_DIR/.claude/statuslines/minimal-powerline.sh","refreshInterval":500}' .claude/settings.json > .claude/settings.json.tmp
mv .claude/settings.json.tmp .claude/settings.json
fi
echo "Minimal Powerline Statusline installed successfully!"
echo "Note: Install Powerline-patched font or Nerd Font for proper separator display"
echo " - Nerd Fonts: https://www.nerdfonts.com/"
echo " - Powerline Fonts: https://github.com/powerline/fonts"
echo "Customize colors: export POWERLINE_MODEL_BG=111 POWERLINE_DIR_BG=246"
Install a Nerd Font (e.g., FiraCode Nerd Font, Hack Nerd Font) or Powerline-patched font and configure your terminal to use it. Verify with: echo -e '\ue0b0'. Download fonts: https://www.nerdfonts.com/ or https://github.com/powerline/fonts. For VS Code: Set 'terminal.integrated.fontFamily' to your Nerd Font. For iTerm2: Preferences > Profiles > Text > Font > Select Nerd Font.
Ensure terminal supports 256 colors. Test with: tput colors (should return 256). Set TERM=xterm-256color if needed: export TERM=xterm-256color. For tmux/screen use: export TERM=screen-256color. Add to ~/.bashrc or ~/.zshrc for persistence. Verify color codes work: echo -e '\033[48;5;111mTEST\033[0m' (should show colored background).
Install jq: macOS (brew install jq), Linux (sudo apt-get install jq or sudo yum install jq), or download from https://jqlang.github.io/jq/. Verify installation: which jq. Test jq: echo '{"test":123}' | jq .test (should return 123). Check jq version: jq --version (should be 1.6+).
Set TERM explicitly: export TERM=xterm-256color. Test: env TERM=xterm-256color tput colors (should show 256). For tmux/screen use TERM=screen-256color. Add to shell profile (~/.bashrc or ~/.zshrc) for persistence. Check terminal emulator settings - some require explicit 256-color mode. Restart terminal after setting TERM.
Install Powerline-patched font from github.com/powerline/fonts. U+E0B0-U+E0B3 require patched fonts. For VS Code, enable GPU acceleration for better rendering. Check terminal font size and line height settings. Verify font is monospace and properly configured. Test separator: echo -e '\ue0b0' (should show right-pointing triangle).
Check JSON input: echo '$input' | jq .model. Verify model.display_name exists: echo '$input' | jq .model.display_name. Check alternative: echo '$input' | jq .model.id. Verify sed command works: echo 'claude-sonnet-4.5' | sed 's/claude-//' (should return sonnet-4.5). Check model field structure in Claude Code JSON output.
Verify HOME environment variable: echo $HOME. Check sed replacement: echo '/Users/username/project' | sed "s|$HOME|~|". Verify workspace path extraction: echo '$input' | jq '.workspace.current_dir'. Check path format - script expects absolute paths. Verify directory exists: ls -d "$dir".
Check JSON input structure: echo '$input' | jq .. Verify cost.total_tokens exists: echo '$input' | jq .cost.total_tokens. Check alternative field: echo '$input' | jq .session.totalTokens. Verify jq is installed: which jq. Test with sample JSON: echo '{"cost":{"total_tokens":1234}}' | jq -r '.cost.total_tokens // 0' (should return 1234). Check thousands separator: printf '%'d 1234 (should return 1,234 on systems with locale support).
Minimal Powerline - Statuslines side by side with 3 alternatives on trust, install, platform support, and disclosed safety notes — all from reviewed registry metadata.
| Field | Clean, performance-optimized statusline with Powerline glyphs showing model, directory, and token count Open dossier | Ultra-lightweight plain text statusline with no colors or special characters for maximum compatibility and minimal overhead Open dossier | Git-focused statusline showing branch, dirty status, ahead/behind indicators, and stash count alongside Claude session info Open dossier | Comprehensive multi-line statusline displaying detailed session information across two lines with organized sections and visual separators Open dossier |
|---|---|---|---|---|
| Next steps | ||||
| Trust | ||||
| Review status | ReviewedMaintainer reviewed | ReviewedMaintainer reviewed | ReviewedMaintainer reviewed | ReviewedMaintainer reviewed |
| Package trust | Package not verified | Package not verified | Package not verified | Package not verified |
| Source provenance | Source-backed | Source-backed | Source-backed | Source-backed |
| Submitter | — | — | — | — |
| Install risk | Review first | Review first | Review first | Review first |
| Notes | Safety ✓ Privacy ✓ | Safety ✓ Privacy ✓ | Safety ✓ Privacy ✓ | Safety ✓ Privacy ✓ |
| Brand | — | — | — | — |
| Category | statuslines | statuslines | statuslines | statuslines |
| Source | source-backed | source-backed | source-backed | source-backed |
| Author | JSONbored | JSONbored | JSONbored | JSONbored |
| Added | 2025-10-01 | 2025-10-01 | 2025-10-01 | 2025-10-01 |
| Platforms | Claude Code | Claude Code | Claude Code | Claude Code |
| Source repo | — | — | — | — |
| Safety notes | ✓Runs as a Claude Code statusline command on every refresh and depends on the local bash environment, jq, and a Powerline-patched font; a failure only affects status rendering, not your session. | ✓Runs as a Claude Code statusline command on every refresh and depends on the local shell environment; a failure only affects status rendering, not your session. | ✓Runs as a Claude Code statusline command on every refresh and depends on the local shell environment; a failure only affects status rendering, not your session. | ✓Runs as a Claude Code statusline command on every refresh and depends on the local shell environment; a failure only affects status rendering, not your session. |
| Privacy notes | ✓Reads the Claude Code statusline JSON from stdin (model, workspace path, token count) and renders it in the local terminal; it does not send data off-machine. | ✓Reads the Claude Code statusline JSON from stdin (model, workspace path, token usage) and renders it in the local terminal; it does not send data off-machine. | ✓Reads the Claude Code statusline JSON from stdin (model, workspace path, token usage) and renders it in the local terminal; it does not send data off-machine. | ✓Reads the Claude Code statusline JSON from stdin (model, workspace path, token usage) and renders it in the local terminal; it does not send data off-machine. |
| Prerequisites |
|
|
|
|
| Install | — | — | — | — |
| Config | | | | |
| Citations | ||||
| Claim | Unclaimed | Unclaimed | Unclaimed | Unclaimed |
Source-backed guides for putting this to work.
Control MCP tool output size with env limits, annotations, and tool search to protect Claude Code context.
Loading live community signals…
A short, calm digest of reviewed Claude resources. Unsubscribe any time.