branch

branch is a skill for Claude Code from WaterplanAI/agentic-config. It costs 26 tokens per session (513 once invoked), scanned A, a copy of ac-git-branch, MIT.

A Git workflow that creates and checks out a new branch, then creates an associated specification folder and empty backlog file. A Git branch is a separate line of work, while a specification records planned changes.

In plain words
What is it for?
It helps start work on a named feature or task with the required branch, specification directory, and backlog file.
Why use it?
It keeps branch setup and the matching planning files consistent, and stops when the working tree has uncommitted changes or the branch name is missing.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the ac-git plugin — 7 skills shipped together

Good fit It helps start work on a named feature or task with the required branch, specification directory, and backlog file.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add WaterplanAI/agentic-config
Claude Code
/plugin install ac-git

Made for: Claude Code.

Or install ac-git, the plugin that ships this one along with the rest of its 7 skills.

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 branch

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/waterplanai/agentic-config/branch"><img src="https://agentmods.dev/badge/skills/waterplanai/agentic-config/branch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 513 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 91% copy Near-identical to another mod 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.00026 $0.00513
Opus 5.5 $0.00010 $0.00205
Sonnet 5.5 $0.00005 $0.00103
Haiku 4.5 $0.00003 $0.00051

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

Security

Grade A, and why

branch 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 19d 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.

Origin

This is a copy

91% identical to ac-git-branch — 12 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/ac-git/skills/ac-git/branch/SKILL.md · 69 lines

What it actually says

Create Branch with Spec Directory

Create a new git branch and its corresponding spec directory.

Pre-Flight Checks

  1. Verify clean git state:

    • If dirty: STOP and list uncommitted changes
  2. Validate branch name:

    • Must be provided as argument
    • If empty: STOP with "Branch name required"

Execution

  1. Create and checkout branch:

    git checkout -b $ARGUMENTS
    
  2. Resolve and create spec directory:

    # Source spec resolver (plugin-aware)
    source "${CLAUDE_PLUGIN_ROOT}/scripts/spec-resolver.sh"
    
    # Resolve spec path (handles external vs local)
    RELATIVE_PATH="$(date +%Y)/$(date +%m)/$ARGUMENTS/000-backlog.md"
    SPEC_FILE=$(resolve_spec_path "$RELATIVE_PATH")
    SPEC_DIR="${SPEC_FILE%/*}"  # Pure bash dirname equivalent
    
    # Create backlog file
    touch "$SPEC_FILE"
    
    • Path: Auto-resolved based on .env configuration
      • External: .specs/specs/<YYYY>/<MM>/<branch-name>/
      • Local: specs/<YYYY>/<MM>/<branch-name>/
    • Creates 000-backlog.md (empty file)
  3. Commit spec directory:

    # Extract NNN and title for commit_spec_changes
    # For backlog, use "000" and "backlog"
    commit_spec_changes "$SPEC_FILE" "CREATE" "000" "backlog"
    
    • CRITICAL: Must commit BEFORE creating worktree, otherwise spec files are lost
  4. Confirm:

    - Branch: $ARGUMENTS
    - Spec dir: <resolved-path>
    - Backlog: 000-backlog.md (committed)
    

Conditional Documentation

When configuring external specs repository or modifying spec path resolution, read:

  • ${CLAUDE_PLUGIN_ROOT}/scripts/spec-resolver.sh
  • ${CLAUDE_PLUGIN_ROOT}/scripts/external-specs.sh
  • ${CLAUDE_PLUGIN_ROOT}/scripts/lib/config-loader.sh
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. 19d ago First seen · 69 lines · 26 tokens per session scan A b0bbee6a8d95

Subscribe to this mod's changes

branch is a skill published in the GitHub repository WaterplanAI/agentic-config (31 stars, last pushed 20d ago), licensed MIT. It adds 26 tokens to every session and 513 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 91% identical to ac-git-branch, differing in 12 lines, and is treated as a copy.

Related

branch compared with skills from other repositories

branch next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
branchWaterplanAI/agentic-configSkill3120d agoMITA26Claude Code
generate-release-noteshuytieu/COG-second-brainSkill1.6k1mo agoMITA27Claude Code
share-a-libraryMoizIbnYousaf/Ai-Agent-SkillsSkill1.2k2mo agoMITA41Claude Code, Codex
git-flow-prsoulcodex/agenticSkill1011d agoMITA103Claude Code, Codex
new-gh-issue-orchestrationsoulcodex/agenticSkill1011d agoMITA54Claude Code, Codex
git-worktree-workspacessoulcodex/agenticSkill1011d agoMITA58Claude Code, Codex
llm-gaterohitg00/pro-workflowSkill3.0k2mo agononeA38Claude Code