git-branch-create

git-branch-create is a command for Claude Code from kuku0922/awesome-ai-coding-enhance. It costs 33 tokens per session (4,270 once invoked), scanned A, original, MIT.

An interactive command for creating a new branch in GitHub, the code-hosting service built around Git. It helps choose the starting branch, translate Chinese branch names into English, and check for safety issues.

In plain words
What is it for?
Use it when creating feature, bug-fix, or other work branches, especially in teams using Chinese and English branch names.
Why use it?
It reduces mistakes when branching from the wrong place or using an invalid or conflicting branch name. It also warns about protected branches and checks whether the local and remote branches are in sync.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it when creating feature, bug-fix, or other work branches, especially in teams using Chinese and English branch names.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/kuku0922/awesome-ai-coding-enhance/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.

Clone the repo
git clone --depth 1 https://github.com/kuku0922/awesome-ai-coding-enhance

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/kuku0922/awesome-ai-coding-enhance/git-branch-create.svg)](https://agentmods.dev/commands/kuku0922/awesome-ai-coding-enhance/git-branch-create)
Your own site
<a href="https://agentmods.dev/commands/kuku0922/awesome-ai-coding-enhance/git-branch-create"><img src="https://agentmods.dev/badge/commands/kuku0922/awesome-ai-coding-enhance/git-branch-create.svg" alt="Measured on agentmods" height="20"></a>
Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,270 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.00033 $0.04270
Opus 5 $0.00016 $0.02135
Sonnet 5 $0.00007 $0.00854
Haiku 4.5 $0.00003 $0.00427

Measured 7d ago against content hash 57d464786187, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-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 7d 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.

commands/git-branch-create.md · 543 lines

How it starts

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

Claude Command: Enterprise GitHub Branch Creation

🚀 Production-Ready Branch Creation: Interactive workflow with AI-powered translation, intelligent base branch selection, multi-tier safety validation, and comprehensive audit trails. Bilingual support with enterprise-grade error handling and team collaboration features.


🎯 Core Features

1. Interactive Branch Creation

  • Multi-language Input: Support for Chinese and English branch names
  • AI-Powered Translation: Context-aware translation for technical terms
  • Smart Validation: Real-time branch name validation and conflict detection
  • Intuitive Interface: Step-by-step guided workflow

2. Intelligent Base Branch Selection

  • Interactive Branch Browser: Visual branch selection with metadata
  • Protected Branch Warnings: Safety alerts for production branches
  • Activity Indicators: Recent commit information and branch health
  • Remote Sync Status: Automatic remote synchronization check

3. Multi-Tier Safety Modes

  • Quick Mode ⚡: Essential validations for fast operation
  • Standard Mode 🎯: Comprehensive validation (default)
  • Comprehensive Mode 🛡️: Maximum safety with team impact analysis

4. Enterprise Safety Features

  • Repository Validation: Complete repository state analysis
  • Conflict Detection: Advanced merge conflict prediction
  • Team Impact Assessment: Active contributor detection
  • Audit Trail: Complete operation logging for compliance

Usage

# Interactive Mode (Recommended)
/git-branch-create                                    # Full interactive workflow
/git-branch-create --translate                        # Enable translation
/git-branch-create --safe                             # Use comprehensive safety

# Direct Mode with Parameters
/git-branch-create --name "用户认证" --base main --translate
/git-branch-create --name "feature/payment" --no-push --safe
/git-branch-create --name "hotfix/修复" --base production --translate

# Mode Selection
/git-branch-create --mode quick                      # Fast mode with essential safety
/git-branch-create --mode comprehensive --dry-run     # Full analysis preview
/git-branch-create --mode standard                   # Balanced safety (default)

# Enterprise Features
/git-branch-create --safe --no-push                  # Local-only creation with full safety
/git-branch-create --dry-run --mode comprehensive    # Preview with full analysis

Read the full file on GitHub · 543 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. 7d ago First seen · 543 lines · 0 tokens per session scan A 57d464786187

Subscribe to this mod's changes

git-branch-create is a command published in the GitHub repository kuku0922/awesome-ai-coding-enhance (3 stars, last pushed 9mo ago), licensed MIT. It adds 33 tokens to every session and 4,270 once invoked, about $0.0002 per session on Opus 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.