pr-fleet

pr-fleet is a skill for Claude Code from ao92265/claude-code-playbook. It costs 117 tokens per session (2,211 once invoked), scanned A, original, MIT.

A coordinator for processing multiple GitHub pull requests with separate worker agents and Git worktrees. A pull request is a proposed code change awaiting review or merging; a worktree is an additional checkout of the repository.

In plain words
What is it for?
Use it for a queue of pull requests, either unattended or in reviewed batches, with up to three workers running concurrently.
Why use it?
It shortens a backlog review by handling several pull requests at once and tracks each worker's progress and blockers.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: reads .claude/ paths; mentions subagents.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is 2. Create worktree: git worktree add ../wt-pr-<N> origin/<headRefName>.

Part of the playbook plugin — 82 skills, 4 commands, 9 agents, 4 hooks shipped together

Good fit Use it for a queue of pull requests, either unattended or in reviewed batches, with up to three workers running concurrently.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/ao92265/claude-code-playbook
agentmods
npx agentmods add skills/ao92265/claude-code-playbook/pr-fleet

Made for: Claude Code.

Or install playbook, the plugin that ships this one along with the rest of its 82 skills, 4 commands, 9 agents, 4 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pr-fleet

README.md
[![agentmods](https://agentmods.dev/badge/skills/ao92265/claude-code-playbook/pr-fleet/github.svg)](https://agentmods.dev/skills/ao92265/claude-code-playbook/pr-fleet)
Your own site
<a href="https://agentmods.dev/skills/ao92265/claude-code-playbook/pr-fleet"><img src="https://agentmods.dev/badge/skills/ao92265/claude-code-playbook/pr-fleet/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pr-fleet

Your own site · 80×15
<a href="https://agentmods.dev/skills/ao92265/claude-code-playbook/pr-fleet"><img src="https://agentmods.dev/badge/skills/ao92265/claude-code-playbook/pr-fleet.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 117 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,211 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00117 $0.02211
Opus 5.5 $0.00047 $0.00884
Sonnet 5.5 $0.00023 $0.00442
Haiku 4.5 $0.00012 $0.00221

Measured 14d ago against content hash 39638e05d53c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pr-fleet scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 14d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (state-helpers.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/pr-fleet/SKILL.md · 167 lines

How it starts

The opening of the file, as written. The whole thing — 167 lines — stays where its author put it; the contents beside it link to each section on GitHub.

PR Fleet — Parallel PR Orchestrator

Replaces sequential ralph-loop merges with concurrent subagent workers. One coordinator + N parallel workers per PR via git worktrees. Runs in two modes (see below).

When to invoke

  • Batch clearing of PR backlog, overnight or interactive
  • Schedulable via cron through claude -p "/pr-fleet" headless mode (autonomous mode only)
  • Repo has open PR queue (>3 PRs makes parallelism worthwhile)

Modes

  • Autonomous (default). Unattended overnight run. Dispatches the whole queue (chunked to the 20-PR cap), never merges, writes a morning report for the human to action. No pauses.
  • Interactive (--interactive, or triggered by "merge queue" / "pr backlog" / "/pr-merge-queue"). Same triage + worker protocol, but processes in batches of 5 with a checkpoint after each batch: post a summary, pause for user confirmation, and only then merge the confirmed PRs. Use this when the user wants to stay in the loop rather than wake up to a fait accompli. See Step 3a.

Shared State

.omc/state/pr-swarm.json (per-repo) tracks every PR in the run:

{ "prs": { "8669": { "status": "in_progress", "claimed_by": "worker-2", "attempts": 1, "blocker_reason": null } } }

Statuses: pending | in_progress | done | blocked. Atomic claim/release via state-helpers.sh (mkdir-mutex lock). Workers MUST claim before acting; if claim returns non-zero, skip to next PR.

Coordinator Protocol

Step 0 — Pre-flight (REQUIRED)

Run bash ~/.claude/skills/pr-fleet/state-helpers.sh preflight. Hard-fails on missing gh/jq, unauthenticated gh, or git fetch failure.

Additionally:

  • If any queued PR touches prisma/** or .github/workflows/**, set OMC_SKIP_HOOKS=protect-paths for the run AND surface to user before dispatch.
  • Verify git push --dry-run --force-with-lease against an arbitrary head returns no firewall block.

If pre-flight fails: STOP. Do not dispatch — workers will all stall on the same blocker.

Step 1 — Triage

Read the full file on GitHub · 167 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 14d ago Changed · +1 lines · +117 tokens per session 39638e05d53c
  2. 2mo ago Changed 8101ff4cea84
  3. 3mo ago First seen · 166 lines · 0 tokens per session scan A b2cc4a3ef796

Subscribe to this mod's changes

pr-fleet is a skill published in the GitHub repository ao92265/claude-code-playbook (13 stars, last pushed 14d ago), licensed MIT. It adds 117 tokens to every session and 2,211 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

pr-fleet compared with skills from other repositories

pr-fleet next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pr-fleetao92265/claude-code-playbookSkill1314d agoMITA117Claude Code
guardiansimota/agent-skillsSkill10613d agoMITA62Claude Code, Codex
diff-each-side-against-merge-baseiamakbarsha1/whetstoneSkill41mo agoCC-BY-4.0A107Claude Code
githubNousResearch/hermes-agentSkill267ktodayMITA19Claude Code, Codex
otto-pr-review-loopomnigent-ai/omnigentSkill12ktodayApache-2.0A17Claude Code, Codex
resolve-drive-promnigent-ai/omnigentSkill12ktodayApache-2.0A21Claude Code, Codex
discount-reviewpromptfoo/promptfooSkill28ktodayMITA18Claude Code, Codex