Claude Tips mascot
Claude Tips & Tricks
Claude Code beginner

Name and Search Your Sessions for Easy Recall

Use /rename to label important sessions, then find and resume them later with claude -r or by searching conversation history.

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-refactor not tuesday-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
Paste into Claude Code
Rename this Claude Code session to something descriptive so I can find it later.