pr-summary

pr-summary is a skill for Claude Code, Codex from hmj1026/dhpk. It costs 67 tokens per session (510 once invoked), scanned A, original, MIT.

A read-only report for open GitHub pull requests, which are proposed code changes awaiting review or merging. It removes bot-authored requests and groups the remaining ones by ticket, including stacked pull requests.

In plain words
What is it for?
Use it to see the status of accessible open pull requests grouped by work item. It queries structured GitHub data, writes the result to /tmp/pr-summary.md, and displays it.
Why use it?
It turns pull-request data into a report without changing GitHub or giving a code-review verdict. The report can be saved and copied from a known file.

Skill for Claude CodeCodex

Written for Claude Code and Codex: argument-hint in frontmatter, but also agents/openai.yaml present.

Part of the dhpk plugin — 39 skills, 1 command, 1 agent, 3 hooks shipped together

Good fit Use it to see the status of accessible open pull requests grouped by work item. It queries structured GitHub data, writes the result to /tmp/pr-summary.md, and displays it.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hmj1026/dhpk/pr-summary
View source ↗ hmj1026/dhpk
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 hmj1026/dhpk --skill pr-summary
Clone the repo
git clone --depth 1 https://github.com/hmj1026/dhpk

Made for: Claude Code, Codex.

Or install dhpk, the plugin that ships this one along with the rest of its 39 skills, 1 command, 1 agent, 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-summary

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hmj1026/dhpk/pr-summary"><img src="https://agentmods.dev/badge/skills/hmj1026/dhpk/pr-summary.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 510 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.00067 $0.00510
Opus 5.5 $0.00027 $0.00204
Sonnet 5.5 $0.00013 $0.00102
Haiku 4.5 $0.00007 $0.00051

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

Security

Grade A, and why

pr-summary 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 yesterday.

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.

generated/claude-marketplace/package/skills/create-pr/references/pr-summary/SKILL.md · 53 lines

What it actually says

PR Summary

Workflow

Run in the consumer repository and preserve --author <user> and --label <label>. Resolve the repository with gh repo view, then query open PRs with gh pr list --json ...; consume structured JSON rather than scraping terminal formatting. Stop when gh is unavailable, the repository query fails, or the PR query fails.

Filter bot-authored PRs, group the remaining records by ticket ID (including stacked PR annotations), format the report, write the same report to /tmp/pr-summary.md, and display it with copy instructions. The exact JSON fields and grouping rules are in references/workflow.md. This workflow never changes GitHub state.

When NOT to Use

  • A PR must be created, edited, merged, closed, or labeled.
  • A code review or merge-readiness verdict is requested.
  • gh repository credentials or access are unavailable.

Output

Formatted open-PR groups with ticket IDs and stacked-PR annotations, plus the path /tmp/pr-summary.md and copy instructions. An empty result is a valid report. Query or report-write failures are terminal UNAVAILABLE/FAIL results and must be surfaced.

Verification

  • Repository and PR data came from successful structured gh JSON calls.
  • --author/--label filters were preserved and bot PRs were handled.
  • Every included PR appears in exactly one ticket group (or an explicit unassigned group).
  • /tmp/pr-summary.md exists and matches the displayed report.

References

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. yesterday Changed · +2 lines 1f5f830d831c
  2. 23d ago First seen · 51 lines · 67 tokens per session scan A 3dce1943081c

Subscribe to this mod's changes

pr-summary is a skill published in the GitHub repository hmj1026/dhpk (2 stars, last pushed today), licensed MIT. It adds 67 tokens to every session and 510 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-09-24.

Related

Other skills, from other repositories