pr-shepherd weekly downloads statistics
By jongleberry · npm · Claude Code
Autonomous PR CI monitor and review-comment resolver for agentic coding tools
pr-shepherd has 2,067 recorded weekly downloads on npm, a decrease of 97.9% over the past 30 days, ranking #1868 of 3,247 tracked listings.
About pr-shepherd
pr-shepherd
Take pull requests from scratch to merge-ready with a coding agent, as a Code Mode-style plugin. It works with Claude Code, Codex, and Grok.
A local CLI, harness-agnostic version of PR Steward. See comparisons.
Benefits
- Better decisions: across 71 PR states, it scores 0.95 with the plugin vs. 0.57 with
gh+ the GitHub MCP server (outcome evals, 2026-11-23). - Lower cost: modeled cost per PR session is about 34% lower than
ghand 75% lower than the GitHub MCP server, with 18% / 69% fewer turns (token bench; assumes a warm prompt cache). - More PRs on one GitHub quota: 65% fewer GraphQL points than
ghper PR session. While CI runs, a 5,000-point hourly budget covers about 80 waiting PRs, vs. about 13 withgh pr checks --watch(GitHub API, GraphQL usage). A GitHub App and webhook events cut it more. - 79 GitHub edge cases handled: outdated or resolved threads are still shown once, edited comments come back, and conflicts that GraphQL reports as
CLEANare caught (handled cases). - Tidy PRs, less context: bot and outdated comments are triaged and resolved, human reviews get replies, and known bot noise is minimized and filtered out before it reaches the agent.
- Review hygiene: it never answers its own replies or minimizes human comments, skips a denied reply once, and hands a repeatedly rejected fix to a human (comments and reviews).
- CI failures, pre-read: each failing check comes with its failed step, summary, and log excerpt, so the agent rarely fetches logs. Superseded runs, unstarted required checks, and approval gates are recognized (failing checks, CI cases).
- Cheaper CI: names the in-progress runs a fix push would cancel anyway.
- Why a PR can't merge: prints the actual branch protection and ruleset requirements, such as
Approvals: None [Required](merge requirements). Merges are pinned to the head the agent checked, and a PR a maintainer pulled from the queue is not requeued (merge and queue). - Full flow: draft to mergeable to merged, through the merge queue and stacks. Suggested changes become commits that credit the reviewer.
- Safe by construction: the CLI never mutates git or merges by itself, and human handoff is limited to a short list.
Use cases
- Autonomous agents. An agent opens a PR and drives it to merge-ready, or merged when you allow it, with nobody watching CI and reviews.
- Exhaustive AI code review. For PRs with many bot reviews (CodeRabbit, Codex, Copilot), Shepherd shows every thread and comment once, tracks first-look, edited, and outdated items, and batches replies, resolves, and minimizes.
- High-velocity teams. Stacked PRs, merge queues, and ejections are supported, and agents are told to rebase or stack as needed, so work keeps moving.
How to use
Install the plugin, then ask your agent:
- "make PRs, /pr-shepherd:pr-shepherd" makes one PR per separately reviewable change, stacks a PR on an earlier one when it needs that PR's code or edits the same lines, and shepherds every PR until it is mergeable.
/pr-shepherd <PR>takes a PR, including a draft, to mergeable without merging. Omit the PR to use the current branch./pr-shepherd <PR1> <PR2>shepherds several PRs, returning when any needs action./pr-shepherd --merge <PR>takes the PR to mergeable and merges it./pr-shepherd stack <stack#> --mergeshepherds a native stack and merges it all at once when it is ready.--merge-through <PR>merges up to that layer, and--merge-readymerges the bottom layers as they become ready. Listing PR numbers instead of the stack number owns only those layers.
In Codex, use $pr-shepherd. In a shell or CI, run pr-shepherd <PR>.
Then run /pr-shepherd:setup-pr-shepherd (Codex: $setup-pr-shepherd) to scan recent PRs for recurring bot noise and configure .pr-shepherdrc.yml, or edit it by hand (configuration):
- turn on the bundled classification rules to hide known bot comments, or add your own (examples);
- list code-review workflows in
checks.never-cancelso they always finish.
version: 1
classify:
standard:
all: true
checks:
never-cancel:
- "*review*"
Optionally, put your policy ("reply instead of fixing nits", "never merge") in a skill that wraps the shipped one (skills).
What it does
Shepherd gathers the full PR context (reviews, CI failures, merge requirements) in one call and returns one action with numbered instructions and exact commands, so the agent needs fewer tokens, calls, and turns.
$ pr-shepherd 123
# PR #123 [TRIAGE]
## Review threads
### `threadId=PRRT_kwDOSGizTs58XB1L` — `src/commands/iterate/index.mts:42` (@alice · MEMBER)
> The variable name is misleading.
## Instructions
1. Fix each warranted item.
2. Commit and push any changes to the PR head.
3. `$CHANGE_MESSAGE`: one sentence on what changed. Run even if no code changed: `pr-shepherd apply review 123 --reply-thread-ids PRRT_kwDOSGizTs58XB1L --message "$CHANGE_MESSAGE" --require-sha HEAD`
4. Rerun Shepherd now.
More in docs/features.md.
Install
The plugin ships the skills, which drive the CLI, so install both.
# Claude Code
claude plugin marketplace add jongleberry/ratchet-stack
claude plugin install pr-shepherd@ratchet-stack…
Description from the npm listing.
- automation
- ci
- claude
- claude-code
- code-review
- codex
- github
- pull-request
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (592)Similar npm Claude Code plugins
All 20 pr-shepherd alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/pr-shepherd. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.