explain-pr

explain-pr is a skill for Claude Code from LeeJuOh/claude-code-zero. It costs 71 tokens per session (1,162 once invoked), scanned A, original, MIT.

A local HTML explanation of a pull request, merge request, or branch. It lists the change's decisions with a grade, source, recorded reason or question, and the related code, without giving an approval verdict or searching for bugs.

In plain words
What is it for?
Use it to walk through changed files, commit decisions, review comments, and the code supporting each decision.
Why use it?
It gives a reviewer a traceable account of why the change looks the way it does. It avoids mixing explanation with review approval or defect finding.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

Part of the pr-for-humans plugin — 2 skills shipped together

Good fit Use it to walk through changed files, commit decisions, review comments, and the code supporting each decision.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/leejuoh/claude-code-zero/explain-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.

Any agent
npx skills add LeeJuOh/claude-code-zero --skill explain-pr
Clone the repo
git clone --depth 1 https://github.com/LeeJuOh/claude-code-zero

Made for: Claude Code.

Or install pr-for-humans, the plugin that ships this one along with the rest of its 2 skills.

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 explain-pr

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/leejuoh/claude-code-zero/explain-pr"><img src="https://agentmods.dev/badge/skills/leejuoh/claude-code-zero/explain-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,162 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.00071 $0.01162
Opus 5.5 $0.00028 $0.00465
Sonnet 5.5 $0.00014 $0.00232
Haiku 4.5 $0.00007 $0.00116

Measured today against content hash f2556b30ba59, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

explain-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 today.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/build-page.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/pr-for-humans/skills/explain-pr/SKILL.md · 59 lines

How it starts

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

Explain PR

Show a reviewer what the change decided. Give no verdict, approval advice, or bug report. Write nothing to the PR.

Steps

  1. Find the change. Use the PR, MR, or branch the user names, else the open PR of the current branch. With no PR, compare the current branch with the default branch. Fetch a commit that is not local. Leave the user's branch and working tree as they are. Done when you know the head commit, the merge base, and whether a PR exists.
  2. Read the records and the code. Find the forge from the remote URL. If its CLI is installed and signed in, read the PR body, review comments, and linked issues. Otherwise read local git only. Read the commit messages, every changed file, and the unchanged code a decision depends on. Done when each changed file is read or noted as not read.
  3. Pick the decisions with the rules below. Done when each has a grade, a source, and a reason or a question.
  4. Write the body HTML. First read assets/skeleton.html in this skill's folder. Use only its class names and data attributes, and follow its comments. Write your own areas, order, and sentences. Save the body to a temporary file outside the repo.
  5. Build the page. Stay in the repository you explain. Run node <this skill's folder>/scripts/build-page.mjs <body-file> <page-file>. The page file is <temporary folder>/explain-pr/<owner>-<repo>-<PR number>.html, with the branch name as the number when there is no PR. Fix each problem the script prints until it exits 0. If it prints "not compared", fetch that commit and run it again.
  6. Open the page and reply. Open the page in the browser. With a browser tool, look at the rendered page. Without one, say it was not checked. Give the page path. Name each decision with no reason on record, and add "Write the reason in the PR and run this again, and the question goes away."

A second run writes the whole page again.

Decisions

A decision is a choice the reviewer could answer with "do it differently". This sentence wins over both lists.

Read the full file on GitHub · 59 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. today First seen · 59 lines · 71 tokens per session scan A f2556b30ba59

Subscribe to this mod's changes

explain-pr is a skill published in the GitHub repository LeeJuOh/claude-code-zero (52 stars, last pushed yesterday), licensed MIT. It adds 71 tokens to every session and 1,162 once invoked, about $0.0003 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-12-01.

Related

explain-pr compared with skills from other repositories

explain-pr next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
explain-prLeeJuOh/claude-code-zeroSkill52yesterdayMITA71Claude Code
ecc-contribution-reviewaffaan-m/ECCSkill314kyesterdayMITA45Claude Code, Codex
githubNousResearch/hermes-agentSkill267ktodayMITA19Claude Code, Codex
pr-creatormblode/agent-skillsSkill229yesterdayMITA55Claude Code, Codex
pr-descriptionpetekp/claude-code-setupSkill50yesterdayMITA50Claude Code, Codex
diffctxnikolay-e/diffctxSkill7todaynoneA57Claude Code
github-code-reviewgraniet/kheishSkill20924d agoApache-2.0A41Claude Code, Codex