claude-code - 💡(How to fix) Fix [FEATURE] Allow users to rename sessions shown in /resume [2 comments, 3 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#56165Fetched 2026-05-05 05:56:29
View on GitHub
Comments
2
Participants
3
Timeline
6
Reactions
0
Timeline (top)
commented ×2labeled ×2closed ×1unlabeled ×1

Error Message

becomes error-prone as the number of sessions grows.

Root Cause

This makes the cache warming benefit hard to exploit in practice, because users can't reliably find the session they want to resume.

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

Claude Code's prompt cache warming gives returning to an old session a meaningful performance advantage — context is already warm, making the conversation faster and cheaper to continue. However, the current /resume menu only shows auto-generated titles and timestamps, making it difficult to locate the right session when managing multiple parallel workflows.

This makes the cache warming benefit hard to exploit in practice, because users can't reliably find the session they want to resume.

Proposed Solution

Add a /rename command (or equivalent) that lets users set a human-readable name for the current session:

/rename "auto record"

The custom name would then appear in the /resume list in place of (or alongside) the auto-generated title.

Alternatively, the /resume interface could support inline title editing directly from the menu.

Alternative Solutions

No response

Priority

High - Significant impact on productivity

Feature Category

CLI commands and flags

Use Case Example

A user maintains several long-running, purpose-specific sessions (e.g. one for video recording automation, one for a data pipeline, one for a client project). Each session has accumulated relevant context and warm cache. Without named sessions, the user must rely on timestamps and auto-summaries to find the right one — which becomes error-prone as the number of sessions grows.

Additional Context

No response

extent analysis

TL;DR

Implement a /rename command to allow users to assign human-readable names to sessions, making them easily identifiable in the /resume menu.

Guidance

  • Introduce a /rename command that accepts a custom name as an argument, which will be displayed in the /resume list.
  • Consider adding inline title editing to the /resume interface as an alternative solution.
  • Ensure the custom name is stored and retrieved correctly, potentially requiring updates to the session management system.
  • Verify the implementation by testing the /rename command and checking that the custom name appears in the /resume list.

Example

/rename "Video Recording Session"

This example demonstrates how a user could rename a session to a more descriptive title.

Notes

The proposed solution assumes that the current session management system can be extended to store and retrieve custom session names. Additional development may be required to integrate this feature.

Recommendation

Apply workaround: Implement the /rename command to provide users with a way to assign meaningful names to their sessions, improving the usability of the /resume menu.

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 users to rename sessions shown in /resume [2 comments, 3 participants]