github.split_branch_in_PRs

github.split_branch_in_PRs is a skill for Claude Code from gpsaggese/helpers. It costs 13 tokens per session (817 once invoked), scanned A, original, Apache-2.0.

A Git workflow that divides the changes on the current branch into several small, focused pull requests. Git is a system for tracking code changes, and a pull request is a proposed change for review.

In plain words
What is it for?
Use it to inspect branch differences, group related files and tests, and propose a clear sequence of pull requests.
Why use it?
Smaller pull requests are easier to review and reduce the risk of mixing unrelated work or breaking tests.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; reads .claude/ paths.

Good fit Use it to inspect branch differences, group related files and tests, and propose a clear sequence of pull requests.

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

Made for: Claude Code.

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 github.split_branch_in_PRs

README.md
[![agentmods](https://agentmods.dev/badge/skills/gpsaggese/helpers/github.split_branch_in_prs/github.svg)](https://agentmods.dev/skills/gpsaggese/helpers/github.split_branch_in_prs)
Your own site
<a href="https://agentmods.dev/skills/gpsaggese/helpers/github.split_branch_in_prs"><img src="https://agentmods.dev/badge/skills/gpsaggese/helpers/github.split_branch_in_prs/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 github.split_branch_in_PRs

Your own site · 80×15
<a href="https://agentmods.dev/skills/gpsaggese/helpers/github.split_branch_in_prs"><img src="https://agentmods.dev/badge/skills/gpsaggese/helpers/github.split_branch_in_prs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 817 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.00013 $0.00817
Opus 5.5 $0.00005 $0.00327
Sonnet 5.5 $0.00003 $0.00163
Haiku 4.5 $0.00001 $0.00082

Measured yesterday against content hash a59e35c00089, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

github.split_branch_in_PRs 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 yesterday.

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.

.claude/skills/github.split_branch_in_PRs/SKILL.md · 101 lines

How it starts

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

Goal

  • Propose how to split the changes between current HEAD of the branch and origin/master into small PRs to minimize:

    • The review complexity
    • The risk of breaking the unit tests
  • If the task is not perfectly clear or complex, you MUST not perform it, but ask for clarifications and create a plan for review

    • Create a plan.md with 5 bullet points explaining what the plan is

Workflow

Read Rules

  • Read rules about:
    • Coding: .claude/skills/coding.rules.md
    • Unit tests: .claude/skills/testing.rules.md

Read the Changes in the Current Git Client

  • Obtain the files that need to be merged with:

    git diff --name-status origin/master HEAD
    ...
    
  • Analyze the difference between the current client and master (or origin/master):

    git diff master...HEAD --name-only
    # or if master is not available locally:
    git diff origin/master...HEAD --name-only
    

Propose PRs

  • Propose a set of PRs that decompose the changes in the current Git client, so that there are coherent and tightly coupled changes

  • Prefer PRs that change entire files, not split a file across PRs

  • Keep each file and its test file in the same PR

  • Merge low risk / complexity PRs to have fewer PRs, even if the merged PR is the sum of simpler ones

    • Describe each merged unit as its own bullet

Order the PRs

  • Start with the PRs that have low risk and touch most files

Create pytest Commands

  • For each PR create:
    • A file pr<NUM>.files.txt with the files changed, e.g.,
      .claude/skills
      .claude/templates
      .claude/notify.sh
      .claude/settings.local.json
      
    • A file pr<NUM>.pytest.sh with the pytest command to run to exercise the changes by running the tests in all the modified files and make sure the PR is running successfully, e.g.,
      #!/bin/bash
      pytest_log \
        dev_scripts_helpers/coding_tools/test \
        dev_scripts_helpers/dockerize/test \
        linters2/test \
        $@
      
    • Make this script executable with chmod +x pr<NUM>.pytest.sh

Read the full file on GitHub · 101 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. yesterday First seen · 101 lines · 13 tokens per session scan A a59e35c00089

Subscribe to this mod's changes

github.split_branch_in_PRs is a skill published in the GitHub repository gpsaggese/helpers (158 stars, last pushed today), licensed Apache-2.0. It adds 13 tokens to every session and 817 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-11-06.

Related

github.split_branch_in_PRs compared with skills from other repositories

github.split_branch_in_PRs next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
github.split_branch_in_PRsgpsaggese/helpersSkill158todayApache-2.0A13Claude Code
create-prprisma/ormSkill48ktodayApache-2.0A48Claude Code, Codex
git-commitThinkInAIXYZ/deepchatSkill6.4kyesterdayApache-2.0A15Claude Code, Codex
repo-syncdavidondrej/skillsSkill4.3kyesterdayMITA25Claude Code, Codex
engineer-bot-opsmakecindy/cindySkill9.4ktodayApache-2.0A57Claude Code, Codex
mcore-split-prNVIDIA/skillsSkill3.9ktodayApache-2.0A25Claude Code
git-commit-writermergisi/awesome-openclaw-agentsSkill4.1k3d agoMITA53Claude Code, Codex