pr-closeout

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

A closeout report for a pull request, which is a proposed code change waiting for review and merging. It combines review, continuous-integration, and real-machine validation evidence into a decision.

In plain words
What is it for?
Use it to decide whether a pull request is ready, blocked, or needs changes. It records verified checks, blockers, review threads, platform results, and supporting evidence.
Why use it?
It prevents a merge decision from being based on missing, skipped, or inferred checks.

Skill for Claude CodeCodex

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

Good fit Use it to decide whether a pull request is ready, blocked, or needs changes. It records verified checks, blockers, review threads, platform results, and supporting evidence.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xiaotianfotos/homerail/pr-closeout
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 pr-closeout
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 pr-closeout

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/xiaotianfotos/homerail/pr-closeout"><img src="https://agentmods.dev/badge/skills/xiaotianfotos/homerail/pr-closeout.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 412 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. 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.00024 $0.00412
Opus 5 $0.00012 $0.00206
Sonnet 5 $0.00005 $0.00082
Haiku 4.5 $0.00002 $0.00041

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

Security

Grade A, and why

pr-closeout 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 11d 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.

plugins/builtin/pr-closeout/skills/pr-closeout/SKILL.md · 26 lines

What it actually says

PR Closeout

Use this capability when the user asks whether a pull request is ready, requests a review summary, or needs validation evidence consolidated before merge.

Call the current Tool catalog entry for com.homerail.pr-closeout:upsert_pr_closeout using the harness-safe wire name supplied by the current turn. Reuse one stable plugin-owned id, such as com.homerail.pr-closeout:owner-repo-pr-21, so later evidence replaces the same report.

Send a complete snapshot on every call. Include only checks, blockers, review threads, platform results, and evidence verified in the current session or explicitly supplied by the user. Use unknown, pending, or an empty list when evidence is unavailable. Never infer a passing platform from another platform and never convert a skipped check into a pass.

Set recommendation as follows:

  • ready: every required gate has direct passing evidence and no unresolved blocker remains.
  • blocked: at least one required gate is pending, running, unavailable, or failed.
  • changes_requested: a verified defect requires code changes.
  • unknown: the available evidence cannot support a decision.

Model the verification flow with stable node ids and explicit depends_on edges. A flow node status must reflect the evidence, not the intended plan. Put source URLs only when they are known and safe; never invent a PR, check, review, or artifact URL.

This Tool projects data only. It does not approve or merge a pull request, rerun CI, resolve review threads, or modify GitHub state. Do not describe a navigation link as if its external action already happened.

Use the matching PR closeout Tool only when it is listed for the current turn. Do not substitute a legacy dynamic widget. If the report is not placed on the canvas, tell the user only that visible result and offer to retry.

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. 11d ago First seen · 26 lines · 24 tokens per session scan A b4f0e13923b1

Subscribe to this mod's changes

pr-closeout is a skill published in the GitHub repository xiaotianfotos/homerail (948 stars, last pushed yesterday), licensed MIT. It adds 24 tokens to every session and 412 once invoked, about $0.0001 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.

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