github.split_branch_in_PRs

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

A guide for splitting the changes on a Git branch into several small pull requests, which are proposed code changes for review and merging. It focuses on keeping each request cohesive and easier to review.

In plain words
What is it for?
Use it to inspect differences from the main branch and propose a safe grouping of the current changes into separate pull requests.
Why use it?
It helps reduce review complexity and lower the chance that a large set of changes will break tests or be difficult to merge.

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 differences from the main branch and propose a safe grouping of the current changes into separate pull requests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/causify-ai/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 causify-ai/helpers --skill github.split_branch_in_prs
Clone the repo
git clone --depth 1 https://github.com/causify-ai/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/causify-ai/helpers/github.split_branch_in_prs/github.svg)](https://agentmods.dev/skills/causify-ai/helpers/github.split_branch_in_prs)
Your own site
<a href="https://agentmods.dev/skills/causify-ai/helpers/github.split_branch_in_prs"><img src="https://agentmods.dev/badge/skills/causify-ai/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/causify-ai/helpers/github.split_branch_in_prs"><img src="https://agentmods.dev/badge/skills/causify-ai/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 754 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 pass 7 Sept 2026
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.00013 $0.00754
Opus 5.5 $0.00005 $0.00302
Sonnet 5.5 $0.00003 $0.00151
Haiku 4.5 $0.00001 $0.00075

Measured 2mo ago against content hash 2e5a0d4d0492, 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 2mo 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.

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

How it starts

The opening of the file, as written. The whole thing — 96 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 have the changes to an entire file instead of having to split changes in a file across multiple PRs

  • Make sure that changes to files and their testing files are in the same PR

  • Merge low risk / complexity PRs so that there are fewer PRs even if the content of the resulting PR is the sum of multiple simpler ones

    • In this case, the description is multiple bullets explain what each smaller unit does

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 · 96 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. 2mo ago Changed · +6 lines · -3 tokens per session 2e5a0d4d0492
  2. 3mo ago First seen · 90 lines · 16 tokens per session scan A 252e7eef2794

Subscribe to this mod's changes

github.split_branch_in_PRs is a skill published in the GitHub repository causify-ai/helpers (0 stars, last pushed 29d ago), licensed Apache-2.0. It adds 13 tokens to every session and 754 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-08-30.

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_PRscausify-ai/helpersSkill029d agoApache-2.0A13Claude Code
merge-batchdiegosouzapw/OmniRouteSkill91k2d agoMITA46Claude Code
prowler-commitprowler-cloud/prowlerSkill15kyesterdayApache-2.0A44Claude Code, Codex
gh-auth-isolationgithub/gh-awSkill5.7ktodayMITA20Claude Code, Codex
comet-githubrpamis/cometSkill3.3ktodayMITA72Claude Code, Codex
github-skillzeenie-ai/OpenCompanySkill1.1k4d agoMITA51Claude Code
codex-autoresearchleo-lilinxiao/codex-autoresearchSkill3.3k12d agoMITA39Codex