git-pr

git-pr is a skill for Claude Code, Codex from dmythro/agent-skills. It costs 151 tokens per session (9,272 once invoked), scanned A, original, MIT.

A workflow guide for pull requests and merge requests, which are proposed code changes reviewed before they enter a shared branch.

In plain words
What is it for?
Use it with GitHub or GitLab to create, review, update, resolve, and merge code changes.
Why use it?
It helps track reviews, comments, automated checks, and approval status without repeating steps or overlooking unresolved feedback.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

Good fit Use it with GitHub or GitLab to create, review, update, resolve, and merge code changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dmythro/agent-skills/git-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.

Any agent
npx skills add dmythro/agent-skills --skill git-pr
Clone the repo
git clone --depth 1 https://github.com/dmythro/agent-skills

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/dmythro/agent-skills/git-pr/github.svg)](https://agentmods.dev/skills/dmythro/agent-skills/git-pr)
Your own site
<a href="https://agentmods.dev/skills/dmythro/agent-skills/git-pr"><img src="https://agentmods.dev/badge/skills/dmythro/agent-skills/git-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 git-pr

Your own site · 80×15
<a href="https://agentmods.dev/skills/dmythro/agent-skills/git-pr"><img src="https://agentmods.dev/badge/skills/dmythro/agent-skills/git-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 151 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 9,272 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 87
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Excessive Agency · line 379
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
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.00151 $0.09272
Opus 5.5 $0.00060 $0.03709
Sonnet 5.5 $0.00030 $0.01854
Haiku 4.5 $0.00015 $0.00927

Measured 22d ago against content hash 64c60d06cb21, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 22d 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 · 409 lines

How it starts

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

PR and MR Workflows

Primary skill for pull request and merge request workflows across GitHub and GitLab. Covers the full lifecycle: creation, review queries, comment handling, line-specific comments, and merging. All recipes use minimal field sets for token efficiency.

Verified against gh v2.103.3 (2026-11-09): every gh subcommand and flag used here, against its --help on v2.102.0 (2026-09-30), then the pkg/cmd sources diffed from v2.102.0 to v2.103.2 (2026-10-27) and on to v2.103.3 (2026-11-09), since --help is generated from them: no flag of a subcommand used here changed (v2.103.3 changes only what gh auth status --no-refresh prints for an expired token). glab: not verified -- no pinned version yet; check glab <cmd> --help before relying on a glab flag. If gh --version is newer, read the release notes since v2.103.3 before relying on flag details. The CodeRabbit CLI pin lives in the coderabbit skill.

Context Check (Do This First)

Before starting any PR workflow, detect the current state. This determines the right action:

# Check if a PR exists for the current branch (allowlisted, zero approval)
gh pr view --json number,state,reviewDecision,reviewRequests,title 2>/dev/null
Result Next action
PR exists, CHANGES_REQUESTED Fetch unresolved threads (see Review Comment Handling)
PR exists, REVIEW_REQUIRED or has pending reviewRequests Check review state or wait for reviewers
PR exists, a bot review in flight: pending in REST requested_reviewers (Copilot shows as Copilot), or HEAD's CodeRabbit check is still running Auto-review in flight -- wait for it the way the host allows (Critical Rule 9); do NOT re-request
PR exists, unresolved review comments Address the comments first (Review Comment Handling); never request a new review over outstanding ones
PR exists, no unresolved CodeRabbit threads, and coderabbitai itself resolved every thread of its newest round after answering, with no review running (bot_status exit 7) Round closed in the threads -- run the body-only completeness check (Critical Rule 6), then report it done and request no review (Critical Rule 10)
PR exists, APPROVED Check CI status, then merge -- after the stack check (Critical Rule 11)
PR exists, no review decision yet On an auto-review repo, read the bot round's outcome first (bot_status, Bot Review Loop) -- a clean or rate-limited round shows nothing in this query; then check CI status, review state, or push more changes
No PR for current branch Create a PR (see PR/MR Creation)

Read the full file on GitHub · 409 lines

Files

What ships with it

8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 22d ago Changed 64c60d06cb21
  2. 25d ago Changed 74a4a851bdfe
  3. 1mo ago Changed bc5cec71397a
  4. 1mo ago Changed · +19 lines · +13 tokens per session 81b1384552d1
  5. 1mo ago Changed · +3 lines 2ab9943eea48
  6. 1mo ago Changed · +4 lines 2223097f999d
  7. 2mo ago Changed · +2 lines 775184f99a85
  8. 2mo ago Changed 100d7a2760ef
  9. 2mo ago Changed · +1 lines bd48a94d9fa1
  10. 3mo ago First seen · 380 lines · 138 tokens per session scan A 88298f262434

Subscribe to this mod's changes

git-pr is a skill published in the GitHub repository dmythro/agent-skills (7 stars, last pushed 22d ago), licensed MIT. It adds 151 tokens to every session and 9,272 once invoked, about $0.0006 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-08-31.

Related

git-pr compared with skills from other repositories

git-pr next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
git-prdmythro/agent-skillsSkill722d agoMITA151Claude Code, Codex
changelog-generatorcodebygarv/Ai-skillsSkill283mo agoMITA37Claude Code, Codex
commit-message-expertcodebygarv/Ai-skillsSkill283mo agoMITA43Claude Code, Codex
secrets-scannercodebygarv/Ai-skillsSkill283mo agoMITA45Claude Code, Codex
git-conflict-resolvercodebygarv/Ai-skillsSkill283mo agoMITA26Claude Code, Codex
git-hook-automation-designercodebygarv/Ai-skillsSkill283mo agoMITA39Claude Code, Codex
semver-bump-advisorcodebygarv/Ai-skillsSkill283mo agoMITA29Claude Code, Codex