Agent skill

Create Branch

by pellegre in pellegre/libcrafter

Create, rename, check out, or prepare libcrafter branches and worktrees with typed branch names such as feature/slug or fix/slug instead of bare task names.

MITAuto-check passedDevelopment

Install Create Branch

skills CLI
$ npx skills add pellegre/libcrafter --skill create-branch -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install pellegre/libcrafter create-branch --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/pellegre/libcrafter.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/create-branch .claude/skills/create-branch && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
create-branch
GitHub stars
312
Token cost
~412 tokens
SKILL.md length
150 words
Files
1
Skills in repo
6
Repo updated
First seen
Licence
MIT

At a glance

Create, rename, check out, or prepare libcrafter branches and worktrees with typed branch names such as feature/slug or fix/slug instead of bare task names.

  • Tasks that involve Git workflow
  • SKILL.md covers Branch Name Format and Slug Rules
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Tasks that involve Git worktrees

What it does

Create Branch is an agent skill from pellegre/libcrafter. Create, rename, check out, or prepare libcrafter branches and worktrees with typed branch names such as feature/slug or fix/slug instead of bare task names.

Its SKILL.md is about 410 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Git workflow and Git worktrees. The repository describes itself as: A Rust library for constructing, sending, capturing, and decoding network packets. The licence is MIT.

When your agent uses it

  • Tasks that involve Git workflow
  • Tasks that involve Git worktrees

Example prompts

  • “/create-branch”

What it can do on your machine

Read from SKILL.md and the folder at commit f9ef000. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Create Branch loads about 412 tokens when it runs. Until then it costs about 43 tokens; SKILL.md has 150 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~43
When it runs · the whole SKILL.md, loaded when a task matches
~412

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from pellegre/libcrafter at commit f9ef000, republished under its MIT licence (© pellegre). 150 words, ~412 tokens.

Download SKILL.mdSave it as .claude/skills/create-branch/SKILL.md (or your agent's skills folder).
name
create-branch
description
Create, rename, check out, or prepare libcrafter branches and worktrees with typed branch names such as feature/slug or fix/slug instead of bare task names.

Create Branch

Use this skill whenever you create, rename, check out, or prepare a branch or worktree for repository work.

Branch Name Format

Use:

text
kind/short-slug

Allowed kinds:

  • feature: new behavior, capabilities, protocol support, tooling, or planned feature work
  • fix: bug fixes, regressions, correctness issues, reliability fixes
  • docs: documentation-only work
  • test: tests, fixtures, validation harnesses, oracle coverage
  • ci: GitHub Actions, hooks, commit policy, runner setup
  • chore: repository maintenance, dependency hygiene, generated metadata
  • refactor: behavior-preserving restructuring
  • perf: performance improvements
  • release: release preparation and publish plumbing

Slug Rules

Keep slugs lowercase ASCII, hyphen-separated, and specific enough to identify the work. Prefer 2-5 words. Do not use spaces, underscores, uppercase letters, PR numbers, personal names, timestamps, or bare plan names.

Good examples:

text
feature/complete-oracle
fix/normalize-tcp-options
test/oracle-pcap-fixtures
docs/release-checklist
ci/conventional-commit-policy
release/crafter-0-1

Bad examples:

text
complete-oracle
oracle
agent-work
fix stuff
feat_complete_oracle

When a tool proposes a bare plan or task branch such as complete-oracle, convert it to the nearest typed branch, usually feature/complete-oracle for new capability work or fix/<slug> for corrective work.

© pellegre, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/create-branch of pellegre/libcrafter.

Open the folder on GitHubat commit f9ef000

Compare with similar skills

Create Branch next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Create Branch compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Create Branch this skillpellegre/libcrafter312—~412Automated safety check: PassMIT
Finishing a Development Branchobra/superpowers297k5 repos~1.9kAutomated safety check: PassMIT
Git Worktree Cleanuplobehub/lobehub83k—~2.8kAutomated safety check: PassCustom licence
Ccmanager Configkbwo/ccmanager1.3k—~1.5kAutomated safety check: PassMIT
Git Worktree Managermicrosoft/WindowsAppSDK4.7k—~2kAutomated safety check: PassMIT
Codewhale Landing Workflowcodewhale-hq/Codewhale41k—~1.6kAutomated safety check: PassMIT

Similar skills

  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    297k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • Git Worktree Cleanup

    lobehub/lobehub

    Audits stale Git worktrees and branches with a bundled script, classifies each one, and deletes only after you approve the exact candidates.

    83k GitHub stars~2.8k tokensUpdated today
    DevelopmentAuto-check passed
  • Ccmanager Config

    kbwo/ccmanager

    Set up, review, or repair a CCManager config — .ccmanager.json at a git repository root, or the global ~/.config/ccmanager/config.json.

    1.3k GitHub stars~1.5k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Git Worktree Manager

    microsoft/WindowsAppSDK

    Official

    Creates and manages Git worktrees with PowerShell scripts so separate issues and Copilot sessions each get an isolated branch, build and test environment.

    4.7k GitHub stars~2k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Codewhale Landing Workflow

    codewhale-hq/Codewhale

    Decides how verified work should reach main, directly, in a worktree or on an integration branch, while keeping contributor credit and respecting merge gates.

    41k GitHub stars~1.6k tokensUpdated today
    DevelopmentAuto-check passed
  • Git Worktree Isolation

    jnMetaCode/superpowers-zh

    Sets up an isolated workspace before feature work or plan execution, preferring native worktree tools and falling back to git worktree, with instructions in Chinese.

    8.3k GitHub starsUsed in 1 repo~982 tokens
    DevelopmentAuto-check passed

More from pellegre/libcrafter

  • Agent Cargo Publish

    pellegre/libcrafter

    Publish the libcrafter crafter crate to crates.io only after the local release gate, cargo publish dry-run, package summary, ask-tool confirmation, and crates.io/docs.rs verification.

    312 GitHub stars~651 tokensUpdated 5 days ago
    Auto-check passed
  • Commit Changes

    pellegre/libcrafter

    Create, amend, reword, split, squash, or prepare libcrafter commits with the repository's Conventional Commits policy and scoped staging discipline.

    312 GitHub stars~496 tokensUpdated 5 days ago
    Auto-check passed
  • Prepare PR

    pellegre/libcrafter

    Open, update, title, review, or prepare libcrafter pull requests so commits are ready for rebase-and-fast-forward landing and required validation is documented.

    312 GitHub stars~482 tokensUpdated 5 days ago
    Auto-check passed
  • Scratch Work

    pellegre/libcrafter

    Use ignored .scratch workspaces for experiments, disposable prototypes, network probes, hardware exploration, generated code, and any task where the user asks for work that should not be committed…

    312 GitHub stars~669 tokensUpdated 5 days ago
    Auto-check passed
  • Packet Validation

    pellegre/libcrafter

    Add or run deterministic libcrafter packet behavior validation through oracle specs, reference backends, offline checks, pcap checks, probe plans, and artifacts.

    312 GitHub stars~418 tokensUpdated 5 days ago
    Auto-check passed

Categories

Questions about Create Branch

What does Create Branch do?

Create, rename, check out, or prepare libcrafter branches and worktrees with typed branch names such as feature/slug or fix/slug instead of bare task names. Create Branch is an agent skill from pellegre/libcrafter. Create, rename, check out, or prepare libcrafter branches and worktrees with typed branch names such as feature/slug or fix/slug instead of bare task names.

When should I use Create Branch?

Create Branch fits situations like: tasks that involve Git workflow; tasks that involve Git worktrees.

How do I install Create Branch in Claude Code?

Run `npx skills add pellegre/libcrafter --skill create-branch -a claude-code`. Or copy the skill folder (.agents/skills/create-branch in pellegre/libcrafter) into .claude/skills/create-branch in your project. Claude Code loads it when a task matches its description.

How do I install Create Branch in Codex?

Run `npx skills add pellegre/libcrafter --skill create-branch -a codex`. Or copy the skill folder (.agents/skills/create-branch in pellegre/libcrafter) into .agents/skills/create-branch in your project. Codex loads it when a task matches its description.

Can I use Create Branch in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add pellegre/libcrafter --skill create-branch -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/create-branch, .gemini/skills/create-branch, .github/skills/create-branch and .opencode/skills/create-branch in your project.

What does Create Branch need to run?

SKILL.md names no scripts, command-line tools or credentials: Create Branch is instructions for the agent only.

Does Create Branch access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Create Branch safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Create Branch use?

Create Branch is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Create Branch use?

About 412 tokens (SKILL.md is roughly 1.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Create Branch?

Skills that share tags, products or a category with Create Branch: Finishing a Development Branch (obra/superpowers, 297k stars), Git Worktree Cleanup (lobehub/lobehub, 83k stars), Ccmanager Config (kbwo/ccmanager, 1.3k stars) and Git Worktree Manager (microsoft/WindowsAppSDK, 4.7k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Create Branch?

pellegre (a GitHub user) maintains it in pellegre/libcrafter, which has 312 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on October 4, 2026.

Source: pellegre/libcrafter on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.