triage-reviews

triage-reviews is a skill for Claude Code from rikdc/ai-skills. It costs 44 tokens per session (2,716 once invoked), scanned A, original, MPL-2.0.

A workflow for processing unresolved GitHub pull-request review comments. It classifies each comment, checks it against the code and project conventions, proposes whether to accept or reject it, and can create tracked tasks.

In plain words
What is it for?
Use it on the current branch's pull request or a specified one, including preview mode or automatic approval for selected categories.
Why use it?
It gives review feedback a consistent decision process, so actionable changes are recorded and non-applicable suggestions are explained rather than ignored.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md.

Part of the pr-review-triage plugin — 1 skill, 1 command shipped together

Good fit Use it on the current branch's pull request or a specified one, including preview mode or automatic approval for selected categories.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rikdc/ai-skills/triage-reviews
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 rikdc/ai-skills --skill triage-reviews
Clone the repo
git clone --depth 1 https://github.com/rikdc/ai-skills

Made for: Claude Code.

Or install pr-review-triage, the plugin that ships this one along with the rest of its 1 skill, 1 command.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/rikdc/ai-skills/triage-reviews/github.svg)](https://agentmods.dev/skills/rikdc/ai-skills/triage-reviews)
Your own site
<a href="https://agentmods.dev/skills/rikdc/ai-skills/triage-reviews"><img src="https://agentmods.dev/badge/skills/rikdc/ai-skills/triage-reviews/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 triage-reviews

Your own site · 80×15
<a href="https://agentmods.dev/skills/rikdc/ai-skills/triage-reviews"><img src="https://agentmods.dev/badge/skills/rikdc/ai-skills/triage-reviews.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,716 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.00044 $0.02716
Opus 5.5 $0.00018 $0.01086
Sonnet 5.5 $0.00009 $0.00543
Haiku 4.5 $0.00004 $0.00272

Measured 3mo ago against content hash 2980f459ef91, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

triage-reviews 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 3mo 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.

plugins/pr-review-triage/skills/triage-reviews/SKILL.md · 313 lines

How it starts

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

Triage Reviews — PR Review Comment Processor

You are a PR Review Triage Agent that systematically processes code review comments on pull requests. You classify each piece of feedback, decide whether to accept or reject it, take the appropriate GitHub action, and create tracked tasks for accepted work.

Usage

/triage-reviews                          # Triage reviews on current branch's PR
/triage-reviews <pr-url-or-number>       # Triage a specific PR
/triage-reviews --dry-run                # Preview decisions without acting
/triage-reviews --auto-approve security  # Auto-accept a category
/triage-reviews --no-resolve             # Skip resolving comment threads

Workflow Overview

Fetch PR comments → Classify each → Evaluate → Present summary → Act on approval
  1. Fetch all unresolved review comments on the PR
  2. Classify each comment into a category
  3. Evaluate each against project conventions and code context
  4. Present a grouped summary with proposed actions
  5. Act on user confirmation (or preview in dry-run mode)

Step 1: Fetch Review Comments

Determine the target PR:

  • If a PR URL or number is provided via $ARGUMENTS, use that

  • Otherwise, detect the current branch and find its open PR:

    gh pr view --json number,url,title,headRefName
    

Fetch all review comments:

gh api repos/{owner}/{repo}/pulls/{number}/reviews --jq '.[] | {id, user: .user.login, state: .state, body: .body}'
gh api repos/{owner}/{repo}/pulls/{number}/comments --jq '.[] | {id, path: .path, line: .line, body: .body, user: .user.login, in_reply_to_id: .in_reply_to_id, html_url: .html_url}'

Also fetch the PR diff for context:

gh pr diff {number}

Important: Filter out comments authored by the PR owner (self-reviews) and comments that are replies in existing threads (focus on top-level review feedback).

Step 2: Classify Each Comment

Assign each comment to exactly one category:

Categories and Weights

Read the full file on GitHub · 313 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. 3mo ago First seen · 313 lines · 44 tokens per session scan A 2980f459ef91

Subscribe to this mod's changes

triage-reviews is a skill published in the GitHub repository rikdc/ai-skills (2 stars, last pushed 1mo ago), licensed MPL-2.0. It adds 44 tokens to every session and 2,716 once invoked, about $0.0002 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

triage-reviews compared with skills from other repositories

triage-reviews next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
triage-reviewsrikdc/ai-skillsSkill21mo agoMPL-2.0A44Claude Code
reviewSethGammon/CitadelSkill9437d agoMITA17Claude Code
brooks-sweephyhmrright/brooks-lintSkill1.6kyesterdayMITA178Claude Code
critical-code-reviewerposit-dev/skillsSkill57921d agoMITA67Claude Code
genshijin-reviewInterfaceX-co-jp/genshijinSkill3374d agoMITA78Claude Code
pr-reviewnitinjain999/platform-skillsSkill743d agoApache-2.0A81Claude Code
skill-distilleriliaal/whetstoneSkill37yesterdayMITA91Claude Code