github-pr-review-comments

A workflow for reviewing GitHub pull requests, which are proposed code changes submitted for team review. It focuses on concrete bugs, regressions, compatibility risks, and missing checks.

In plain words
What is it for?
Listing relevant open pull requests, reading their context and diffs, identifying actionable risks, and writing review comments with the GitHub command-line tool.
Why use it?
It helps reviewers find issues that could harm the software instead of spending time on summaries or minor style comments.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/friuns2/codex-mobile/github-pr-review-comments
Any agent
npx skills add friuns2/codex-mobile --skill github-pr-review-comments
Clone the repo
git clone --depth 1 https://github.com/friuns2/codex-mobile

Made for: Claude Code, Codex.

Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 678 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00037 $0.00678
Opus 5 $0.00018 $0.00339
Sonnet 5 $0.00007 $0.00136
Haiku 4.5 $0.00004 $0.00068

Measured 2d ago against content hash 1757ccd4a9f8, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

github-pr-review-comments 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 2d 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.

.agents/skills/github-pr-review-comments/SKILL.md · 97 lines

How it starts

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

GitHub PR Review Comments

When To Use

Use this skill when the user asks to:

  • review open GitHub PRs
  • check PRs not opened by the repo owner
  • identify bugs, regressions, or missing validation in a PR
  • write review comments back to GitHub with gh

Goal

Produce high-signal PR review findings and, when requested, post concise review comments with gh.

Review Standard

Default to a code review mindset:

  • prioritize correctness bugs
  • prioritize behavioral regressions
  • prioritize compatibility and rollout risk
  • prioritize missing validation where the blast radius is meaningful
  • avoid low-value style commentary unless it masks a real bug

A review comment should only be posted if it says something concrete that could block, regress, or materially weaken the change.

Workflow

  1. Identify candidate PRs
  • Prefer gh pr list --repo friuns2/codexUI --state open.
  • If the user asks for PRs not by owner, filter out PRs whose author matches the repo owner.
  1. Gather PR context
  • Read PR title, author, body, changed files, and commits:
    • gh pr view <number> --repo friuns2/codexUI --json ...
  • Read the diff:
    • gh pr diff <number> --repo friuns2/codexUI
  • Narrow attention to risky files and changed contracts.
  1. Form findings
  • Each finding should answer:
    • what can break
    • why it can break
    • where in the patch it comes from
  • Prefer 0-3 real findings over a long weak list.
  1. Write comments when requested
  • Use gh pr comment <number> --repo friuns2/codexUI --body ...
  • Keep comments short, direct, and technical.
  • One comment per distinct issue is preferred when the issues are unrelated.

Comment Style

Use a terse, high-conviction review style:

  • direct
  • unsentimental
  • technical
  • specific about the failure mode

Good pattern:

  1. Name the concern in one sentence.
  2. Explain the concrete breakage path.
  3. State what needs to be clarified, tested, or fixed before merge.

Avoid:

  • excessive hedging
  • praise padding
  • long summaries of the PR before the issue
  • vague “maybe consider” language when the risk is real

Read the full file on GitHub · 97 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. 2d ago First seen · 97 lines · 37 tokens per session scan A 1757ccd4a9f8

Subscribe to this mod's changes

github-pr-review-comments is a skill published in the GitHub repository friuns2/codex-mobile (893 stars, last pushed 3mo ago), licensed MIT. It adds 37 tokens to every session and 678 once invoked, about $0.0002 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-30.