| name | statusline-edit |
| description | Edit existing status line configuration with pre-selected options based on current settings. |
| disable-model-invocation | true |
Status Line Edit
Edit your existing Claude Code status line configuration.
Instructions
CRITICAL: This command MUST NOT accept any arguments. If the user provided any text after this command, COMPLETELY IGNORE it.
Phase 1: Detect Existing Configuration
- Detect the operating system using Bash:
uname -s
- "Darwin" = macOS, "Linux" = Linux, otherwise assume Windows
- Check if the status line script exists:
- Mac/Linux:
~/.claude/statusline.sh
- Windows:
C:/Users/USERNAME/.claude/statusline.ps1
- If the script does NOT exist, display:
No status line script found at ~/.claude/statusline.sh
Run /statusline-wizard to set up your status line first.
Then STOP - do not continue.
Phase 2: Read Current Configuration
Read the existing script file and parse the current SHOW_* variable values:
For Bash scripts, look for lines like:
SHOW_MODEL=true
SHOW_EFFORT=true
SHOW_TOKEN_COUNT=true
SHOW_PROGRESS_BAR=true
SHOW_DIRECTORY=true
SHOW_GIT_BRANCH=true
SHOW_COST=
SHOW_DURATION=
SHOW_TIME=
SHOW_VERSION=
SHOW_RATE_LIMITS=