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.
npx skills add juanmhidalgo/claude-plugins --skill posting-a-pr-reviewgit clone --depth 1 https://github.com/juanmhidalgo/claude-pluginsWrote 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/juanmhidalgo/claude-plugins/posting-a-pr-review)<a href="https://agentmods.dev/skills/juanmhidalgo/claude-plugins/posting-a-pr-review"><img src="https://agentmods.dev/badge/skills/juanmhidalgo/claude-plugins/posting-a-pr-review/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/juanmhidalgo/claude-plugins/posting-a-pr-review"><img src="https://agentmods.dev/badge/skills/juanmhidalgo/claude-plugins/posting-a-pr-review.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.00118 | $0.01107 |
| Opus 5.5 | $0.00047 | $0.00443 |
| Sonnet 5.5 | $0.00024 | $0.00221 |
| Haiku 4.5 | $0.00012 | $0.00111 |
Grade A, and why
posting-a-pr-review 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 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.
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.
How it starts
The opening of the file, as written. The whole thing — 115 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Posting a PR review
Reviewing never posts. This skill runs only when the user asks for it, on findings that already exist — it does not re-review anything.
One call, not N
Post the review and every inline comment in a single request. The alternative —
a loop of gh pr review --comment or gh api .../comments — sends the author one
notification per finding, and that alone is what makes an automated reviewer feel
insufferable regardless of how the comments are written.
# review.json — build the file, do not inline the JSON as -f flags:
# bodies contain newlines, backticks and quotes that argv mangles.
gh api repos/{owner}/{repo}/pulls/{number}/reviews --method POST --input review.json
{
"event": "REQUEST_CHANGES",
"body": "3 blocking. 2 more in-session, not worth a line comment: …",
"comments": [
{ "path": "src/a.py", "line": 42, "side": "RIGHT", "body": "…" },
{ "path": "src/b.py", "start_line": 10, "line": 14, "side": "RIGHT", "body": "…" }
]
}
line is the line in the file's post-merge state; use side: "LEFT" to comment on
a deleted line. start_line + line spans a range.
What goes where
| Finding | Destination |
|---|---|
CONFIRMED, requires a change, anchors to a changed line |
inline comment |
CONFIRMED but minor, or PLAUSIBLE, or pre-existing |
one short line in the review body |
REFUTED, or anything you could not verify |
nowhere — it stays in the session |
The split is the whole point: inline interrupts the author line by line, so it is reserved for what blocks the merge. Everything else still reaches them, in one place, without a thread each.
If nothing blocks, do not post a review at all. Say so in the session. An
automated REQUEST_CHANGES over two nitpicks trains the author to dismiss the next one.
Writing the comments
- One comment per change needed, not per observation. Two findings on the same line are one comment.
- Lead with the defect. The author can read their own diff; they do not need a paragraph restating it before the point.
- Name what breaks and on what input. "Raises on an empty
items" beats "this could be problematic". - No praise, no preamble, no hedged suggestions. "Consider maybe possibly" is either a finding or it is not.
- Claims you did not verify are hypotheses, and say so in the first sentence — not in a trailing caveat. The reviewer reads the first line and acts on it.
- Keep an inline comment to the defect and its trigger; anything longer belongs in the review body.
- Use a suggestion block when the fix is a literal replacement — the author clicks Apply instead of reading prose:
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 Changed f4817a4ab8d8
- 2mo ago First seen · 115 lines · 118 tokens per session scan A 5f8fc4f44d11
posting-a-pr-review is a skill published in the GitHub repository juanmhidalgo/claude-plugins (8 stars, last pushed 18d ago), licensed MIT. It adds 118 tokens to every session and 1,107 once invoked, about $0.0005 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-09-18.
posting-a-pr-review compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| posting-a-pr-reviewjuanmhidalgo/claude-plugins | Skill | 8 | 18d ago | MIT | A | 118 | Claude Code |
| prYeachan-Heo/oh-my-claudecode | Skill | 41k | today | MIT | A | 47 | Claude Code |
| merge-batchdiegosouzapw/OmniRoute | Skill | 91k | 2d ago | MIT | A | 46 | Claude Code |
| otto-pr-review-loopomnigent-ai/omnigent | Skill | 12k | today | Apache-2.0 | A | 17 | Claude Code, Codex |
| engram-branch-prGentleman-Programming/engram | Skill | 8.4k | 7d ago | MIT | A | 37 | Claude Code, Codex |
| github-contributordaymade/claude-code-skills | Skill | 1.6k | yesterday | MIT | A | 105 | Claude Code, Codex |
| revdiffumputun/revdiff | Skill | 974 | 2d ago | MIT | A | 254 | Claude Code |