Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

claim

Claim multiple PRs for review at once.

Sign up for review responsibility without clicking through the web UI.

When to Use

  • Sprint start: “I’ll take these three”
  • Batch workflow: “Claim, review, repeat”

Synopsis

prctrl claim [OPTIONS] [PR_NUMBERS]

Options

FlagDescriptionDefault
-a, --allClaim all matching PRs (use with --repo/--author filters)false
-n, --dry-runPreview what would be claimed without taking actionfalse
-P, --priorityShow priority scores for each PRfalse
-s, --since-daysOnly show PRs created since this many days ago-
--repoFilter by repository name (partial match)-
--authorFilter by author username (partial match)-
--jsonOutput results as JSONfalse
-q, --quietSuppress per-PR progress messages (show only summary)false
PR_NUMBERSPR number(s) to claim (comma-separated)-

Examples

# Claim specific PRs by number
prctrl claim 4821,3156,2890

# Claim all pending reviews
prctrl claim --all

# Preview what would be claimed (dry-run)
prctrl claim --all --dry-run

# Claim all PRs from a specific repo
prctrl claim --all --repo myservice

# Claim all PRs from a specific author with priority scores
prctrl claim --all --author johndoe --priority

# Claim all PRs from the last 7 days only
prctrl claim --all --since-days 7

# Claim with JSON output for scripting
prctrl claim --all --json