Sessions pile up fast. Naming the important ones makes them findable.
Name Your Sessions
/rename auth-middleware-refactor
Now when you run claude -r, this session appears with a meaningful label instead of a timestamp.
Resume Named Sessions
# Interactive picker showing named sessions
claude -r
# Continue the most recent session
claude -c
# Resume a specific session by ID
claude -r "session_id" "continue where we left off"
Search Conversation History
Conversations are stored locally as JSONL files:
# Find sessions where you discussed a topic
grep -l -i "rate limiter" ~/.claude/projects/-Users-*/conversations/*.jsonl
Tips
- Name sessions for the task, not the date:
auth-refactornottuesday-work - Name any session you might want to return to, it takes 2 seconds
- Use
[TODO]prefix for incomplete work:/rename [TODO] finish rate limiter tests - Regularly clean up old sessions you no longer need