claude-code - 💡(How to fix) Fix [FEATURE] Persistent project name banner in Claude Code UI [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#55693Fetched 2026-05-03 04:46:57
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Participants
Timeline (top)
labeled ×3
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 multiple Claude Code sessions simultaneously across different terminal windows or tabs (a common workflow for developers juggling multiple projects), there is no persistent visual indicator of which project the current session belongs to. This creates a real cognitive overhead, especially mid-conversation, where scrolling up to find context clues is impractical. The user is forced to either ask Claude which project it's working in, or risk giving instructions intended for one codebase to another.

Proposed Solution

A small, persistent project name banner displayed somewhere in the Claude Code UI ideally at the top or bottom of the terminal interface that shows the current working directory or project name at all times, regardless of chat/scroll position. For example: 📁 my-sitecore-jss-project | Claude Code

This banner should: Always remain visible (sticky), not scroll away with chat history Derive its value from the working directory or project root (already available to Claude Code at session start) Be minimal and non-intrusive just enough to orient the developer at a glance

Alternative Solutions

Manually renaming terminal tab works at the shell level but doesn't help inside the Claude Code chat UI Using CLAUDE.md with the project name at the top Claude references it, but it doesn't create a persistent visual anchor Asking Claude at the start of each session repetitive and adds friction to every new conversation

Priority

Medium - Would be very helpful

Feature Category

Interactive mode (TUI)

Use Case Example

A developer is working on two projects simultaneously: a Sitecore JSS backend and a Next.js frontend. Both are open in separate terminal windows, each running their own Claude Code session. After switching back and forth a few times, they return to one window mid-conversation and without scrolling all the way up have no reliable way to confirm which project Claude is currently operating in. They either pause to ask Claude, or worse, issue a refactoring command to the wrong codebase entirely. A persistent project banner would have immediately grounded them without any interruption to the workflow.

A developer had Claude Code running in both a VS Code extension and a terminal session simultaneously. After switching from the terminal to VS Code, they issued an instruction without realising the VS Code session was rooted in a different directory. Claude began creating folders and files in the wrong project before the developer noticed. A persistent project path banner would have immediately flagged the mismatch.

Additional Context

Claude Code already has access to the working directory and project root at session startup (e.g. via CLAUDE.md discovery and git root detection), so the data needed to populate this banner requires no new infrastructure it's purely a UI rendering concern. A similar pattern exists in tools like VS Code (which always shows the workspace name in the title bar) and tmux (which shows session/window names in a status bar). Claude Code could follow the same convention natively. Even a simple terminal title update via escape codes (e.g. \033]0;ProjectName - Claude Code\007) would be a meaningful step in the right direction for terminal-based users.

extent analysis

TL;DR

Implementing a persistent project name banner in the Claude Code UI would help developers identify the current project when running multiple sessions simultaneously.

Guidance

  • Derive the project name from the working directory or project root, which is already available to Claude Code at session start.
  • Display the project name in a sticky banner at the top or bottom of the terminal interface, ensuring it remains visible regardless of chat/scroll position.
  • Consider using terminal title updates via escape codes (e.g., \033]0;ProjectName - Claude Code\007) as a minimal step towards achieving this feature.
  • Ensure the banner is minimal and non-intrusive, providing just enough information to orient the developer at a glance.

Example

A possible implementation could involve updating the terminal title using escape codes, such as: \033]0;my-sitecore-jss-project - Claude Code\007

Notes

The implementation details may vary depending on the specific requirements and constraints of the Claude Code UI. This feature would require careful consideration of the UI design to ensure the banner is visually appealing and effective.

Recommendation

Apply a workaround by using terminal title updates via escape codes, as this provides a minimal yet effective solution to display the project name, even if a full UI redesign is not feasible at this time.

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] Persistent project name banner in Claude Code UI [1 participants]