Resume a specific past session
sessions
// what it does
claude -r (or --resume) reopens a session by its ID or name; with no argument it opens an interactive picker of past conversations for the current project. Give it a name you set earlier (claude -r auth-refactor "finish this PR") to jump straight back in. Combine with -p to resume non-interactively in a script.
// shell
$ claude -r$ claude -r auth-refactor "finish this PR"$ claude --resume auth-refactor --fork-session// gotcha
Resuming continues the same session ID, so new turns overwrite the original transcript. Add --fork-session to branch into a new session ID instead and keep the original untouched.