Resume a previous Claude Code session that was linked to a specific pull request, by PR number or URL.
Usage
claude --from-pr 123
claude --from-pr https://github.com/owner/repo/pull/123
claude --from-pr # opens interactive picker
claude --from-pr "search" # opens picker filtered by search term
Details
Accepts a PR number, a full PR URL, or no value (opens an interactive picker)
When passed a string that is not a number/URL, it filters the picker by that search term
Works alongside existing --resume and --continue session management flags
Evidence
CLI option definition (search for "--from-pr [value]")
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agreeAdded --from-pr flag to resume sessions linked to a specific GitHub PR number or URL