git-pr

git-pr is a skill for Claude Code, Codex from mir-am/skills-agents-ai-coding. It costs 16 tokens per session (2,094 once invoked), scanned A, original, MIT.

A workflow for creating a GitHub pull request from the current feature branch. A pull request is a request to review and merge code changes into the main project branch.

In plain words
What is it for?
Use it to check that a branch is ready, push it to GitHub, create and assign the pull request, link a related issue, and update the root changelog when one exists.
Why use it?
It gathers the branch’s commits and session context into a clear title and summary, reducing manual writing and missed preparation steps.

Skill for Claude CodeCodex

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 skills/mir-am/skills-agents-ai-coding/git-pr
Any agent
npx skills add mir-am/skills-agents-ai-coding --skill git-pr
Clone the repo
git clone --depth 1 https://github.com/mir-am/skills-agents-ai-coding

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 git-pr

README.md
[![agentmods](https://agentmods.dev/badge/skills/mir-am/skills-agents-ai-coding/git-pr.svg)](https://agentmods.dev/skills/mir-am/skills-agents-ai-coding/git-pr)
Your own site
<a href="https://agentmods.dev/skills/mir-am/skills-agents-ai-coding/git-pr"><img src="https://agentmods.dev/badge/skills/mir-am/skills-agents-ai-coding/git-pr.svg" alt="Measured on agentmods" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,094 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.1 $0.00016 $0.02094
Opus 5 $0.00008 $0.01047
Sonnet 5 $0.00003 $0.00419
Haiku 4.5 $0.00002 $0.00209

Measured 5d ago against content hash 9c3cc132b2d6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

git-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 5d 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.

skills/git-pr/SKILL.md · 203 lines

How it starts

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

What I do

  • Validate feature branch has commits ahead of master/main
  • Push branch to remote if needed
  • Generate PR title summarizing all commits + session work (no type prefix)
  • Create concise PR description with summary and 3-5 key changes
  • Link GitHub issue if working on one in current session
  • Create GitHub PR using gh CLI and self-assign it to the authenticated GitHub user
  • Update root CHANGELOG.md when present with one PR-linked unreleased bullet using the PR URL, then commit and push that changelog update back to the same branch

When to use me

Use this skill when the user asks to create a pull request from the current feature branch.

Prerequisites

  • Must be on a feature branch (not master/main)
  • Branch must have commits ahead of base branch
  • GitHub CLI (gh) must be installed and authenticated
  • If gh not installed → error: "GitHub CLI not found. Install: https://cli.github.com/"

Validation Workflow

  1. Check current branch: git branch --show-current
  2. If on master or main → error message and exit
  3. Check for commits ahead of base:
    • Try: git log master..HEAD --oneline
    • Fallback: git log main..HEAD --oneline
  4. If no commits ahead → warn user and exit

Push Workflow

  1. Check if branch exists on remote: git ls-remote --heads origin <branch-name>
  2. If not on remote: git push -u origin <branch-name>
  3. If exists on remote: git push
  4. If a follow-up changelog sync creates a new CHANGELOG.md commit after PR creation, push that commit to the same branch as well

PR Title Generation

  • Analyze all commit messages in the branch
  • Analyze agent's session context and work completed
  • Summarize into one cohesive title (no type prefix)
  • If commits use conventional format (feat:, fix:), strip type prefixes
  • Capitalize first letter
  • Examples:
    • Add CSV export functionality and update documentation
    • Resolve NPE in call graph builder
    • Implement parallel test execution

PR Description Generation

Read the full file on GitHub · 203 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. 5d ago First seen · 203 lines · 16 tokens per session scan A 9c3cc132b2d6

Subscribe to this mod's changes

git-pr is a skill published in the GitHub repository mir-am/skills-agents-ai-coding (2 stars, last pushed 4mo ago), licensed MIT. It adds 16 tokens to every session and 2,094 once invoked, about $0.0001 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

skill-creator

Create, improve, evaluate, benchmark skills. Use when authoring a new skill, updating an existing one, running evals, or optimizing a skill's description for triggering. Don't use for invoking skills, writing prose, or scaffolding Python projects.

luongnv89/asm · 54 tokens

regulatory-analysis

Analyzes documents and processes against FINRA, SEC, Federal Reserve, and CFPB regulatory frameworks. Identifies compliance gaps, classifies findings by severity, and recommends remediation. Use when performing compliance audits, regulatory reviews, gap analyses, or verifying policy adherence to financial regulations.

open-gitagent/opengap · 59 tokens

manage-skills

Searches the SkillsMP registry, installs skills locally or globally, creates custom skills with SKILL.md frontmatter, and manages the skill lifecycle. Use when the user wants to find skills, add new capabilities, install a skill, browse available skills, create a custom skill, or manage the skills system.

open-gitagent/opengap · 65 tokens

run-agent

Configures and runs agents with different adapters including Claude, OpenAI, CrewAI, Lyzr, and GitHub Models. Supports local execution, remote git repos, and one-shot prompts. Use when the user wants to run an agent, switch LLM providers, configure adapter settings, or launch agents from git repositories.

open-gitagent/opengap · 68 tokens

document-review

Reviews financial documents (prospectuses, ADVs, marketing materials) for FINRA 2210 compliance, required disclosures, and balanced presentation. Use when reviewing financial statements, audit documents, regulatory filings, or when the user mentions compliance checks, financial audits, or document verification.

open-gitagent/opengap · 59 tokens

export-agent

Converts agent definitions between frameworks — exports to Claude Code, OpenAI, CrewAI, Lyzr, and GitHub Models formats, and imports from Claude, Cursor, and CrewAI projects. Use when the user wants to convert an agent, migrate to another framework, export to LangChain/AutoGen/CrewAI, or import from existing…

open-gitagent/opengap · 76 tokens