pr

pr is a command for Claude Code, GitHub Copilot from s977043/river-review. It costs 14 tokens per session (254 once invoked), scanned A, original, MIT.

A command that drafts a pull request (PR) description, the summary attached to a code change for review, using a set template. It checks that the description matches the actual changes before finalizing it.

In plain words
What is it for?
Use it when preparing a PR to summarize changes, record test commands, describe risks, document rollback steps, verify issue acceptance criteria, and compare the text with the final diff.
Why use it?
It reduces incomplete or misleading PR descriptions and helps reviewers see the purpose, testing, risks, and rollback plan. It also checks issue-closure claims and paired Japanese and English documentation changes.

Command for Claude CodeGitHub Copilot

Written for Claude Code and GitHub Copilot: shipped in a Claude Code plugin, but also a Copilot chat mode or prompt. Also seen: agent in frontmatter; mentions Codex.

Part of the river-review plugin — 139 skills, 18 commands, 5 agents, 3 hooks shipped together

Good fit Use it when preparing a PR to summarize changes, record test commands, describe risks, document rollback steps, verify issue acceptance criteria, and compare the text with the final diff.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/s977043/river-review/pr
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.

Clone the repo
git clone --depth 1 https://github.com/s977043/river-review

Made for: Claude Code, GitHub Copilot.

Or install river-review, the plugin that ships this one along with the rest of its 139 skills, 18 commands, 5 agents, 3 hooks.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/s977043/river-review/pr"><img src="https://agentmods.dev/badge/commands/s977043/river-review/pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 254 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.
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.00014 $0.00254
Opus 5.5 $0.00006 $0.00102
Sonnet 5.5 $0.00003 $0.00051
Haiku 4.5 $0.00001 $0.00025

Measured 1mo ago against content hash 2f63ae733bbc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pr 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 1mo 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.

.github/prompts/pr.prompt.md · 40 lines

What it actually says

次の変更差分をもとに、PR本文のドラフトを日本語で作成してください。

出力フォーマット:

目的

  • このPRの目的を1〜3行で記載

変更内容

  • 主要な変更を箇条書き(3〜8項目)

影響範囲

  • 利用者影響、運用影響、互換性

テスト・検証結果

  • 実行コマンドと結果(成功/失敗)

未解決事項

  • 残課題やフォローアップ(なければ「なし」)

必須ルール:

  • 事実ベースで記載し、推測は書かない
  • 実行していないコマンドは記載しない
  • 変更に関連するドキュメント更新有無を明記する
  • 最後に「Gemini / Codex へのレビュー依頼」1行を追記する

対象: ${input}

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. 1mo ago Changed · +6 lines · -1 tokens per session 2f63ae733bbc
  2. 1mo ago First seen · 34 lines · 15 tokens per session scan A 658c05d39036

Subscribe to this mod's changes

pr is a command published in the GitHub repository s977043/river-review (7 stars, last pushed today), licensed MIT. It adds 14 tokens to every session and 254 once invoked, about $0.0001 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-08-31.