[FEATURE] Allow seamless session resumption by name across directories
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
Description:
Currently, resuming sessions across directories requires significant mental overhead:
- Finding the session ID (not memorable)
- Exiting Claude and running a terminal command
- Manually changing directories
When using /resume, Claude displays:
This conversation is from a different directory.
To resume, run:
cd 'path/to/directory' && claude --resume
This workflow is cumbersome, especially when managing multiple active sessions across different projects.
Proposed Solution
## Proposed Enhancement
### 1. Resume by Session Name
Allow users to resume sessions using their custom names (set via /rename):
/resume "seattle desserts"
/resume "laptop troubleshooting"
Instead of requiring the session ID:
/resume 435047f4-db88-4032-8bd3-97060db07b2c
### 2. Seamless Directory Switching
When resuming a session in a different directory:
- Claude automatically changes to that directory context
- The session resumes without requiring CLI restart
- No manual terminal commands needed
### 3. Session Discovery
Add a command to list recent/active sessions across all directories:
/sessions
Output:
Recent Sessions:
- seattle desserts (dessert specials/) - 5 days ago
- Laptop Power Issues (home/) - 2 weeks ago
- OKR Review Tool (work/projects/) - 1 week ago
Alternative Solutions
_No response_
Priority
High - Significant impact on productivity
Feature Category
CLI commands and flags
Use Case Example
## Use Case
A user working on multiple projects:
- Has a dessert tracker project in
~/Documents/projects/desserts/ - Has a work dashboard in
~/work/analytics/ - Has personal scripts in
~/scripts/
Currently, to switch between these sessions after closing Claude:
- Remember which session was which
- Find the session ID somehow
- Exit current session
- Navigate to correct directory
- Run resume command with session ID
## Expected Behavior
From any Claude session:
/sessions
Recent Sessions:
- seattle desserts (Documents/projects/desserts/) - Active
- kusto dashboard (work/analytics/) - 3 hours ago
- home automation (scripts/) - Yesterday
/resume "kusto dashboard"
[Claude seamlessly switches to that session and directory]
✓ Resumed session: kusto dashboard
Working directory: ~/work/analytics/
## Benefits
- Reduces mental overhead of remembering session IDs
- Makes Claude more usable for multi-project workflows
- Eliminates friction when returning to previous conversations
- Aligns with how users naturally think about their work (by project name, not ID)
Additional Context
_No response_
This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗