git-flow-pr

git-flow-pr is a skill for Claude Code, Codex from soulcodex/agentic. It costs 103 tokens per session (1,872 once invoked), scanned A, original, MIT.

A Git workflow assistant for turning current changes into a clean GitHub pull request. A pull request is a proposed set of code changes for review and merging.

In plain words
What is it for?
Use it to create a feature branch, commit staged work, update it from a base branch, push it, and open a pull request linked to an issue.
Why use it?
It organizes branching, commits, rebasing, pushing, and issue linking into one repeatable process.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument; mentions Codex; mentions OpenCode.

Good fit Use it to create a feature branch, commit staged work, update it from a base branch, push it, and open a pull request linked to an issue.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/soulcodex/agentic/git-flow-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 soulcodex/agentic --skill git-flow-pr
Clone the repo
git clone --depth 1 https://github.com/soulcodex/agentic

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/soulcodex/agentic/git-flow-pr/github.svg)](https://agentmods.dev/skills/soulcodex/agentic/git-flow-pr)
Your own site
<a href="https://agentmods.dev/skills/soulcodex/agentic/git-flow-pr"><img src="https://agentmods.dev/badge/skills/soulcodex/agentic/git-flow-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-flow-pr

Your own site · 80×15
<a href="https://agentmods.dev/skills/soulcodex/agentic/git-flow-pr"><img src="https://agentmods.dev/badge/skills/soulcodex/agentic/git-flow-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 103 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,872 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: 1 finding, up to high

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 →

  • high Tool Misuse · line 144
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
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.00103 $0.01872
Opus 5.5 $0.00041 $0.00749
Sonnet 5.5 $0.00021 $0.00374
Haiku 4.5 $0.00010 $0.00187

Measured 1mo ago against content hash 0f24515b467a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

git-flow-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.

skills/development/git-flow-pr/SKILL.md · 221 lines

How it starts

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

Git Flow PR Skill

Complete workflow for creating a clean, rebased pull request from in-progress work.

Step 1 — Confirm Current State

Before doing anything, understand what exists:

git status --short          # Are there uncommitted changes?
git log --oneline -10       # What commits exist on this branch?
git branch --show-current   # Which branch are we on?
BASE_BRANCH="<base-branch>" # e.g. main, develop, release/*
git fetch origin "$BASE_BRANCH"
git log --oneline "origin/$BASE_BRANCH"..HEAD   # Commits unique to this branch

Identify:

  • The base branch (often main, but use the repo's actual target)
  • Any uncommitted changes that need to be staged
  • Whether the current branch's ancestor commits are already merged into main (this determines which --onto strategy to use in Step 4)

Step 2 — Stage and Commit (if uncommitted changes exist)

If there are uncommitted changes, stage and commit them now:

git add <files>     # Stage relevant files; be specific — don't `git add .` blindly
git commit -m "<type>(<scope>): <summary>

<body explaining why, not just what>

Closes #<issue-number>"

Commit message rules:

  • Follow Conventional Commits: feat, fix, docs, chore, refactor, test
  • Scope should reflect the area changed: (gemini), (tooling), (docs), (skills), etc.
  • For final PRs that should auto-close the issue on merge, use Closes #N or Fixes #N
  • For stacked/chained PRs or partial work, use Refs #N to link without auto-closing
  • Keep the subject line ≤ 72 characters

Step 3 — Create the Feature Branch

Create a new branch from the tip of the current work and give it a descriptive name:

COMMIT=$(git rev-parse HEAD)
git checkout -b feat/<short-description> "$COMMIT"

Branch naming convention:

  • feat/<description> — new feature or enhancement
  • fix/<description> — bug fix
  • docs/<description> — documentation only
  • chore/<description> — maintenance, tooling, dependencies

Read the full file on GitHub · 221 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 · 221 lines · 103 tokens per session scan A 0f24515b467a

Subscribe to this mod's changes

git-flow-pr is a skill published in the GitHub repository soulcodex/agentic (10 stars, last pushed 29d ago), licensed MIT. It adds 103 tokens to every session and 1,872 once invoked, about $0.0004 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

Other skills, from other repositories

git-workflow

Use when naming or scoping a branch, writing or fixing a commit message, picking the gitmoji for a commit, untangling history (rebase versus merge versus squash), or cutting a versioned release — the portable git-convention layer for any repo. Covers gitmoji + Conventional Commits, SemVer tags, branch hygiene…

ericrisco/rsc-harness · 127 tokens

github-cli

A command-line tool connection for GitHub tasks that built-in tools do not cover. It uses GitHub's command-line program to work with issues, pull requests, releases, workflows, searches, and the GitHub API.

zhinjs/zhin · 30 tokens

pr-description

Write a reviewer-first pull-request description from the actual branch diff. Use when opening a PR or asked to write/improve a PR description.

jnMetaCode/skillet · 31 tokens

git-workflow

Git branching, commit conventions, rebase vs merge, conflict resolution, and release tagging. Use when setting up a git workflow, writing commits, resolving conflicts, or preparing a release.

chandrudp29/skillhub · 41 tokens

github-cli

Automate GitHub workflows using the gh CLI for pull requests, issues, releases, actions, and repository management. Use when interacting with GitHub beyond basic git operations.

asgarovf/locusai · 37 tokens

git-wrapup

Land working-tree changes as logical commits — the work grouped by concern, topped by a release commit (version bump, changelog, regenerated artifacts). The work commits land first, then the version bump, verification, and the release commit on top. Stops at "committed locally on main" — or, when the project releases…

cyanheads/obsidian-mcp-server · 120 tokens