generate-pr-notes

generate-pr-notes is a skill for Claude Code from jamesyang124/agent-skills. It costs 66 tokens per session (2,608 once invoked), scanned A, original, MIT.

A tool that turns Git commits or branch changes into pull request notes. A pull request is a request to review and merge code, and the notes explain what changed and why.

In plain words
What is it for?
Use it when opening a pull request, preparing its description, or summarizing the changes in a branch compared with a base branch.
Why use it?
It removes the need to manually compare changes and write a structured summary for reviewers. It can describe the title, main changes, technical details, and breaking changes.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md.

Good fit Use it when opening a pull request, preparing its description, or summarizing…

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

Made for: Claude Code.

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 generate-pr-notes

README.md
[![agentmods](https://agentmods.dev/badge/skills/jamesyang124/agent-skills/generate-pr-notes.svg)](https://agentmods.dev/skills/jamesyang124/agent-skills/generate-pr-notes)
Your own site
<a href="https://agentmods.dev/skills/jamesyang124/agent-skills/generate-pr-notes"><img src="https://agentmods.dev/badge/skills/jamesyang124/agent-skills/generate-pr-notes.svg" alt="Measured on agentmods" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,608 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.00066 $0.02608
Opus 5 $0.00033 $0.01304
Sonnet 5 $0.00013 $0.00522
Haiku 4.5 $0.00007 $0.00261

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

Security

Grade A, and why

generate-pr-notes 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 6d 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.

.agent-settings/skills/tools/generate-pr-notes/SKILL.md · 234 lines

How it starts

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

Generate PR Notes

Install this skill globally

Install once — available in all projects.

# Claude
mkdir -p ~/.claude/skills/generate-pr-notes
cp <agent-settings-repo>/.agent-settings/skills/tools/generate-pr-notes/SKILL.md \
   ~/.claude/skills/generate-pr-notes/SKILL.md
# Add to ~/.claude/CLAUDE.md: - **generate-pr-notes** (`~/.claude/skills/generate-pr-notes/SKILL.md`)

# Copilot
mkdir -p ~/.copilot/skills/generate-pr-notes
cp <agent-settings-repo>/.agent-settings/skills/tools/generate-pr-notes/SKILL.md \
   ~/.copilot/skills/generate-pr-notes/SKILL.md

Dependencies

No external skills or MCPs required. Requires git to be available in the shell.


Automatically generate pull request notes based on git changes.

Description

This skill analyzes git changes and generates comprehensive pull request notes. It can work with either a single commit or all changes in the current branch compared to the main/master branch.

Usage

/generate-pr-notes

Arguments

All optional.

Token Meaning
a branch name (e.g. develop) base branch to diff against — skips the base-branch question in step 1

Scope (last commit vs. entire branch) is always asked; it is not an argument.


Instructions

Use the Task tool with subagent_type="general-purpose" to spawn an agent that will generate pull request notes. Pass the following instructions to the agent.

CRITICAL: After the agent completes, follow these steps IN ORDER:

  1. Output verbatim — display the agent's full response exactly as returned in the terminal. Do NOT summarize or modify it.

  2. Extract content — strip the outer ```markdown opening fence and the closing ``` fence from the agent output to get the raw markdown text only.

  3. Determine output path — before writing, run these two commands via Bash:

    • Repo name: basename $(git rev-parse --show-toplevel)
    • Short hash: git rev-parse --short HEAD Construct the output path as /tmp/pr-notes-<repo-name>-<short-hash>.md (e.g. /tmp/pr-notes-agent-skills-a1b2c3d.md). Use the Write tool to save the extracted markdown to that path.

Read the full file on GitHub · 234 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. 6d ago First seen · 234 lines · 66 tokens per session scan A 29ed7a0b6bbd

Subscribe to this mod's changes

generate-pr-notes is a skill published in the GitHub repository jamesyang124/agent-skills (2 stars, last pushed 1mo ago), licensed MIT. It adds 66 tokens to every session and 2,608 once invoked, about $0.0003 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-31.

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

github-pr-workflow

Prepare a GitHub pull request from a feature branch — branch hygiene, commit shape, title/body, verification notes, screenshots for UI work, and replies to review comments.

paperclipai/paperclip · 39 tokens

github-automation

GitHub workflow automation, PR management, issue tracking, and code review coordination. Integrates with GitHub Actions and repository management. Use when: PR creation, code review, issue management, release automation, workflow setup. Skip when: local-only changes, non-GitHub repositories.

ruvnet/ruflo · 61 tokens

review-delta

Review only changes since last commit using impact analysis. Token-efficient delta review with automatic blast-radius detection.

tirth8205/code-review-graph · 24 tokens

work-unit-commits

Plan commits as reviewable work units. Trigger: implementation, commit splitting, chained PRs, or keeping tests and docs with code.

Gentleman-Programming/gentle-ai · 33 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