pr-triage

pr-triage is a skill for Claude Code, Codex from aeonfun/aeon. It costs 26 tokens per session (3,384 once invoked), scanned A, original, MIT.

A first review workflow for external GitHub pull requests, which are proposed code changes from people outside a trusted contributor group. It reads the change, gives a verdict and reason, adds a label, and posts a welcoming comment.

In plain words
What is it for?
Use it to triage new external pull requests across watched repositories and route them toward later review or merging decisions.
Why use it?
It prevents outside contributions from sitting unanswered and gives human reviewers useful context before a deeper review.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md.

Good fit Use it to triage new external pull requests across watched repositories and route them toward later review or merging decisions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aeonfun/aeon/pr-triage
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.

Any agent
npx skills add aeonfun/aeon --skill pr-triage
Clone the repo
git clone --depth 1 https://github.com/aeonfun/aeon

Made for: Claude Code, Codex.

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/aeonfun/aeon/pr-triage.svg)](https://agentmods.dev/skills/aeonfun/aeon/pr-triage)
Your own site
<a href="https://agentmods.dev/skills/aeonfun/aeon/pr-triage"><img src="https://agentmods.dev/badge/skills/aeonfun/aeon/pr-triage.svg" alt="Measured on agentmods" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,384 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.00026 $0.03384
Opus 5 $0.00013 $0.01692
Sonnet 5 $0.00005 $0.00677
Haiku 4.5 $0.00003 $0.00338

Measured 2d ago against content hash 03d8f0348ff5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

pr-triage 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 2d ago.

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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • pr-triage — 100% identical, 0 lines differ
skills/pr-triage/SKILL.md · 253 lines

How it starts

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

${var} — PR scope. Accepts owner/repo, owner/repo#N, or empty (all watched repos). If empty, scans every repo in memory/watched-repos.md.

External PRs that sit unanswered look unwelcoming. This skill is the first touch for every external pull request — it reads the diff, applies a structured rubric, posts a comment with a verdict + rationale, and labels the PR so a human reviewer can pick it up with full context. It is not a substitute for pr-review (depth) or auto-merge (execution); it is the welcoming layer that runs before either of those decide whether to engage.

What "external" means

Any PR whose author is not in the trusted set qualifies. The trusted set is, by precedence:

  1. Logins ending in [bot] (dependabot[bot], renovate[bot], github-actions[bot], …) — these route to auto-merge / pr-review.
  2. The agent's own login: aeonframework, aeonfun, and any login under a ## Trusted Authors heading in memory/watched-repos.md (same allowlist convention used by auto-merge).

Everything else is external and gets triaged.

Config

memory/watched-repos.md:

# Watched Repos
- aeonfun/aeon
- aaronjmars/aeon-agent

## Trusted Authors
- alice
- bob

If the file is missing and ${var} is empty, log PR_TRIAGE_OK no-watched-repos and exit.


Read memory/MEMORY.md for context. Read memory/triaged-prs.json (if present; else treat as {}) — schema: {"owner/repo": [{"n": 143, "sha": "abc123", "at": "2026-04-29", "verdict": "ACCEPTED"}, ...]}. Used for idempotency keyed on (PR number, headRefOid). Read the last 2 days of memory/logs/ as a fallback dedup signal in case the JSON state file is missing.

Steps

1. Resolve targets

  • ${var} matches ^[\w.-]+/[\w.-]+#\d+$ → single-PR mode: target that exact PR.
  • ${var} matches ^[\w.-]+/[\w.-]+$ → repo mode: scan all open PRs on that one repo.
  • ${var} is set but matches neither shape → abort with pr-triage: invalid var — expected owner/repo or owner/repo#N and exit.
  • ${var} is empty → fleet mode: read non-comment, non-blank - lines from memory/watched-repos.md (everything above the ## Trusted Authors heading).

Read the full file on GitHub · 253 lines

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. 2d ago First seen · 253 lines · 26 tokens per session scan A 03d8f0348ff5

Subscribe to this mod's changes

pr-triage is a skill published in the GitHub repository aeonfun/aeon (716 stars, last pushed yesterday), licensed MIT. It adds 26 tokens to every session and 3,384 once invoked, about $0.0001 per session on Opus 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-09-05.

Related

Other skills, from other repositories

no-mistakes

Validate committed feature-branch changes through the no-mistakes pipeline: intent, rebase, review, test, docs, lint, push, PR, and CI. Use when the user asks to run no-mistakes, ship safely, validate before pushing, or gate a change before it reaches upstream.

stevesolun/ctx · 67 tokens

pr-description

Write a short, visual, evidence-backed GitHub PR description and open or update the PR with it. Use whenever the user asks to open a PR, write or rewrite a PR description, 'describe this change', or run gh pr create — even if they don't say 'description'. Gathers real proof first (screenshots for UI, terminal…

petekp/claude-code-setup · 120 tokens

pr-triage

4-phase PR backlog management with audit, deep code review, validated comments, and optional worktree setup. Use when triaging pull requests, catching up on pending code reviews, or managing a backlog of open PRs. Args: 'all' to review all, PR numbers to focus (e.g. '42 57'), 'en'/'fr' for language, no arg = audit…

FlorianBruniaux/claude-code-plugins · 86 tokens

validate-changes

Evaluate staged changes using LLM-as-a-Judge before committing.

FlorianBruniaux/claude-code-plugins · 16 tokens

pr-creator

Create well-structured pull requests with proper descriptions and labels.

kivo360/OmoiOS · 11 tokens

trace-scan

Trace scan (§4.1/§4.2): before a commit, scans the staged changes and the message for AI traces (co-author trailers, footers, robot emoji, tool names) and vendor template names. The git hooks apply it automatically.

byerlikaya/claude-starter-kit · 58 tokens