Borrowing it
Nothing to install: this file belongs to EndogenAI/dogma. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/EndogenAI/dogma/main/.github/skills/pr-review-triage/SKILL.mdgit clone --depth 1 https://github.com/EndogenAI/dogmaWrote 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.
[](https://agentmods.dev/skills/endogenai/dogma/pr-review-triage)<a href="https://agentmods.dev/skills/endogenai/dogma/pr-review-triage"><img src="https://agentmods.dev/badge/skills/endogenai/dogma/pr-review-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.
<a href="https://agentmods.dev/skills/endogenai/dogma/pr-review-triage"><img src="https://agentmods.dev/badge/skills/endogenai/dogma/pr-review-triage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00179 | $0.02758 |
| Opus 5.5 | $0.00072 | $0.01103 |
| Sonnet 5.5 | $0.00036 | $0.00552 |
| Haiku 4.5 | $0.00018 | $0.00276 |
Grade A, and why
pr-review-triage scanned grade A with 2 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 2mo 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
"body": "Using `urllib.request` here to keep the stdlib-only constraint — `pathlib` would not help with URL fetching.", Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
2. Comment 222 — "consider using `subprocess.run` instead of `os.system`" → **Suggestion** How it starts
The opening of the file, as written. The whole thing — 286 lines — stays where its author put it; the contents beside it link to each section on GitHub.
PR Review Triage
This skill enacts the Algorithms Before Tokens axiom from MANIFESTO.md:
the post-review triage and response workflow is encoded as a repeatable procedure, not re-derived
interactively on each PR. It is governed by AGENTS.md
§ Verify-After-Act for Remote Writes and § Agent Communication. When this skill conflicts
with those documents, the primary documents take precedence.
1. Governing Constraint
This skill is a mandatory pre-merge gate. A PR must not be merged, suggested for merge, or treated as "ready to merge" until this triage workflow has been run and all Blocking comments are resolved. CI passing is a necessary but insufficient condition — reviews must be triaged independently.
Trigger: Copilot review is automatically triggered when a PR is opened and on every subsequent push. Do not assume the review is empty — always retrieve it.
Per AGENTS.md § PR Review Triage Gate and § Verify-After-Act for Remote Writes:
- Every reply posted to a review comment is a remote write — Tier 0 validation applies before sending.
- Every thread resolved is irreversible — only resolve threads whose change is confirmed committed.
- After posting replies, verify with
gh issue vieworgh pr viewbefore treating the task as complete.
2. Workflow Overview
Read review → Classify comments → Prioritise → Batch fixes by file → Commit fixes
→ Build batch reply file → Post replies and resolve threads → Verify
3. Steps
Step 0 — Merge Authorization Pre-Check
Before beginning triage (and again before suggesting merge), run check_merge_authorization.py to get a structural snapshot of the PR's authorization state:
uv run python scripts/check_merge_authorization.py <pr_num> --dry-run
This prints a full check table (✅/❌) for all four authorization criteria without blocking. Use it to:
- Identify which checks are already passing (no need to re-verify manually)
- Confirm no
CHANGES_REQUESTEDis outstanding and no non-nit threads are unresolved - Note: CI status is not checked by this script — verify CI separately via
wait_for_github_run.py
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.
- 2mo ago First seen · 286 lines · 179 tokens per session scan A f4519c57e954
pr-review-triage is a skill published in the GitHub repository EndogenAI/dogma (2 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 179 tokens to every session and 2,758 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 2 findings (makes network calls, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
pr-review-triage compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pr-review-triageEndogenAI/dogma | Skill | 2 | 2mo ago | Apache-2.0 | A | 179 | Claude Code, Codex |
| deep-code-reviewPeaky8linders/eu-ai-act-scanner | Skill | 6 | 4d ago | Apache-2.0 | A | 34 | Claude Code, Codex |
| pact-checkjonathanmr22/pact | Skill | 16 | 4mo ago | MIT | A | 9 | Claude Code |
| refactorAquifer-sea/pattern8 | Skill | 44 | 7mo ago | MIT | A | 24 | Claude Code, Codex |
| code_reviewAquifer-sea/pattern8 | Skill | 44 | 7mo ago | MIT | B | 23 | Claude Code, Codex |
| open-code-reviewalibaba/open-code-review | Skill | 50k | yesterday | Apache-2.0 | A | 98 | Cursor |
| OpenSourceManagementdanielmiessler/LifeOS | Skill | 20k | yesterday | MIT | A | 212 | Claude Code, Codex |