Command reference ยท Claude Code
/statusline
Configures Claude Code's status line.
Describe what you want, or leave it without an argument for auto-configuration from the shell prompt.
โ WHEN TO USE IT?
Show custom info in the status line
Describe what you want to /statusline, e.g. 'show me the current git branch and token cost', to configure the status line accordingly.
Derive it automatically from the shell prompt
Call /statusline with no argument so it derives the configuration automatically from your existing shell prompt.
โ WHEN NOT TO?
Just changing the prompt bar's color
/statusline configures the status line's content/layout, not its color.
Better: Use /color to just set the color.
SOURCES
- Claude Code Doku (offiziell) โ code.claude.com