pr-triage

pr-triage is a skill for Claude Code, Codex from FlorianBruniaux/claude-code-plugins. It costs 86 tokens per session (5,310 once invoked), scanned A, original, MIT.

A workflow for sorting and reviewing open GitHub pull requests, which are proposed code changes waiting to be merged. It audits the backlog, supports detailed reviews, and can prepare local workspaces.

In plain words
What is it for?
Use it to audit a pull-request backlog, review selected requests in depth, add review comments, and set up separate workspaces for local checking.
Why use it?
It helps maintainers find stale, overlapping, or unreviewed pull requests and keeps review actions consistent. Validated comments reduce the risk of posting inaccurate feedback.

Skill for Claude CodeCodex

Part of the pr-workflow plugin — 5 skills, 7 commands, 3 agents shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/florianbruniaux/claude-code-plugins/pr-triage
Any agent
npx skills add FlorianBruniaux/claude-code-plugins --skill pr-triage
Clone the repo
git clone --depth 1 https://github.com/FlorianBruniaux/claude-code-plugins

Made for: Claude Code, Codex.

Or install pr-workflow, the plugin that ships this one along with the rest of its 5 skills, 7 commands, 3 agents.

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-triage

README.md
[![agentmods](https://agentmods.dev/badge/skills/florianbruniaux/claude-code-plugins/pr-triage.svg)](https://agentmods.dev/skills/florianbruniaux/claude-code-plugins/pr-triage)
Your own site
<a href="https://agentmods.dev/skills/florianbruniaux/claude-code-plugins/pr-triage"><img src="https://agentmods.dev/badge/skills/florianbruniaux/claude-code-plugins/pr-triage.svg" alt="Measured on agentmods" height="20"></a>
Per session 86 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,310 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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 $0.00086 $0.05310
Opus 5 $0.00043 $0.02655
Sonnet 5 $0.00017 $0.01062
Haiku 4.5 $0.00009 $0.00531

Measured yesterday against content hash e1bc9c943c3b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

pr-triage scanned grade A with 1 finding 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 yesterday.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Use `gh` CLI (not `curl` GitHub API) except for collaborators list
plugins/pr-workflow/skills/pr-triage/SKILL.md · 626 lines

How it starts

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

PR Triage

4-phase workflow for maintainers: automated audit of all open PRs, opt-in deep review via parallel agents, validated comment posting, and optional worktree setup for local review.

When to Use This Skill

Skill Usage Output
/pr-triage Sort, review, and comment on a PR backlog Triage table + reviews + posted comments
/review-pr Review a single PR in depth Inline PR review

Triggers:

  • Manually: /pr-triage or /pr-triage all or /pr-triage 42 57
  • Proactively: when >5 PRs open without review, or stale PR >14 days detected

Language

  • Check the argument passed to the skill
  • If en or english → tables and summary in English
  • If fr, french, or no argument → French (default)
  • Note: GitHub comments (Phase 3) are ALWAYS in English (international audience)

Configuration

Thresholds used throughout the workflow. Edit to match your project:

Parameter Default Description
staleness_days 14 Days without activity before flagging as stale
overlap_threshold 50% Shared files % to flag as overlapping
cluster_min_prs 3 Author PR count to trigger cluster suggestion
xl_cutoff_additions 1000 Additions above which a PR is classified XL
xl_cutoff_files 10 Changed files above which a PR is "too large"

Preconditions

git rev-parse --is-inside-work-tree
gh auth status

If either fails, stop and explain what is missing.


Phase 1: Audit (always executed)

Data Gathering (parallel commands)

gh repo view --json nameWithOwner -q .nameWithOwner
gh pr list --state open --limit 50 \
  --json number,title,author,createdAt,updatedAt,additions,deletions,changedFiles,isDraft,mergeable,reviewDecision,statusCheckRollup,body
gh api "repos/{owner}/{repo}/collaborators" --jq '.[].login'

Collaborators fallback: if gh api .../collaborators returns 403/404:

gh pr list --state merged --limit 10 --json author --jq '.[].author.login' | sort -u

If still ambiguous, ask via AskUserQuestion.

Read the full file on GitHub · 626 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. yesterday First seen · 626 lines · 86 tokens per session scan A e1bc9c943c3b

Subscribe to this mod's changes

pr-triage is a skill published in the GitHub repository FlorianBruniaux/claude-code-plugins (40 stars, last pushed 3d ago), licensed MIT. It adds 86 tokens to every session and 5,310 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.

Related

Other skills, from other repositories

analytics

Queries local analytics across OrchestKit projects for agent usage, skill frequency, hook timing, team activity, session replay, cost estimation, and model delegation trends. Privacy-safe with hashed project IDs. Supports time-range filtering and comparative analysis. Use when reviewing performance, estimating costs…

yonatangross/orchestkit · 62 tokens

doctor

OrchestKit doctor for health diagnostics across manifest integrity, hook configuration, skill validation, agent frontmatter, MCP server connectivity, CC version compatibility, and permission rules. Reports issues with severity levels and auto-remediation suggestions. Validates component counts, detects orphaned…

yonatangross/orchestkit · 80 tokens

setup

创建一个新的 Workframe 项目,或把已有项目接入 Workframe。按用户意图与目标目录状态分流(新建 / 接入),对话采集业务上下文后落骨架、订阅 core 插件、完成落盘验收。仅用于 Workframe 框架的项目初始化,不承担 npm init / create-react-app / git init 等通用脚手架。.

ryanzhao1011/workframe · 88 tokens

code-review

代码审查,从需求符合度/正确性/安全性/可维护性/性能五维度评审代码变更,输出风险分级的 Finding 列表.

ryanzhao1011/workframe · 40 tokens

technical-design

技术方案设计与实施,提供轻量路径(小改动直接落地)和完整路径(架构/数据/API/多文件高风险变更走完整方案+实施+交付)双档分流.

ryanzhao1011/workframe · 50 tokens

audit

审计最近一段时间的自动维护活动(events / proposals / decay / digest),给用户汇总报告.

ryanzhao1011/workframe · 26 tokens