claude-code - 💡(How to fix) Fix [FEATURE] Display agent names in window/tab titles [1 comments, 2 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#51707Fetched 2026-04-22 07:55:00
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
0
Author
Timeline (top)
labeled ×3commented ×1
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

When running background agents with custom names, it would be helpful to see the agent name in the window or tab title.

Description:

When running background agents with custom names, it would be helpful to see the agent name in the window or tab title.

Use Case:

  • User spawns an agent to work on a specific task (e.g., "Chronos" for timeout analysis)
  • Multiple agents or sessions may be running
  • Window/tab title could show: Claude Code - Chronos or Chronos - VSW-5353 Timeout Tuning

Benefits:

  • Easy identification of which agent is working in which window/tab
  • Better task switching when managing multiple concurrent agents
  • Improved context awareness at a glance

Proposed Solution

When a background agent is launched with a name, update the window title

  • Format: Claude Code - [Agent Name] or [Agent Name] - [Task Description]
  • Revert to default title when agent completes or user continues working

Alternative Solutions

No response

Priority

Medium - Would be very helpful

Feature Category

CLI commands and flags

Use Case Example

Use Case:

  • User spawns an agent to work on a specific task (e.g., "Chronos" for timeout analysis)
  • Multiple agents or sessions may be running
  • Window/tab title could show: Claude Code - Chronos or Chronos

Additional Context

No response

extent analysis

TL;DR

Update the window title to include the agent name when a background agent is launched with a custom name.

Guidance

  • Consider modifying the code that launches background agents to update the window title with the agent name.
  • The proposed solution suggests using a format like "Claude Code - [Agent Name]" or "[Agent Name] - [Task Description]" for the window title.
  • To implement this, you may need to access the agent name and task description variables in the code and use them to construct the new window title.
  • Reverting to the default title when the agent completes or the user continues working will also be necessary.

Example

No specific code example can be provided without more context, but the general idea would be to use a function or method that updates the window title, passing in the agent name and task description as parameters.

Notes

The exact implementation will depend on the programming language, framework, and existing codebase being used. This solution assumes that the agent name and task description are available as variables in the code.

Recommendation

Apply workaround: Update the window title with the agent name when launching background agents, as this is a targeted solution to the specific problem described.

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 [FEATURE] Display agent names in window/tab titles [1 comments, 2 participants]