claude-code - 💡(How to fix) Fix [DOCS] Commands page omits bare `/color` random-color behavior [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#56149Fetched 2026-05-05 05:56:54
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Author
Participants
Timeline (top)
labeled ×3
RAW_BUFFERClick to expand / collapse

Documentation Type

Incorrect/outdated documentation

Documentation Location

https://code.claude.com/docs/en/commands

Section/Topic

/color command row in the Commands table

Current Documentation

The docs currently say:

/color [color|default] — Set the prompt bar color for the current session. Available colors: red, blue, green, yellow, purple, orange, pink, cyan. Use default to reset. When Remote Control is connected, the color syncs to claude.ai/code

What's Wrong or Missing?

This entry documents explicit color arguments and the reset behavior, but it does not explain what the no-argument form does.

If the v2.1.128 behavior is that bare /color now picks a random session color, the current command description is outdated/incomplete: the syntax shows the argument as optional, but the outcome of running /color with no argument is not described anywhere on the page.

Suggested Improvement

Update the /color row so it documents all three behaviors in one place:

  • Bare /color picks a random session color
  • /color <color> sets a specific session color
  • /color default resets to the default color

For example, revise the row text to say that running /color without arguments chooses a random prompt-bar color for the current session.

Impact

Medium - Makes feature difficult to understand

Additional Context

Affected Pages:

PageLine(s)Context
https://code.claude.com/docs/en/commands32/color command row documents explicit colors and default, but not bare /color behavior

Total scope: 1 page affected

This draft is based on the v2.1.128 changelog entry for bare /color choosing a random session color.

extent analysis

TL;DR

Update the /color command documentation to include the behavior of running the command without arguments, which now picks a random session color.

Guidance

  • Review the current documentation for the /color command and identify the missing information regarding the no-argument form.
  • Update the documentation to include the three behaviors: bare /color picks a random session color, /color <color> sets a specific session color, and /color default resets to the default color.
  • Verify that the updated documentation accurately reflects the behavior of the /color command in version v2.1.128.
  • Consider adding an example to the documentation to illustrate the usage of the /color command with and without arguments.

Example

The revised documentation could say:

/color [color|default] — Set the prompt bar color for the current session. Running /color without arguments chooses a random prompt-bar color. Available colors: red, blue, green, yellow, purple, orange, pink, cyan. Use default to reset. When Remote Control is connected, the color syncs to claude.ai/code

Notes

The update should only be applied if the behavior of the /color command in version v2.1.128 is confirmed to be as described in the issue.

Recommendation

Apply workaround: Update the documentation to reflect the correct behavior of the /color command, as the issue is with the documentation being outdated, not the command itself.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [DOCS] Commands page omits bare `/color` random-color behavior [1 participants]