claude-code - 💡(How to fix) Fix Feature Request: Allow customizing session title format (e.g., project name prefix) [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#45522Fetched 2026-04-09 08:03:27
View on GitHub
Comments
1
Participants
2
Timeline
3
Reactions
0
Timeline (top)
labeled ×2commented ×1

Root Cause

  • Multi-project workflows become much easier to manage
  • Session list becomes scannable at a glance
  • CLAUDE.md instructions currently cannot control this behavior
RAW_BUFFERClick to expand / collapse

Problem

When working across multiple projects, session titles are auto-generated without any project context. This makes it hard to distinguish which session belongs to which project, especially when many sessions are open.

For example, a session might be titled "Korean greeting conversation" even though it was opened in a specific project directory.

Proposed Solution

Allow users to configure the session title format via CLAUDE.md or settings. For example:

  • A rule like [project_name] <auto-generated title> would prefix every session with the project name.
  • The project name could be derived from the working directory name or a user-defined value in CLAUDE.md.

Example

Instead of:

  • Korean greeting conversation
  • Refactor and consolidate...

It would show:

  • [app_switcher] Korean greeting conversation
  • [my_backend] Refactor and consolidate...

Why This Matters

  • Multi-project workflows become much easier to manage
  • Session list becomes scannable at a glance
  • CLAUDE.md instructions currently cannot control this behavior

extent analysis

TL;DR

Allow users to configure the session title format via CLAUDE.md or settings to include project context.

Guidance

  • Introduce a configurable session title format to include the project name, derived from the working directory or a user-defined value in CLAUDE.md.
  • Consider adding a prefix to the auto-generated title, such as [project_name] <auto-generated title>, to provide project context.
  • Evaluate the feasibility of implementing this feature through CLAUDE.md or settings to provide users with flexibility and control over session titles.
  • Assess the potential impact on multi-project workflows and session list scannability with the proposed solution.

Example

A possible configuration in CLAUDE.md could be: [project_name] <auto-generated title>, where project_name is replaced with the actual project name derived from the working directory or user-defined value.

Notes

The proposed solution relies on the ability to derive the project name from the working directory or a user-defined value in CLAUDE.md, which may require additional implementation details.

Recommendation

Apply workaround by introducing a configurable session title format to include project context, as this would provide users with the necessary flexibility to manage multi-project workflows effectively.

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