promptgarten ๐ŸŒฑ
๐ŸŒ ES

Command reference ยท Claude Code

/statusline

Configures Claude Code's status line.

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