From ai-statusline
Edits existing Claude Code status line script via interactive wizard pre-selecting current SHOW_* settings for model, tokens, progress, git branch, costs, and more. Supports macOS, Linux, Windows.
npx claudepluginhub charlesjones-dev/claude-code-plugins-dev --plugin ai-statuslineThis skill uses the workspace's default tool permissions.
Edit your existing Claude Code status line configuration.
Interactive 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.
Configures Claude Code status lines using /statusline command, settings.json, Bash/Python/Node.js scripts. Covers JSON input, git integration, ANSI colors, helper functions, and troubleshooting.
Develops custom status lines for Claude Code to display git branch, context usage, model name, and session costs using bash scripts that process JSON stdin input.
Share bugs, ideas, or general feedback.
Edit your existing Claude Code status line configuration.
CRITICAL: This command MUST NOT accept any arguments. If the user provided any text after this command, COMPLETELY IGNORE it.
uname -s
~/.claude/statusline.shC:/Users/USERNAME/.claude/statusline.ps1No status line script found at ~/.claude/statusline.sh
Run /statusline-wizard to set up your status line first.
Then STOP - do not continue.Read the existing script file and parse the current SHOW_* variable values:
For Bash scripts, look for lines like:
SHOW_MODEL=true
SHOW_TOKEN_COUNT=true
SHOW_PROGRESS_BAR=true
SHOW_DIRECTORY=true
SHOW_GIT_BRANCH=true
SHOW_COST=false
SHOW_DURATION=true
SHOW_TIME=true
SHOW_VERSION=true
SHOW_RATE_LIMITS=true
For PowerShell scripts, look for lines like:
$SHOW_MODEL = $true
$SHOW_TOKEN_COUNT = $true
$SHOW_PROGRESS_BAR = $true
$SHOW_DIRECTORY = $true
$SHOW_GIT_BRANCH = $true
$SHOW_COST = $false
$SHOW_DURATION = $true
$SHOW_TIME = $true
$SHOW_VERSION = $true
$SHOW_RATE_LIMITS = $true
Store the current values to use as defaults in the wizard.
Use AskUserQuestion with these grouped questions. Pre-select options based on current values from Phase 2.
Question 1 - Context Display (multiSelect: true): Options (pre-select based on current config):
Question 2 - Project Display (multiSelect: true): Options (pre-select based on current config):
Question 3 - Session Display (multiSelect: true): Options (pre-select based on current config):
Update ONLY the SHOW_* variables at the top of the existing script file based on wizard selections.
For Bash: Use Edit tool to replace the configuration block:
SHOW_MODEL=true # Show model name (e.g., "Claude Opus 4.6")
SHOW_TOKEN_COUNT=true # Show token usage count (e.g., "50k/100k")
...
For PowerShell: Use Edit tool to replace the configuration block:
$SHOW_MODEL = $true # Show model name (e.g., "Claude Opus 4.6")
$SHOW_TOKEN_COUNT = $true # Show token usage count (e.g., "50k/100k")
...
IMPORTANT: Do NOT regenerate the entire script. Only update the configuration variables section.
After successful update, display:
Status line updated!
Check out your refreshed status line below!
Current configuration:
- Model name: [enabled/disabled]
- Token count: [enabled/disabled]
- Progress bar: [enabled/disabled]
- Directory: [enabled/disabled]
- Git branch: [enabled/disabled]
- Session cost: [enabled/disabled]
- Duration: [enabled/disabled]
- Time: [enabled/disabled]
- Version: [enabled/disabled]
- Rate limits: [enabled/disabled]