homerail-pr-review

homerail-pr-review is a skill for Claude Code, Codex from xiaotianfotos/homerail. It costs 60 tokens per session (620 once invoked), scanned A, original, MIT.

A read-only workflow for reviewing GitHub pull requests, which are proposed code changes waiting to be checked before merging. It combines independent reviews from Qwen, Kimi, and GLM and validates their evidence.

In plain words
What is it for?
Run a review for a repository and PR number, track its progress, and report the published findings and artifact paths when it finishes.
Why use it?
It gives a reusable, evidence-based PR audit without approving, merging, or otherwise changing the pull request.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Run a review for a repository and PR number, track its progress, and report the published findings and artifact paths when it finishes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xiaotianfotos/homerail/homerail-pr-review
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 xiaotianfotos/homerail --skill homerail-pr-review
Clone the repo
git clone --depth 1 https://github.com/xiaotianfotos/homerail

Made for: Claude Code, Codex.

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 homerail-pr-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/xiaotianfotos/homerail/homerail-pr-review/github.svg)](https://agentmods.dev/skills/xiaotianfotos/homerail/homerail-pr-review)
Your own site
<a href="https://agentmods.dev/skills/xiaotianfotos/homerail/homerail-pr-review"><img src="https://agentmods.dev/badge/skills/xiaotianfotos/homerail/homerail-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.

agentmods 80×15 button for homerail-pr-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/xiaotianfotos/homerail/homerail-pr-review"><img src="https://agentmods.dev/badge/skills/xiaotianfotos/homerail/homerail-pr-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 620 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00060 $0.00620
Opus 5 $0.00030 $0.00310
Sonnet 5 $0.00012 $0.00124
Haiku 4.5 $0.00006 $0.00062

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

Security

Grade A, and why

homerail-pr-review scanned grade A with 1 finding 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 12d 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.

those fields. Do not use `gh`, `curl`, `instantiate_dag_pattern`, or generic
skills/homerail-pr-review/SKILL.md · 66 lines

How it starts

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

HomeRail PR Review

Use the concrete pr-review orchestration. Do not generate a replacement DAG and do not substitute a single-agent review.

Manager Agent Path

When the user says 审查 PR #25, review PR 25, or equivalent:

  1. Resolve the repository from the current project or ask only when no repository is available.
  2. Call run_pr_review with only repo in owner/name form and integer pr. This tool resolves immutable .base.sha and .head.sha plus trusted base and head clone URLs in code. Never copy, infer, reverse, or manually substitute those fields. Do not use gh, curl, instantiate_dag_pattern, or generic create_and_run when this tool exists.
  3. Return the real run id immediately and use get_run_status for progress.
  4. On completion, report the final published handoff and artifact paths. Never claim findings that are not present in the DAG evidence.

The workflow is read-only. It must never create a commit, approve a GitHub PR, submit a GitHub review, or merge anything. Its internal Quorum is evidence validation, not GitHub approval.

CLI Path

hr dag run-template pr-review \
  --input '{"repo":"xiaotianfotos/homerail","pr":25}'

The CLI resolves trusted GitHub metadata, preserves explicitly pinned SHAs, validates the final input contract, syncs the tracked Asset, and starts the run. Clone URLs always come from GitHub metadata, never logical input. Add --wait for CI or unattended operation, then retrieve fixed outputs with:

hr dag artifacts <run-id>
hr dag artifact <run-id> pr-review.json --output pr-review.json
hr dag artifact <run-id> pr-review.md --output pr-review.md

Evidence Contract

A useful run contains:

  • three complete reviewer handoffs from Qwen, Kimi, and GLM;
  • a deduplicated report that preserves every complete reviewer finding;
  • three independent approve/request-changes/abstain votes;
  • a deterministic gate requiring two approvals and zero retained findings;
  • declared pr-review.json and pr-review.md artifacts;
  • Manager audit and metrics records for the run.

Read the full file on GitHub · 66 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. 12d ago First seen · 66 lines · 60 tokens per session scan A b7ef0f169bfd

Subscribe to this mod's changes

homerail-pr-review is a skill published in the GitHub repository xiaotianfotos/homerail (951 stars, last pushed today), licensed MIT. It adds 60 tokens to every session and 620 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). 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

review-implement-phase

Implements triaged review actions, commits focused fixes, and posts Done plus resolves threads. Use when the user wants only the implementation phase of the review-framework workflow.

prisma/orm · 38 tokens

engram-branch-pr

PR creation workflow for Engram following the issue-first enforcement system. Trigger: When creating a pull request, opening a PR, or preparing changes for review.

Gentleman-Programming/engram · 37 tokens

verify-behavior

Verify or reproduce visible product behavior by driving the real UI with pi-computer-use's checked tools, requiring verified expect postconditions and durable state evidence for meaningful UI flows. Use when triage needs visual reproduction, implementation needs behavioral proof, review needs interactive confirmation…

nicknisi/dotfiles · 68 tokens

github-contributor

End-to-end playbook for shipping high-quality pull requests to open-source projects you don't maintain — discovery, CONTRIBUTING compliance, PR-size check, minimal-diff implementation, PR description with AI-assisted disclosure, conflict resolution, and post-submission maintainer interaction. Use whenever creating…

daymade/claude-code-skills · 133 tokens

revdiff

Review diffs, files, and documents with inline annotations in a TUI overlay, or answer questions about revdiff usage, configuration, themes, and keybindings. Opens revdiff in agterm/tmux/zellij/herdr/kitty/wezterm/cmux/ghostty/iterm2/emacs-vterm, captures annotations, and addresses them. Works in git, hg, and jj repos…

umputun/revdiff · 248 tokens

oss-maintainer

Run an open-source project's issue/PR/release loop like a careful human maintainer — triage to root cause, absorb community PRs before duplicating them, gate every merge, ship honest releases, and thank the people doing your QA for free.

debpalash/VoiceStudio · 55 tokens