create-feature-branch

create-feature-branch is a skill for Claude Code from atman-33/workhub. It costs 86 tokens per session (967 once invoked), scanned A, original, MIT.

A Git command workflow for creating a new feature branch, which is a separate line of development for a code change, from the repository’s main branch.

In plain words
What is it for?
It is for starting feature work with a concise branch name and an up-to-date branch based on main.
Why use it?
It confirms the repository and branch target first, reducing the risk of creating work in the wrong project or from an outdated main branch.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions CLAUDE.md.

Part of the engineering plugin — 10 skills, 1 agent shipped together

Good fit It is for starting feature work with a concise branch name and an up-to-date branch based on main.

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

Made for: Claude Code.

Or install engineering, the plugin that ships this one along with the rest of its 10 skills, 1 agent.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/atman-33/workhub/create-feature-branch"><img src="https://agentmods.dev/badge/skills/atman-33/workhub/create-feature-branch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 86 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 967 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.00086 $0.00967
Opus 5.5 $0.00034 $0.00387
Sonnet 5.5 $0.00017 $0.00193
Haiku 4.5 $0.00009 $0.00097

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

Security

Grade A, and why

create-feature-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 1mo 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.

plugins/engineering/skills/create-feature-branch/SKILL.md · 81 lines

How it starts

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

Create Feature Branch

Create a new branch for the user's next task in the intended repository.

Quick start

  1. Confirm the target repository root unless the calling workflow already resolved it.
  2. Ask what the branch should represent unless the user already gave a clear branch name.
  3. Name it by the rules in Branch name below — by default <type>/<task-id>-<slug>, such as feature/t-0456-battle-core.
  4. Switch into the target repository root with Push-Location / Pop-Location or an equivalent directory stack.
  5. Update the local main branch to the latest state and create the new branch there.

Branch name

Take the first of these that applies:

  1. The repository's own convention — CONTRIBUTING, CLAUDE.md, or a rule file that names a branch format. Follow it as written.
  2. The workflow's own convention — a caller that fixes the name, such as workhub's worktree mode, which works on task/<task-id>. Use that name.
  3. The default below.

The default is <type>/<task-id>-<slug>:

  • <type> is one of four:

    • feature — new behaviour
    • fix — a bug fix
    • docs — documentation only
    • chore — dependency updates, configuration, cleanup

    Never feat: the short Conventional Commits spelling belongs in commit messages, not branch names. Pick the type from what the change is, not from the word the user happened to use.

  • <task-id> is the id of the task this work belongs to, lowercased (T-0456 → t-0456). Take it from the task being worked on — the launch prompt or the task file. With no task, drop it and its hyphen.

  • <slug> is two to four lowercase ASCII words joined by hyphens, saying what the branch does.

Examples:

  • feature/t-0456-battle-core
  • fix/t-0460-billboard-depth
  • docs/t-0457-branch-naming
  • chore/dependency-upgrade — no task

Workflow

  1. Resolve the repository context.
    • If a calling workflow already resolved a repository root or repository id, treat it as binding.
    • If multiple repositories could apply, ask one narrow question before running any git command.
    • Run git rev-parse --show-toplevel in the working directory and stop if it does not match the intended repository.
    • Never rely on the shell's inherited current directory when the repository matters.
  2. Confirm the branch target.
    • If the user gives a description of the work, build the name from it by the rules in Branch name.
    • If the user gives an exact branch name, use it when it matches the convention that applies; otherwise propose the conforming name and say why.
  3. Sync main in the target repository.
    • Use Push-Location / Pop-Location or an equivalent directory stack when switching into the target repository root.
    • Switch to the local main branch in that repository.
    • Update it from the default remote with a non-interactive command.
  4. Create the branch.
    • Create the branch from the updated main branch in the target repository.
    • Switch to the new branch immediately.
  5. Report the result.
    • Tell the user the final branch name.
    • Tell the user which repository root the branch was created in.
    • Surface blockers such as repository mismatches, uncommitted changes, missing remotes, or pull failures instead of guessing.

Read the full file on GitHub · 81 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. 1mo ago Changed · +34 lines · +20 tokens per session ac5a4dd56096
  2. 2mo ago First seen · 47 lines · 66 tokens per session scan A 8047b5522bd8

Subscribe to this mod's changes

create-feature-branch is a skill published in the GitHub repository atman-33/workhub (3 stars, last pushed yesterday), licensed MIT. It adds 86 tokens to every session and 967 once invoked, about $0.0003 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

Other skills, from other repositories

trellis-finish-work

Wrap up the current session: verify quality gate passed, remind user to commit, archive completed tasks, and record session progress to the developer journal. Use when done coding and ready to end the session.

fy-agent/fyagent · 46 tokens

pr-workflow

How to open a pull request that gets reviewed, and how to review one properly. Use when opening, describing, reviewing, updating or merging a PR.

Mikedev115/Aetox · 35 tokens

aetox-deploy

ก่อนปล่อยของและตอนเกิดเหตุ, checklist ก่อน deploy (migration, feature flag, rollback trigger, ยืนยัน CI), incident response (เกณฑ์ SEV1-4, สื่อสารระหว่างเหตุ, เขียน postmortem) และ git workflow ปลอดภัย (แยกงานด้วย worktree, ปิด branch ให้จบสะอาด) ทริกด้วย "จะ deploy", "production ล่ม", "ปิดงานยังไง".

Mikedev115/Aetox · 102 tokens

aetox-finish-branch

ตอนงานบน branch หรือ worktree เสร็จแล้ว และต้องตัดสินว่าจะ merge เปิด PR หรือทิ้งไว้ให้ผู้ใช้จัดการ.

Mikedev115/Aetox · 39 tokens

aetox-verify

ตอนกำลังจะบอกผู้ใช้ว่าสิ่งใดใช้ได้ ผ่าน บิ้วได้ หรือแก้แล้ว ก่อน commit หรือเปิด PR.

Mikedev115/Aetox · 35 tokens

aetox-worktree

ตอนจะเริ่มงานฟีเจอร์ที่ไม่ควรไปยุ่งกับ checkout ปัจจุบันของผู้ใช้ หรือจะรันแผนที่มีหลายคอมมิต.

Mikedev115/Aetox · 45 tokens