claude-code - 💡(How to fix) Fix Generate AI-summarized titles for sessions in --resume picker

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…

Root Cause

When using claude --resume, each session is labeled with the last user message. This makes it very hard to identify which session is which, because the last message is often generic or irrelevant to the session's actual topic — things like "hello", "continue", "got it", or a long follow-up question truncated mid-sentence.

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 using claude --resume, each session is labeled with the last user message. This makes it very hard to identify which session is which, because the last message is often generic or irrelevant to the session's actual topic — things like "hello", "continue", "got it", or a long follow-up question truncated mid-sentence.

For users who run multiple sessions throughout the day, scanning 10+ sessions labeled this way is painful. You end up opening sessions blindly just to check what they were about.

Proposed Solution

Automatically generate a short AI-summarized title for each session (e.g., "Debugging auth middleware" or "Setting up MCP config"), similar to how Claude Desktop and claude.ai already generate conversation titles.

The title could be generated lazily — after the first few exchanges or when the session is saved — to avoid adding latency to the interactive experience. It would replace the current "last user message" as the default display in the --resume picker.

Alternative Solutions

Currently I use Ctrl+R to manually rename important sessions, but this is easy to forget and doesn't scale. It also requires me to remember to do it before ending the session.

Another option would be using the first user message instead of the last, which is slightly better since it often contains the initial task description — but an AI-generated summary would be far more accurate and consistent.

Priority

Medium - Would be very helpful

Feature Category

CLI commands and flags

Use Case Example

No response

Additional Context

No response

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 Generate AI-summarized titles for sessions in --resume picker