swarm-tools: Skill for OpenCode

.opencode/skill/pr-triage/SKILL.md

pr-triage is a skill for OpenCode from joelhooks/swarm-tools. It costs 27 tokens per session (1,179 once invoked), scanned A, original, no licence file.

A workflow for reviewing comments on a pull request, which is a proposed code change for a project.

In plain words
What is it for?
Use it to evaluate pull-request comments, fix issues that matter, and quietly handle the rest.
Why use it?
It helps separate important issues from comments that do not need action, saving review time.

Skill for OpenCode

Written for OpenCode: installed under .opencode/.

This is joelhooks/swarm-tools's own configuration. It tells OpenCode how to work on swarm-tools itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything swarm-tools configures →

Reuse

Borrowing it

Nothing to install: this file belongs to joelhooks/swarm-tools. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/joelhooks/swarm-tools/main/.opencode/skill/pr-triage/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/joelhooks/swarm-tools

Made for: OpenCode.

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/joelhooks/swarm-tools/pr-triage/github.svg)](https://agentmods.dev/skills/joelhooks/swarm-tools/pr-triage)
Your own site
<a href="https://agentmods.dev/skills/joelhooks/swarm-tools/pr-triage"><img src="https://agentmods.dev/badge/skills/joelhooks/swarm-tools/pr-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 pr-triage

Your own site · 80×15
<a href="https://agentmods.dev/skills/joelhooks/swarm-tools/pr-triage"><img src="https://agentmods.dev/badge/skills/joelhooks/swarm-tools/pr-triage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,179 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 unknown 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.00027 $0.01179
Opus 5.5 $0.00011 $0.00472
Sonnet 5.5 $0.00005 $0.00236
Haiku 4.5 $0.00003 $0.00118

Measured 1mo ago against content hash bd570560da5a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-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 1mo ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/pr-comments.test.ts, scripts/pr-comments.ts), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.opencode/skill/pr-triage/SKILL.md · 149 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Files

What ships with it

3 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. 1mo ago First seen · 149 lines · 27 tokens per session scan A bd570560da5a

Subscribe to this mod's changes

pr-triage is a skill published in the GitHub repository joelhooks/swarm-tools (747 stars, last pushed 2mo ago), with no licence file. It adds 27 tokens to every session and 1,179 once invoked, about $0.0001 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-30.

Related

Other skills, from other repositories

pr-triage

PR triage: audit open PRs, deep review selected ones, draft and post review comments. Args: "all" to review all, PR numbers to focus (e.g. "42 57"), "en"/"fr" for language, no arg = audit only in French.

MDMAtk/TormentNexus · 64 tokens

issue

Use when starting a chain from a GitHub issue — turning an issue URL or number into a triaged, planned, dispatched, and reviewed pull request. Classifies the thread (bug → root-cause discipline, feature → plan chain, question → drafted reply), synthesizes a spec from the issue's own acceptance criteria, then runs the…

jeremylongshore/tons-of-skills-marketplace · 115 tokens

pr-lifecycle

Full PR lifecycle management: list, analyze, validate, and merge pull requests. Auto-detects validation gates per package and integrates a code-review pass for code analysis. Use when: managing PRs, checking PR status, reviewing open PRs, merging PRs, triaging PRs, cleaning up stale PRs, validating PR readiness, or…

parisgroup-ai/imersao-ia-setup · 121 tokens

pr-reviewer

AI-powered pull request review and summarization - analyze diffs, detect bugs, security issues, suggest improvements, generate PR summaries, and auto-comment on GitHub PRs.

chainlesschain/chainlesschain · 38 tokens

pr

Use when reviewing an incoming GitHub pull request — runs the multi-level (L1-L5) audit against the PR's real diff range, posts findings as one batched review (inline, summary, or local-only), offers the standard fix chain on NEEDSFIX, and optionally merges. The maintainer-side counterpart to /hyperflow:issue. Trigger…

jeremylongshore/tons-of-skills-marketplace · 105 tokens

codeflow-maintainer

OpenClaw-only maintainer PR workflow modes and skills. For OpenCoven/coven PR creation, redirect to skills/pr-agent, the Coven PR Readiness Agent.

OpenCoven/coven · 39 tokens