afc:triage

afc:triage is a skill for Claude Code from jhlee0409/all-for-claudecode. It costs 15 tokens per session (1,681 once invoked), scanned A, original, MIT.

A read-only tool for reviewing open pull requests and issues, which are proposed code changes and reported work items in a software repository. It collects them, analyzes them in batches, and ranks them by priority.

In plain words
What is it for?
Use it to triage pull requests, issues, or both; filter by item numbers; and request deeper analysis of proposed code changes.
Why use it?
It helps teams see which items need attention first without checking out every change. Larger or uncertain pull requests can receive deeper build and test verification in isolated workspaces.

Skill for Claude Code

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

Part of the afc plugin — 29 skills, 12 agents, 19 hooks shipped together

Good fit Use it to triage pull requests, issues, or both; filter by item numbers; and request deeper analysis of proposed code changes.

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

Made for: Claude Code.

Or install afc, the plugin that ships this one along with the rest of its 29 skills, 12 agents, 19 hooks.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jhlee0409/all-for-claudecode/triage"><img src="https://agentmods.dev/badge/skills/jhlee0409/all-for-claudecode/triage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,681 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.00015 $0.01681
Opus 5 $0.00008 $0.00840
Sonnet 5 $0.00003 $0.00336
Haiku 4.5 $0.00002 $0.00168

Measured 10d ago against content hash 7a1bef8f0a37, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

afc: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 10d 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.

skills/triage/SKILL.md · 199 lines

How it starts

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

/afc:triage — PR & Issue Triage

Collects open PRs and issues, analyzes them in parallel batch, and produces a priority-ranked triage report. Uses lightweight analysis first (no checkout), then selective deep analysis with worktree isolation for PRs that require build/test verification.

Pre-fetched Context

!gh pr list --json number,title,headRefName,author,labels,additions,deletions,changedFiles,createdAt,updatedAt,reviewDecision,isDraft --limit 50 2>/dev/null || echo "PR_FETCH_FAILED"

!gh issue list --json number,title,labels,author,createdAt,updatedAt,comments --limit 50 2>/dev/null || echo "ISSUE_FETCH_FAILED"

Arguments

  • $ARGUMENTS — (optional) Triage scope
    • --pr — PRs only
    • --issue — Issues only
    • --all — Both PRs and issues (default)
    • Specific numbers (e.g., #42 #43) — Analyze only those items
    • --deep — Force deep analysis (worktree) for all PRs

Execution Steps

1. Collect Targets

Use the pre-fetched context above. If fetch failed, fall back to:

"${CLAUDE_SKILL_DIR}/../../scripts/afc-triage.sh" "$ARGUMENTS"

Apply $ARGUMENTS filtering: skip irrelevant items based on --pr, --issue, or specific numbers.

Empty backlog early-exit: If both PR list and issue list are empty (zero open items after filtering), output a clean-backlog summary and exit:

Triage complete — backlog is clean
├─ Open PRs: 0
├─ Open issues: 0
└─ No items require attention

Skip all subsequent phases.

2. Phase 1 — Lightweight Parallel Batch (no checkout)

Spawn all agents in a single message (parallel batch, max 5 concurrent).

PR Analysis

See prompt template: pr-analysis-prompt.md

Task("Triage PR #{number}: {title}", subagent_type: "general-purpose",
  prompt: "<contents of pr-analysis-prompt.md with placeholders filled>")
Issue Analysis (batch of 5 per agent)
Task("Triage Issues #{n1}-#{n5}", subagent_type: "general-purpose",
  prompt: "Analyze these issues:
  {issue list with titles, labels, comment count}

  For each issue:
  1. gh issue view {number} --comments
  2. Classify:
     - Type: Bug|Feature|Enhancement|Question|Maintenance (adapt to project labels)
     - Priority: P0 (blocking/critical) | P1 (high impact) | P2 (normal) | P3 (low/nice-to-have)
     - Effort: Small|Medium|Large
     - Related PRs (if any mentioned)
  3. One-line summary

  Output per issue:
  ISSUE #{number}: {title}
  TYPE: ...
  PRIORITY: P0|P1|P2|P3
  EFFORT: Small|Medium|Large
  RELATED_PR: #N or none
  SUMMARY: ...")

Read the full file on GitHub · 199 lines

Files

What ships with it

2 files 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. 10d ago First seen · 199 lines · 15 tokens per session scan A 7a1bef8f0a37

Subscribe to this mod's changes

afc:triage is a skill published in the GitHub repository jhlee0409/all-for-claudecode (7 stars, last pushed 5mo ago), licensed MIT. It adds 15 tokens to every session and 1,681 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-08-31.