Feature Request: Enhanced /resume Command with Last Prompt Summary
Is your feature request related to a problem? Please describe.
When using the /resume command to restore a previous conversation, the current interface only shows the original/first prompt from each session. This makes it difficult to distinguish between sessions when:
- Multiple sessions started with similar initial prompts
- The conversation evolved significantly from the original topic
- I need to resume work from where I left off, but can't remember which session was which
For example, if I have three sessions that all started with "Help me fix the login feature," I have no way to know which one ended up working on authentication vs. validation vs. UI styling.
Describe the solution you'd like
Enhance the /resume command list to show both:
- Original prompt (current behavior)
- Summary of the last/most recent prompt in that session
Example of improved display:
\\\\
┌─────────────────────────────────────────────────────────────────┐
│ Select a conversation to resume: │
├─────────────────────────────────────────────────────────────────┤
│ 1. Started: "Help me fix the login feature" │
│ Last: "Deploy the authentication changes to dev.vizla.io" │
│ (2 hours ago) │
├─────────────────────────────────────────────────────────────────┤
│ 2. Started: "Help me fix the login feature" │
│ Last: "Update the password validation regex" │
│ (5 hours ago) │
├─────────────────────────────────────────────────────────────────┤
│ 3. Started: "Help me fix the login feature" │
│ Last: "Change the login button color to match design" │
│ (1 day ago) │
└─────────────────────────────────────────────────────────────────┘
\\
Describe alternatives you've considered
- Show full conversation history - Too verbose and cluttered
- Show message count only - Doesn't provide context about what was accomplished
- Show timestamp only (current) - Helpful but doesn't indicate content
- Show last N messages - Could work but takes up more space
The "last prompt summary" strikes the best balance between context and brevity.
Additional context
Benefits:
- Faster decision-making - Users can immediately identify which session to resume
- Better context recall - Know where you left off at a glance
- Improved UX - Especially valuable for users managing multiple parallel tasks
- No breaking changes - This is purely additive to existing functionality
Implementation considerations:
- Could be limited to showing first ~60-80 characters of last prompt to avoid wrapping
- Could be made optional via a config flag if users prefer minimal display
- Could include a count like "Last: [15th message] 'Deploy the authentication...'"
This feature would significantly improve the usability of Claude Code's session management, especially for power users working on multiple features across different projects.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗