claude-code - 💡(How to fix) Fix Allow disabling or restyling the agent-name badge in transcript

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…

When agents are spawned (via the Agent tool, /loop, etc.), their names are rendered in the transcript with a solid colored background — e.g. paper-section-revisor on a blue block, irf-runner on a green block. With multiple agents running in parallel, the transcript ends up with several large colored rectangles that visually dominate the surrounding text.

I'd like a way to either disable the background highlight entirely or restyle it (e.g. foreground color only, or a subtle dim style).

Root Cause

When agents are spawned (via the Agent tool, /loop, etc.), their names are rendered in the transcript with a solid colored background — e.g. paper-section-revisor on a blue block, irf-runner on a green block. With multiple agents running in parallel, the transcript ends up with several large colored rectangles that visually dominate the surrounding text.

I'd like a way to either disable the background highlight entirely or restyle it (e.g. foreground color only, or a subtle dim style).

Fix Action

Fix / Workaround

Why not patch it locally

v2.x ships as a single Bun-compiled Mach-O binary, so users can't patch the rendering logic the way they could with the older Node-based cli.js. A built-in setting is the only realistic path.

RAW_BUFFERClick to expand / collapse

Summary

When agents are spawned (via the Agent tool, /loop, etc.), their names are rendered in the transcript with a solid colored background — e.g. paper-section-revisor on a blue block, irf-runner on a green block. With multiple agents running in parallel, the transcript ends up with several large colored rectangles that visually dominate the surrounding text.

I'd like a way to either disable the background highlight entirely or restyle it (e.g. foreground color only, or a subtle dim style).

Proposed options

Any of these would work, in rough order of preference:

  1. A settings.json toggle, e.g. "ui.agentBadgeStyle": "background" | "foreground" | "none".
  2. Respect terminal theme — use the theme's accent color as foreground instead of a hardcoded background.
  3. A NO_COLOR-style env var scoped to agent badges only.

Environment

  • Claude Code 2.1.143 (compiled binary, macOS arm64)
  • Terminal: Ghostty
  • Dark theme

Why not patch it locally

v2.x ships as a single Bun-compiled Mach-O binary, so users can't patch the rendering logic the way they could with the older Node-based cli.js. A built-in setting is the only realistic path.

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 Allow disabling or restyling the agent-name badge in transcript