CLI commands and flags

claude -r "<session>" "query"

Reopens a specific session using its identifier or title.

Syntax

claude -r "<session>" "query"

Example

Terminal
claude -r "auth-refactor" "Finish this PR"

Type to search the reference, templates and lessons.