describe_pr

describe_pr is a command for coding agents from jeffh/claude-plugins. It costs 7 tokens per session (862 once invoked), scanned A, a copy of describe_pr, Apache-2.0.

A command that writes a pull request description using the repository's standard template. A pull request is a proposed change to a code project that others review before it is merged.

In plain words
What is it for?
Finding the relevant pull request, reviewing its changes, and creating or updating a structured description in the project's expected format.
Why use it?
It avoids incomplete or inconsistent pull request descriptions by checking the required template, the relevant code changes, and any existing description.

Command

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.

agentmods
npx agentmods add commands/jeffh/claude-plugins/describe_pr
Clone the repo
git clone --depth 1 https://github.com/jeffh/claude-plugins

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 describe_pr

README.md
[![agentmods](https://agentmods.dev/badge/commands/jeffh/claude-plugins/describe_pr.svg)](https://agentmods.dev/commands/jeffh/claude-plugins/describe_pr)
Your own site
<a href="https://agentmods.dev/commands/jeffh/claude-plugins/describe_pr"><img src="https://agentmods.dev/badge/commands/jeffh/claude-plugins/describe_pr.svg" alt="Measured on agentmods" height="20"></a>
Per session 7 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 862 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 94% 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 $0.00007 $0.00862
Opus 5 $0.00003 $0.00431
Sonnet 5 $0.00001 $0.00172
Haiku 4.5 $0.00001 $0.00086

Measured 3d ago against content hash d4bc89cc92b5, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

describe_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 3d 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.

Origin

This is a copy

94% identical to describe_pr — 11 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.

humanlayer/commands/describe_pr.md · 76 lines

How it starts

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

Generate PR Description

You are tasked with generating a comprehensive pull request description following the repository's standard template.

Steps to follow:

  1. Read the PR description template:

    • First, check if thoughts/shared/pr_description.md exists
    • If it doesn't exist, inform the user that their humanlayer thoughts setup is incomplete and they need to create a PR description template at thoughts/shared/pr_description.md
    • Read the template carefully to understand all sections and requirements
  2. Identify the PR to describe:

    • Check if the current branch has an associated PR: gh pr view --json url,number,title,state 2>/dev/null
    • If no PR exists for the current branch, or if on main/master, list open PRs: gh pr list --limit 10 --json number,title,headRefName,author
    • Ask the user which PR they want to describe
  3. Check for existing description:

    • Check if thoughts/shared/prs/{number}_description.md already exists
    • If it exists, read it and inform the user you'll be updating it
    • Consider what has changed since the last description was written
  4. Gather comprehensive PR information:

    • Get the full PR diff: gh pr diff {number}
    • If you get an error about no default remote repository, instruct the user to run gh repo set-default and select the appropriate repository
    • Get commit history: gh pr view {number} --json commits
    • Review the base branch: gh pr view {number} --json baseRefName
    • Get PR metadata: gh pr view {number} --json url,title,number,state
  5. Analyze the changes thoroughly: (ultrathink about the code changes, their architectural implications, and potential impacts)

    • Read through the entire diff carefully
    • For context, read any files that are referenced but not shown in the diff
    • Understand the purpose and impact of each change
    • Identify user-facing changes vs internal implementation details
    • Look for breaking changes or migration requirements

Read the full file on GitHub · 76 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. 3d ago First seen · 76 lines · 7 tokens per session scan A d4bc89cc92b5

Subscribe to this mod's changes

describe_pr is a command published in the GitHub repository jeffh/claude-plugins (12 stars, last pushed today), licensed Apache-2.0. It adds 7 tokens to every session and 862 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. It is 94% identical to describe_pr, differing in 11 lines, and is treated as a copy.