/color

Sets the prompt bar color for the current session.

What /color does

Sets the prompt bar color for the current session. You can choose from a list of available colors, use "default" to reset, or run without an argument to pick a random color. The color syncs to claude.ai/code when Remote Control is connected.

Syntax

/color

Quick drill

Three cards from the /cards deck. Open each to check your answer.

  1. Which command sets the prompt bar color for the current session?

    • Sets the prompt bar color.
    • Changes the terminal background color.
    • Configures the UI theme.
    • Displays color palette options.
    Show answer

    /color: Sets the prompt bar color.

  2. Which command frees up context by summarizing the conversation?

    • Summarizes conversation to free context.
    • Deletes parts of the conversation.
    • Starts a new conversation.
    • Displays current context usage.
    Show answer

    /compact: Summarizes conversation to free context.

  3. Which command opens the Settings interface or sets preferences directly via key=value pairs?

    • Resets all user settings to default.
    • Displays current configuration values.
    • Exports current session settings.
    • Opens settings or sets preferences.
    Show answer

    /config: Opens settings or sets preferences.

Drill all 112 commands in /cards

Spaced repetition so the right command comes to mind in your terminal.