git-branch-create

git-branch-create is a skill for Claude Code, Codex from pivoshenko/pivoshenko.ai. It costs 124 tokens per session (1,009 once invoked), scanned A, original, MIT.

A guide for creating and switching to a new Git branch, a separate line of work for changes such as a feature or bug fix.

In plain words
What is it for?
Use it to start feature, fix, documentation, test, or other work from main, master, or the current branch after checking the working tree.
Why use it?
It avoids accidentally mixing existing uncommitted work with new work and gives branches predictable names and starting points.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to start feature, fix, documentation, test, or other work from main, master, or the current branch after checking the working tree.

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

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-branch-create

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/pivoshenko/pivoshenko.ai/git-branch-create"><img src="https://agentmods.dev/badge/skills/pivoshenko/pivoshenko.ai/git-branch-create.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 124 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,009 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.00124 $0.01009
Opus 5.5 $0.00050 $0.00404
Sonnet 5.5 $0.00025 $0.00202
Haiku 4.5 $0.00012 $0.00101

Measured 8d ago against content hash 5f67da4bafe8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

git-branch-create 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 8d 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-branch-create/SKILL.md · 66 lines

How it starts

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

Git Branch Create

Make + checkout new branch. No confirm.

Flow

  1. User named an issue (#42, "the oauth issue", "start 42") -> stop, this is git-issue-start's flow: it assigns the issue, derives the type from its type: * label, and branches using the naming rules below. Why -> branching from an issue without assigning it leaves the tracker claiming nobody picked the work up
  2. Parallel: git status + git branch --show-current
  3. Dirty tree -> stop. Tell user to stash or commit first. Why -> checkout -b carries staged + unstaged changes into the new branch silently, mixing them with future work
  4. Pick base:
    • Detect, don't assume: git symbolic-ref --short refs/remotes/origin/HEAD -> strip the origin/. Ref missing (never fetched) -> git remote set-head origin -a, re-read. No remote -> main, fall back master. Why -> a repo based on develop or trunk gets branched off the wrong parent otherwise, and the mistake surfaces at PR time as a diff full of other people's commits
    • Base = the detected default branch unless the user explicitly says "off this branch" / "from here" -> then use current. Skip step 4's fetch; go to step 5 "off current" variant. Being on a feature branch alone is not that signal
  5. Exists? git show-ref --verify --quiet refs/heads/<name> -> 0 = stop, surface conflict, no overwrite. Why -> checkout -b errors anyway, but check early so message is clean + no half-state
  6. Create:
    • Off <base> (default): git fetch origin <base> + git checkout -b <name> --no-track origin/<base>. Why --no-track -> otherwise the branch tracks origin/<base>, and a plain git push refuses because the names differ
    • No remote -> git checkout -b <name> <base> (local ref; skip the fetch). Local <base> absent too (unborn repo) -> git checkout -b <name> off HEAD
    • Off current: git checkout -b <name> (no fetch, no remote ref - current HEAD is the base)
  7. Print branch + base

Naming

<type>/<short-kebab-desc> or <type>/<scope>-<short-kebab-desc>.

Read the full file on GitHub · 66 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. 8d ago Changed 5f67da4bafe8
  2. 2mo ago Changed f4c441bb3e4f
  3. 2mo ago Changed · +9 lines · +25 tokens per session 463b5d8a1ea5
  4. 2mo ago Changed · +2 lines f62bbc3754e8
  5. 3mo ago First seen · 55 lines · 99 tokens per session scan A 0faf98d06c32

Subscribe to this mod's changes

git-branch-create is a skill published in the GitHub repository pivoshenko/pivoshenko.ai (7 stars, last pushed 2d ago), licensed MIT. It adds 124 tokens to every session and 1,009 once invoked, about $0.0005 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-branch-create compared with skills from other repositories

git-branch-create next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
git-branch-createpivoshenko/pivoshenko.aiSkill72d agoMITA124Claude Code, Codex
artifactscloudflare/skillsSkill3.5k5d agoApache-2.0A66Claude Code
skill-upstream-prluongnv89/asmSkill976todayMITA56Claude Code
skill-changelogluongnv89/asmSkill976todayMITA53Claude Code
meanest-editorelvisun/newsjackSkill1.7k5d agoMITA33Claude Code
ai-visibility-writingelvisun/newsjackSkill1.7k5d agoMITA137Claude Code
headline-generatorelvisun/newsjackSkill1.7k5d agoMITA88Claude Code