claude-code - 💡(How to fix) Fix [FEATURE] Allow renaming session titles after creation [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#51791Fetched 2026-04-22 07:52:44
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Participants
Timeline (top)
labeled ×2cross-referenced ×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

Summary Currently, session titles in Claude Code are auto-generated from the first message and cannot be changed afterward. This makes it difficult to manage multiple sessions, especially when sessions span different phases or topics.

Requested Feature Allow users (or agents) to rename session titles after creation, either via:

A UI option (right-click or edit button in the session list) A CLI command (e.g., claude session rename <id> "new title") An API/tool accessible to the agent itself during a session Use Case When managing multiple long-running sessions across projects, it's hard to distinguish which sessions are active, completed, or on hold — purely from auto-generated titles. Being able to rename sessions (e.g., adding ✅ for done, or clarifying the topic) would significantly improve session management UX.

Additional Context It would also be valuable if agents could rename sessions programmatically during execution, so the session title can reflect the actual outcome rather than the initial prompt.

Proposed Solution

Summary Currently, session titles in Claude Code are auto-generated from the first message and cannot be changed afterward. This makes it difficult to manage multiple sessions, especially when sessions span different phases or topics.

Requested Feature Allow users (or agents) to rename session titles after creation, either via:

A UI option (right-click or edit button in the session list) A CLI command (e.g., claude session rename <id> "new title") An API/tool accessible to the agent itself during a session Use Case When managing multiple long-running sessions across projects, it's hard to distinguish which sessions are active, completed, or on hold — purely from auto-generated titles. Being able to rename sessions (e.g., adding ✅ for done, or clarifying the topic) would significantly improve session management UX.

Additional Context It would also be valuable if agents could rename sessions programmatically during execution, so the session title can reflect the actual outcome rather than the initial prompt.

Alternative Solutions

No response

Priority

Critical - Blocking my work

Feature Category

CLI commands and flags

Use Case Example

No response

Additional Context

No response

extent analysis

TL;DR

Implementing a feature to allow users or agents to rename session titles after creation would resolve the issue.

Guidance

  • Consider adding a UI option, such as a right-click or edit button in the session list, to enable users to rename sessions.
  • Develop a CLI command, e.g., claude session rename <id> "new title", to provide an alternative way to rename sessions.
  • Create an API or tool accessible to agents during a session, allowing them to rename sessions programmatically.
  • Evaluate the feasibility of reflecting the actual outcome of a session in its title, rather than just the initial prompt.

Example

No code snippet is provided as the issue focuses on feature request rather than code implementation.

Notes

The implementation details and technical requirements for the proposed feature are not specified in the issue, so the guidance provided is high-level and focused on the requested functionality.

Recommendation

Apply workaround: Implement the proposed feature to allow users or agents to rename session titles after creation, as it directly addresses the reported issue and improves session management UX.

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] Allow renaming session titles after creation [1 participants]