# Send Repo PR Triage to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "repo-pr-triage",
    "name": "Repo PR Triage",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/patrob/repo-pr-triage",
    "canonicalUrl": "https://clawhub.ai/patrob/repo-pr-triage",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/repo-pr-triage",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=repo-pr-triage",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "scripts/onboard.py",
      "scripts/test_onboard.py",
      "scripts/test_report.py",
      "scripts/test_scan.py",
      "scripts/scan.py"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/repo-pr-triage"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/repo-pr-triage",
    "downloadUrl": "https://openagent3.xyz/downloads/repo-pr-triage",
    "agentUrl": "https://openagent3.xyz/skills/repo-pr-triage/agent",
    "manifestUrl": "https://openagent3.xyz/skills/repo-pr-triage/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/repo-pr-triage/agent.md"
  }
}
```
## Documentation

### PR Triage

Score and prioritize GitHub PRs against a project's vision document. Three-step workflow: onboard, scan, report.

### Quick Start

# 1. Onboard: gather repo context, interview the owner
python3 scripts/onboard.py https://github.com/owner/repo --output-dir ./triage-config

# 2. Scan: score open PRs against the vision
python3 scripts/scan.py https://github.com/owner/repo ./triage-config/vision.md --output scores.json

# 3. Report: generate markdown triage reports
python3 scripts/report.py scores.json --output-dir ./triage-reports

### Step 1: Onboard (one-time per repo)

Run scripts/onboard.py with a GitHub repo URL. It fetches the README, CONTRIBUTING.md, recent releases, and repo metadata via gh CLI, then outputs an interview prompt.

Use the interview prompt to ask the repo owner these questions:

Identity & Mission:

In one sentence, what is this project and who is it for?
What problem does it solve that alternatives do not?
What are your 3-5 non-negotiable principles?

Priorities:
4. Rank contribution areas by importance: security, bugs, features, performance, docs, tests, refactoring
5. What types of PRs would you auto-reject?
6. What types of PRs would you fast-track?

Red/Green Flags:
7. What patterns signal low-quality contributions?
8. What makes you excited to review a PR?
9. Specific areas where you want help?

Context:
10. Growth mode, maintenance mode, or transitioning?
11. Upcoming milestones affecting prioritization?
12. How do you handle breaking changes?

After the interview, generate two files in the output directory:

vision.md - Project mission, identity, priorities, alignment signals
rubric.md - Scoring rubric customized from references/rubric-template.md

### Step 2: Scan (run per triage session)

Run scripts/scan.py with the repo URL and vision doc path. It:

Fetches open PRs via gh pr list (title, body, labels, stats, author, date)
Applies rule-based scoring: base 50, with positive/negative modifiers
Detects potential duplicates via title similarity
Outputs JSON with scores, reasoning, and distribution

The scan uses heuristic scoring (keyword matching, diff size, test mentions). For deeper analysis, read the JSON output and apply additional LLM reasoning to ambiguous PRs (scores 40-60).

Options:

--count N - Number of PRs to fetch (default: 100)
--output file.json - Save to file instead of stdout

### Step 3: Report (run after scan)

Run scripts/report.py with the scan JSON. It generates four markdown files:

prioritize.md - PRs scoring 80+ (fast-track for review)
review.md - PRs scoring 50-79 (standard queue)
close.md - PRs scoring below 50 (likely close or request changes)
summary.md - Distribution, top 3, patterns, duplicates, active authors

### Scoring Overview

Base score: 50. Key modifiers:

SignalPointsSecurity fix+20Bug fix with tests+10Core functionality improvement+10Performance (measured)+8Small focused diff+5Has tests+5Spam/promotion-30Unwanted dependency-25Large diff, no tests-15No description-5

Full rubric: references/rubric-template.md
Example vision doc: references/example-vision.md

### Recurring Triage via Cron

Set up a cron job to scan weekly:

description: Weekly PR triage for owner/repo
schedule: "0 9 * * MON"
model: anthropic/claude-sonnet-4-20250514
channel: telegram

Cron prompt: "Run pr-triage scan on https://github.com/owner/repo using ./triage-config/vision.md, generate reports, and send the summary."

### Requirements

gh CLI installed and authenticated (gh auth login)
Python 3.10+
No additional Python packages needed (stdlib only)
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: patrob
- Version: 1.0.0
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-05-07T17:22:31.273Z
- Expires at: 2026-05-14T17:22:31.273Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/repo-pr-triage)
- [Send to Agent page](https://openagent3.xyz/skills/repo-pr-triage/agent)
- [JSON manifest](https://openagent3.xyz/skills/repo-pr-triage/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/repo-pr-triage/agent.md)
- [Download page](https://openagent3.xyz/downloads/repo-pr-triage)