Statusline Prompt

You can customize your Claude Code statusline below the prompt with the /statusline command. You can add instructions in your own words. For example, that you want to see the current Git branch, the model, and the context window percentage:

Language: Markdown Text
/statusline Set up a custom statusline with a bash script.

Style: minimal with dim · separators and
subtle ANSI colors (no backgrounds).
Segments left to right: 
    1. Git branch (cyan) — show branchname with a dirty indicator: 
    orange * for unstaged changes, yellow + for staged, +* for both.
    Only show when in a git repo.
    2. Model (blue) — show the model display name, 
    followed by the effort level in dim parentheses
    (read from ~/.claude/settings.json's effortLevel).
    3. Context usage % — just the number and %.
    Green normally, yellow at 50%+, red at 80%+.

No user/host, no directory, no "ctx" label.
Avatar image for theeternalstudent

theeternalstudent on May 6, 2026

I was having trouble copying and pasting the scaffold text, so I created a text file and then asked Claude to run it. Worked fine.

Avatar image for Philipp Acsany

Philipp Acsany RP Team on May 7, 2026

That’s a good workaround :)

You must own this product to join the conversation.