describe_pr

describe_pr is a command for Claude Code, OpenCode from allisoneer/agentic_auxilary. It costs 22 tokens per session (997 once invoked), scanned A, original, MIT.

A workflow that gathers a pull request's details and writes or updates its description using the repository's template. A pull request is a proposed code change awaiting review.

In plain words
What is it for?
Use it to find the relevant pull request, review its changes and related commits, update a saved description artifact, and sync the description to the pull request.
Why use it?
It avoids writing a description from incomplete context by checking the branch, existing description, template, and full code difference.

Command for Claude CodeOpenCode

Written for Claude Code and OpenCode: $ARGUMENTS substitution, but also installed under .opencode/. Also seen: agent in frontmatter.

Good fit Use it to find the relevant pull request, review its changes and related commits, update a saved description artifact, and sync the description to the pull request.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/allisoneer/agentic_auxilary/describe_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.

Clone the repo
git clone --depth 1 https://github.com/allisoneer/agentic_auxilary

Made for: Claude Code, OpenCode.

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/allisoneer/agentic_auxilary/describe_pr/github.svg)](https://agentmods.dev/commands/allisoneer/agentic_auxilary/describe_pr)
Your own site
<a href="https://agentmods.dev/commands/allisoneer/agentic_auxilary/describe_pr"><img src="https://agentmods.dev/badge/commands/allisoneer/agentic_auxilary/describe_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 describe_pr

Your own site · 80×15
<a href="https://agentmods.dev/commands/allisoneer/agentic_auxilary/describe_pr"><img src="https://agentmods.dev/badge/commands/allisoneer/agentic_auxilary/describe_pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 997 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.00022 $0.00997
Opus 5.5 $0.00009 $0.00399
Sonnet 5.5 $0.00004 $0.00199
Haiku 4.5 $0.00002 $0.00100

Measured 1mo ago against content hash 8f80b256f1d5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

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.

.opencode/command/describe_pr.md · 84 lines

How it starts

The opening of the file, as written. The whole thing — 84 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.

User message (if any): $ARGUMENTS

Steps to follow:

  1. Get the PR description template:

    • Call tools_thoughts_get_template with template=pr_description
    • 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 (MCP):

    • Call tools_thoughts_list_documents and filter doc_type = "artifacts" with filename pr_{number}_description.md
    • If found, read it and inform user you'll be updating it
    • Consider what has changed since last description
  4. Gather comprehensive PR information:

    • Get the full PR diff: gh pr diff {number}
    • If you see the error "No default remote repository has been set", 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: (think deeply 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
  6. Handle verification requirements:

    • Look for any checklist items in the "How to verify it" section of the template
    • For each verification step:
      • If it's a recipe you can run, use the Just MCP tools:
        • Discover available recipes with tools_cli_just_search (e.g., search for "check", "test")
        • Execute recipes with tools_cli_just_execute (e.g., run the "check" and "test" recipes)
      • If it passes, mark the checkbox as checked: - [x]
      • If it fails, keep it unchecked and note what failed: - [ ] with explanation
      • If it requires manual testing (UI interactions, external services), leave unchecked and note for user
    • Document any verification steps you couldn't complete

Read the full file on GitHub · 84 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 · 84 lines · 22 tokens per session scan A 8f80b256f1d5

Subscribe to this mod's changes

describe_pr is a command published in the GitHub repository allisoneer/agentic_auxilary (79 stars, last pushed 6d ago), licensed MIT. It adds 22 tokens to every session and 997 once invoked, about $0.0001 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-08.