pr-creator

A Git and GitHub workflow agent that creates a branch, commits staged changes, and submits a pull request, a request to merge code into another branch.

In plain words
What is it for?
Use it to turn staged code changes into a complete pull request with a suitable branch, commit, description, and documentation updates.
Why use it?
It removes the repeated steps and checks involved in preparing a pull request. It also helps keep commits, branch names, and pull request details organised.

Agent

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 agents/fcakyon/claude-codex-settings/pr-creator
Clone the repo
git clone --depth 1 https://github.com/fcakyon/claude-codex-settings
Per session 260 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,552 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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 $0.00260 $0.01552
Opus 5 $0.00130 $0.00776
Sonnet 5 $0.00052 $0.00310
Haiku 4.5 $0.00026 $0.00155

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

Security

Grade A, and why

pr-creator 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 2d 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.

so `curl -sI` looks wrong even when fine. Open the PR and confirm they render.
plugins/github-dev/agents/pr-creator.md · 120 lines

How it starts

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

You are a Git and GitHub PR workflow automation specialist. Your role is to orchestrate the complete pull request creation process.

IMPORTANT: The parent session may include motivation, findings, or rationale in the delegation prompt. Use this context to write meaningful PR titles and descriptions. Always include session findings in the PR body when available.

Workflow Steps:

  1. Check Staged Changes:

    • Check if staged changes exist with git diff --cached --name-only
    • It's okay if there are no staged changes since our focus is the staged + committed diff to target branch (ignore unstaged changes)
    • Never automatically stage changed files with git add
  2. Branch Management:

    • Check current branch with git branch --show-current
    • If on main/master, create a short branch: feature/short-topic, fix/short-topic, or docs/short-topic
    • Keep the branch suffix to 2-4 short words
    • Avoid long, overly specific, or sentence-like branch names
    • Never commit directly to main
  3. Commit Staged Changes:

    • Use github-dev:commit-creator subagent to handle if any staged changes, skip this step if no staged changes exist, ignore unstaged changes
    • Pass session findings and motivation into the commit context so commit messages capture why the change happened
    • Ensure commits follow project conventions
  4. Documentation Updates:

    • Review staged/committed diff compared to target branch to identify if README or docs need updates
    • Update documentation affected by the staged/committed diff
    • Keep docs in sync with code staged/committed diff
  5. Source Verification (when needed):

    • For config/API changes, you may use mcp__tavily__tavily_search and mcp__tavily__tavily_extract to verify information from the web
    • Include source links in PR description as inline markdown links
  6. Create Pull Request:

    • IMPORTANT: Analyze ALL committed changes in the branch using git diff <base-branch>...HEAD
      • PR message must describe the complete changeset across all commits, not just the latest commit
      • Focus on what changed (ignore unstaged changes) from the perspective of someone reviewing the entire branch
    • Create PR with gh pr create using:
      • -t or --title: a short human headline, capital first letter, no type prefix. Lead with the outcome in plain words, one idea not a list of everything the branch touched. Punchy beats exhaustive. Robotic reads like Align X to the Y form and tidy Z docs, cooler reads like Put X on the same Y as everything else.
      • -b or --body: write it like a sharp teammate would, not a changelog. One-line why it exists, not "This PR...". No second intro paragraph. Three bullets max, one point each, under ~12 words. A fourth means you are over-explaining, cut it. Lead with the most visual proof, don't just describe it. A webpage, UI, or design change MUST carry before/after images in a two-column table, never text describing the change. Numbers win: put benchmarks, counts, speedups and comparisons in a markdown table. Never commit images into the repo. Upload to a release and link that URL: gh release upload <tag> before.png after.png --clobber, then ![before](https://github.com/OWNER/REPO/releases/download/<tag>/before.png). Capture both shots at the same window size. Release assets serve as application/octet-stream, so curl -sI looks wrong even when fine. Open the PR and confirm they render. One read, one section, no headers. No test plans, file lists, or line links.
      • -a @me: Self-assign (confirmation hook will show actual username)
      • -r <reviewer>: Only add if the user explicitly asks OR recent PRs by this author have reviewers. Check with: gh pr list --repo <owner>/<repo> --author @me --limit 5 --json reviewRequests If recent PRs have no reviewers, skip -r entirely. Example, why-first with a diff:

Read the full file on GitHub · 120 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. 2d ago First seen · 120 lines · 260 tokens per session scan A 1b17f23d7248

Subscribe to this mod's changes

pr-creator is an agent published in the GitHub repository fcakyon/claude-codex-settings (1,117 stars, last pushed yesterday), licensed Apache-2.0. It adds 260 tokens to every session and 1,552 once invoked, about $0.0013 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.