fleet-pr-agent

Multi-repo PR monitoring and triage agent. Scans GitHub repos for open PRs, prioritizes by staleness/review status/CI state, and generates a structured Markdown triage summary. Use when managing PRs across multiple repositories.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "fleet-pr-agent" with this command: npx skills add lanxevo3/fleet-pr-agent

Fleet PR Agent

Multi-repository pull request monitoring, triage, and summary tool for engineering teams and AI agent fleets managing many repos at once.

What It Does

  • Scans one or more GitHub repos for open PRs using the gh CLI
  • Prioritizes by: staleness, review status, CI pass/fail, label priority
  • Generates a structured Markdown triage report (no external dependencies — pure Python stdlib + gh)
  • Supports concurrent scanning of multiple repos in a single run

Prerequisites

  • gh CLI authenticated (gh auth status)
  • Python 3.6+ (standard library only — no pip packages required)
  • Repos accessible to your GitHub token

Quick Start

# Scan a single repo
python3 scripts/triage.py owner/repo

# Scan multiple repos
python3 scripts/triage.py owner/repo1 owner/repo2 owner/repo3

# Generate triage report to file
python3 scripts/triage.py owner/repo --output report.md

Usage as Claude Code Skill

When invoked as /fleet-pr-agent, provide repos:

/fleet-pr-agent owner/repo1 owner/repo2

The agent will:

  1. Fetch all open PRs from each repo via gh
  2. Score and rank them by urgency (stale > failing CI > needs review > draft)
  3. Output a prioritized Markdown summary

Triage Priority Rules

PriorityCondition
P0 - CriticalCI failing + older than 3 days
P1 - HighApproved but not merged, or review requested > 2 days ago
P2 - MediumOpen > 5 days, no review activity
P3 - LowDraft PRs, recently opened

Output Format

## PR Triage Report — 2026-03-27

### P0 — Critical (2)
- [#123 Fix auth middleware](url) — CI failing since Mar 24, 2 approvals
- [#456 DB migration](url) — CI failing since Mar 25, no reviews

### P1 — High (1)
- [#789 Add caching layer](url) — Approved Mar 25, ready to merge

### P2 — Medium (3)
...

### Summary
- Total open PRs: 15
- Needing attention: 6
- Repos scanned: 2

Configuration

Set env vars to override defaults:

VariableDefaultDescription
FLEET_PR_STALE_DAYS5Days before a PR is considered stale
FLEET_PR_CI_WEIGHT3Weight multiplier for CI-failing PRs
FLEET_PR_MAX_PRS50Max PRs to fetch per repo

Architecture

  • scripts/triage.py — Pure Python 3 triage engine (stdlib only)
  • No external package dependencies
  • Uses gh pr list --json for all data fetching
  • Portable across Linux, macOS, Windows (Python + gh required)

License

MIT

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

PR Advocacy

Monitor PR status every 4 hours, promptly address feedback and CI issues, communicate clearly within 24 hours, and drive reviews to timely merge.

Registry SourceRecently Updated
4410Profile unavailable
Coding

PR Auto-Merge Agent

Autonomous PR merge agent. Scans repos for approved + CI-passing PRs and merges them automatically. Supports dry-run mode, squash/merge options, and min-appr...

Registry Source
1270Profile unavailable
Coding

workspace-backup-github

Backup AI Agent workspace to GitHub - One-click backup for OpenClaw, Claude Code, Cursor, and other AI Agent workspaces to a private GitHub repository. Suppo...

Registry SourceRecently Updated
2580Profile unavailable
Coding

alfred-github-backup

GitHub 仓库备份技能 - 将 OpenClaw 工作空间备份到 GitHub 私有仓库。 支持两种模式:(1) 自动模式 - 定时自动备份 (2) 手动模式 - 交互式配置向导。 自动引导用户完成:GitHub Token 配置 → 仓库创建 → 初始化备份 → 设置定时任务。 用途:(1) 首次设置 (2...

Registry SourceRecently Updated
2530Profile unavailable