github-pr-description

github-pr-description is a skill for Claude Code, Codex from justrach/codegraff2. It costs 72 tokens per session (2,411 once invoked), scanned A, a copy of github-pr-description, Apache-2.0.

A tool that reads your Git changes and commit history, then writes a pull request description and can create the pull request through GitHub CLI. A pull request is a request for others to review and merge your changes.

In plain words
What is it for?
Use it to summarize fixes, features, refactors, performance work, or documentation changes and submit them as GitHub pull requests.
Why use it?
It removes the need to reconstruct what changed and why when preparing a pull request. It also checks that you are on a branch with commits ready for review.

Skill for Claude CodeCodex

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

Good fit Use it to summarize fixes, features, refactors, performance work, or documentation changes and submit them as GitHub pull requests.

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

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 github-pr-description

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/justrach/codegraff2/github-pr-description"><img src="https://agentmods.dev/badge/skills/justrach/codegraff2/github-pr-description.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,411 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod 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.00072 $0.02411
Opus 5.5 $0.00029 $0.00964
Sonnet 5.5 $0.00014 $0.00482
Haiku 4.5 $0.00007 $0.00241

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

Security

Grade A, and why

github-pr-description scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -X POST http://localhost:3000/search \
Origin

This is a copy

100% identical to github-pr-description — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

crates/forge_repo/src/skills/github-pr-description/SKILL.md · 351 lines

How it starts

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

Create PR Description

Generate comprehensive pull request descriptions and create PRs using GitHub CLI.

Workflow

1. Verify Prerequisites

Check that there are changes to create a PR for:

# Get current branch
git branch --show-current

# Verify branch is not main/master
# Verify there are commits ahead of main
git log origin/main..HEAD --oneline

If on main/master or no commits ahead, inform the user there's nothing to create a PR for.

2. Analyze Changes

Gather context about the changes:

# Get commit messages
git log origin/main..HEAD --pretty=format:"%s"

# Get diff summary (files changed)
git diff origin/main..HEAD --stat

# Get actual code changes (sample key files if diff is large)
git diff origin/main..HEAD

For large diffs: Focus on the most meaningful changes. Sample key files rather than reading everything.

3. Determine Change Type

Classify the PR into one of these categories:

  • fix: Bug fixes, error corrections, resolving issues
  • feature: New functionality, capabilities, or enhancements
  • performance: Speed improvements, optimization, efficiency gains
  • refactor: Code restructuring without changing behavior
  • docs: Documentation changes
  • test: Test additions or improvements
  • chore: Maintenance tasks, dependencies, configuration

Base this on:

  • Commit messages (keywords like "fix", "add", "optimize", "refactor")
  • Nature of code changes (new files = feature, test fixes = fix, etc.)
  • Scope of changes

4. Generate Description

Create a comprehensive description with this structure:

## Summary
[One sentence explaining what this PR does and why it matters]

## Context
[Background information, related issues, previous work, or the problem being solved]

## Changes
[High-level description of what changed]

### Key Implementation Details
[Technical details that help reviewers understand the approach, especially for complex changes]

## Use Cases
[Concrete examples of how this will be used - helps reviewers understand practical value]

## Testing
[How to test the changes - step-by-step instructions]

## Links
- Related issues: #123, #456
- Documentation: URL (if applicable)
- Original implementation: URL (if applicable)

Read the full file on GitHub · 351 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. 1mo ago First seen · 351 lines · 72 tokens per session scan A 0eb8bfd663f0

Subscribe to this mod's changes

github-pr-description is a skill published in the GitHub repository justrach/codegraff2 (27 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 72 tokens to every session and 2,411 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). It is 100% identical to github-pr-description, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories