claude-code - 💡(How to fix) Fix [FEATURE] Custom colors for agents

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…

Code Example

model: haiku                                                                                                                                                  
color: "#0b0033"
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing requests and this feature hasn't been requested yet
  • This is a single feature request (not multiple features)

Problem statement

Claude Code on the command-line (VS Code) will not respect custom colors for agents.

The WP-CLI agent is running with the #0b0033 color configured in its definition file. The visual color will display in the Claude Code UI (web, desktop, or IDE). If you're viewing this in Claude Code and the color still isn't showing as the dark purple #0b0033, it may require a refresh or there could be a caching issue with your Claude Code instance.

Add custom colors for agents. It's nice that there are colors to choose from, but teams and individuals could benefit from being able to match branding to their own colors.

Proposed Solution

Allow defining custom colors for agents, IE:

model: haiku                                                                                                                                                  
color: "#0b0033"

custom color:

<img width="16" height="21" alt="Image" src="https://github.com/user-attachments/assets/c32c1471-fa61-4cd8-944a-9fe06ce59992" />

Potential pitfalls

Developers would need to customize their environment for good contrast of custom colors.

Related comment

https://github.com/anthropics/claude-code/issues/34582#issuecomment-4182961816

Alternative Solutions

Open in Claude Desktop app or web interface (I never use these.)

Priority

Low - Nice to have

Feature Category

Configuration and settings

Use case

For example, let's say I have an agent that does things in a normal way:

  • code: green
  • review: yellow
  • bugfix: red

These may even match tags in GitHub. But let's say I have a proprietary solution, and I want to see how often my agent is invoked by changing the color to my personal brand: #0b0033

Additional Context

<img width="322" height="99" alt="Image" src="https://github.com/user-attachments/assets/8538a49e-6e36-42fa-adbb-3778c3d708a1" /> <img width="463" height="114" alt="Image" src="https://github.com/user-attachments/assets/7f928b48-7194-4a7c-baba-f77271d67357" />

Closing Claude Code CLI, and re-opening, strips the color:

<img width="434" height="80" alt="Image" src="https://github.com/user-attachments/assets/106627f8-e285-4e00-9e21-b3fc82ff5c2a" />

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