github.create_child_pr

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

A workflow for preparing a child pull request from the current Git branch. A child PR is based on another branch so its changes can be reviewed after the parent branch.

In plain words
What is it for?
Use it when splitting related work across dependent branches and documenting how to merge and test the next PR.
Why use it?
It removes the manual work of choosing the next branch name and preparing the merge, commit-message, title, and test instruction files.

Skill for Claude Code

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

Good fit Use it when splitting related work across dependent branches and documenting how to merge and test the next PR.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gpsaggese/helpers/github.create_child_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 gpsaggese/helpers --skill github.create_child_pr
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.create_child_pr

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/gpsaggese/helpers/github.create_child_pr"><img src="https://agentmods.dev/badge/skills/gpsaggese/helpers/github.create_child_pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 11 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,122 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.00011 $0.01122
Opus 5.5 $0.00004 $0.00449
Sonnet 5.5 $0.00002 $0.00224
Haiku 4.5 $0.00001 $0.00112

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

Security

Grade A, and why

github.create_child_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 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.create_child_pr/SKILL.md · 114 lines

How it starts

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

Goal

  • Given the current <SRC> Git branch, write instructions to build a child PR on a new <DST> branch

Workflow

Find the Next Branch Name

  • Find which branch name is next available:
    > i git_branch_next_name
    Found highest number '3' in all branches, next is '4'
    branch_next_name='HelpersTask1273_Get_Mac_tests_to_pass_4'
    

Create the Instructions File

  • Create a file plan-pr_merge.txt with instructions to:
    • Create a <DST> branch (e.g., HelpersTask1273_Get_Mac_tests_to_pass_4)
    • Copy the files needed to merge PR2 from github_PR_plan.md from the current branch to the target branch
    • Create plan-pr_commit_msg.txt with the description of what the PR does
    • Create plan-pr_title.txt with the one line G
    • Create plan-pr_pytest.sh with the tests that check the behavior of the PR
    • Add a comment for each phase, and make sure each command is correct
  • In plan-pr_merge.txt and plan-pr_pytest.sh, state how they were generated, with this comment at the top of each file:
    # Generated by `.claude/skills/github.create_child_pr/SKILL.md`
    

Example

  • Example commands to build a pr_merge.txt:
    > export SRC_BRANCH=HelpersTask1273_Get_Mac_tests_to_pass
    > export DST_BRANCH=HelpersTask1273_Get_Mac_tests_to_pass_6
    
    > git checkout master
    > git pull
    
    > i git_branch_create -b $DST_BRANCH
    > git checkout -b $DST_BRANCH
    
    > cat > pr_commit_msg.txt << 'EOF'
    Unit Test Infrastructure: Purification, Introspection, Numpy, and Base Updates
    
    - Adds new test purification module (hunit_test_purification.py)
    - Updates test infrastructure with new utility functions
    - Improves introspection module for better test support
    - Fixes numpy test compatibility issues
    - Updates base unit test module for macOS compatibility
    - All changes are related to test utilities and infrastructure improvements
    - Well-isolated changes to testing subsystem
    EOF
    
    # Copy the files through branches.
    > helpers_root/dev_scripts_helpers/git/git_sync_between_branches.sh --src_branch $SRC_BRANCH --dst_branch $DST_BRANCH --files "$FILES"
    
    # Copy the files from another dir.
    > export SRC_DIR=/Users/saggese/src/csfy1
    > export DST_DIR=/Users/saggese/src/notes1
    > export SUB_DIR=helpers_root
    > diff_to_vimdiff.py --dir1 $SRC_DIR/$SUB_DIR/ --dir2 ./$SUB_DIR/
    
    > echo "$FILES" | tr ' ' '\n' > /tmp/file_list.txt
    > more /tmp/file_list.txt
    helpers/hunit_test_purification.py
    helpers/test/test_hunit_test_purification.py
    helpers/test/test_hintrospection.py
    helpers/test/test_hnumpy.py
    helpers/test/test_hunit_test.py
    > rsync -avR --files-from=/tmp/file_list.txt $SRC_DIR/$SUB_DIR/ $DST_DIR/$SUB_DIR/
    > rsync -av $SRC_DIR/$SUB_DIR/ $DST_DIR/$SUB_DIR/
    
    > git add $FILES
    > git commit -am pr_commit_msg.txt
    
    > cat > pr_pytest.sh << 'EOF'
    pytest \
        helpers/test/test_hunit_test_purification.py \
        helpers/test/test_hintrospection.py \
        helpers/test/test_hnumpy.py \
        helpers/test/test_hunit_test.py \
        -v
    EOF
    
    > chmod +x pr_pytest.sh
    
    > FILES="helpers/hunit_test_purification.py helpers/test/test_hunit_test_purification.py helpers/test/test_hintrospection.py helpers/test/test_hnumpy.py helpers/test/test_hunit_test.py"
    
    > export CSFY_DOCKER_ENGINE="docker"; i docker_cmd --stage=local -v 1.6.0 --cmd "./pr_pytest.sh 2>&1 | tee build1.txt"
    
    > export CSFY_DOCKER_ENGINE="docker"; ./pr_pytest.sh 2>&1 | tee build2.txt
    
    > export CSFY_DOCKER_ENGINE="apple"; ./pr_pytest.sh 2>&1 | tee build3.txt
    
    > i gh_create_pr --no-draft
    
    > i gh_watch
    
    > pr_pytest.sh
    

Read the full file on GitHub · 114 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 · 114 lines · 11 tokens per session scan A 6d7beb0d06a4

Subscribe to this mod's changes

github.create_child_pr is a skill published in the GitHub repository gpsaggese/helpers (158 stars, last pushed today), licensed Apache-2.0. It adds 11 tokens to every session and 1,122 once invoked, about $0.0000 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.create_child_pr compared with skills from other repositories

github.create_child_pr next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
github.create_child_prgpsaggese/helpersSkill158todayApache-2.0A11Claude 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