Agent skill

New Branch from Main

by EverMind-AI in EverMind-AI/EverOS

Creates a Git branch from an up-to-date main using a type-prefixed, kebab-case name such as feat or fix, and keeps work off main.

Apache-2.0Auto-check passedDevelopment

Install New Branch from Main

skills CLI
$ npx skills add EverMind-AI/EverOS --skill new-branch -a claude-code

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

GitHub CLI
$ gh skill install EverMind-AI/EverOS new-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/EverMind-AI/EverOS.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/new-branch .claude/skills/new-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
new-branch
GitHub stars
13k
Token cost
~273 tokens
SKILL.md length
76 words
Files
1
Skills in repo
5
Repo updated
First seen
Licence
Apache-2.0

At a glance

Creates a Git branch from an up-to-date main using a type-prefixed, kebab-case name such as feat or fix, and keeps work off main.

  • Works in 4 steps: Ask (or infer) the change type: feat,… → Update main first → Create the branch with a kebab-case slug → …
  • Starting work on a new feature or bug fix
  • SKILL.md covers Branch model, Steps and Naming
  • Calls git

What it does

The /new-branch command cuts a new branch for a GitHub repository under a simple branch model: main is the default and protected branch, and work happens on prefixed branches such as feat for features and fix for bug fixes. The agent asks for or infers the change type from feat, fix, docs, ci, chore and refactor.

It then checks out main, pulls with a fast-forward-only update, and creates the branch from a type prefix, a slash and a short slug that is lowercase, hyphen-separated and free of spaces. Examples include feat/add-agentic-rerank and fix/empty-profile-crash. The branch stays scoped to one purpose and goes back to main through a pull request, and the skill states that nothing is ever committed directly to main.

When your agent uses it

  • Starting work on a new feature or bug fix
  • Naming a branch consistently with the project convention
  • Making sure a branch starts from the latest main
  • Preparing changes for a pull request instead of committing to main

Example prompts

  • “Create a branch for fixing the empty profile crash.”
  • “Start a new feature branch for adding rerank support.”
  • “Cut a docs branch for the quickstart config page.”

Requirements

  • git, with a remote main branch to pull from

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Ask (or infer) the change type: feat, fix, docs, ci, chore, or
  2. Update main first
  3. Create the branch with a kebab-case slug
  4. Keep the branch scoped to one purpose and open a pull request back to

What it can do on your machine

Read from SKILL.md and the folder at commit fcd41b5. 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

    Shell commands in SKILL.md call:

    • git

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

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    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

New Branch from Main loads about 273 tokens when it runs. Until then it costs about 20 tokens; SKILL.md has 76 words of instructions outside code blocks.

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

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 EverMind-AI/EverOS at commit fcd41b5, republished under its Apache-2.0 licence (© EverMind-AI). 76 words, ~273 tokens.

Download SKILL.mdSave it as .claude/skills/new-branch/SKILL.md (or your agent's skills folder).
name
new-branch
description
Create a GitHub branch from main with the project naming convention

/new-branch

Cut a new branch for the GitHub repository.

Branch model

main       = default and protected branch
feat/*     = feature work
fix/*      = bug fixes
docs/*     = documentation-only changes
ci/*       = CI, build, and developer-experience changes
chore/*    = repository maintenance
refactor/* = behavior-preserving code structure changes

Steps

  1. Ask (or infer) the change type: feat, fix, docs, ci, chore, or refactor.
  2. Update main first:
    bash
    git checkout main
    git pull --ff-only
  3. Create the branch with a kebab-case slug:
    bash
    git checkout -b <type>/<short-slug>
  4. Keep the branch scoped to one purpose and open a pull request back to main.

Naming

  • feat/add-agentic-rerank, fix/empty-profile-crash, docs/quickstart-config, ci/check-github-docs.
  • Lowercase, hyphen-separated, no spaces, concise.

Never commit directly to main — always use a branch and pull request.

© EverMind-AI, Apache-2.0. 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 .claude/skills/new-branch of EverMind-AI/EverOS.

Open the folder on GitHubat commit fcd41b5

Compare with similar skills

New Branch from Main 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.

New Branch from Main compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
New Branch from Main this skillEverMind-AI/EverOS13k—~273Automated safety check: PassApache-2.0
Contributor-First PR MergeHKUDS/OpenHarness16k1 repos~847Automated safety check: PassMIT
Create Pull Requestcline/cline70k1 repos~1.6kAutomated safety check: PassApache-2.0
Release Bumpjamiepine/voicebox57k—~1.1kAutomated safety check: PassMIT
Create Pull Request with Work Item IDmakeplane/plane61k—~824Automated safety check: PassAGPL-3.0
Creating Description For Gh PRredis/jedis12k—~838Automated safety check: PassMIT

Similar skills

  • Merges external GitHub pull requests while keeping the original author credited, and fixes conflicts after the merge instead of rewriting the contribution.

    16k GitHub starsUsed in 1 repo~847 tokens
    DevelopmentAuto-check passed
  • Opens a GitHub pull request from your current branch with the gh CLI, after reviewing the commits and diff and gathering the details the PR needs.

    70k GitHub starsUsed in 1 repo~1.6k tokens
    DevelopmentAuto-check passed
  • Release Bump

    jamiepine/voicebox

    Ends a release cycle by moving the Unreleased changelog notes under a dated version heading, bumping version files with bumpversion and tagging the commit.

    57k GitHub stars~1.1k tokensUpdated 3 days ago
    DevelopmentAuto-check passed
  • Opens a pull request for the current branch using the repo's template, a work item ID in the title and a description filled in from the actual diff.

    61k GitHub stars~824 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Official

    Generate a clear, concise GitHub PR title and description from the diff between two local git branches, and save it to prDescription.md in the repo root.

    12k GitHub stars~838 tokensUpdated today
    DevelopmentAuto-check passed
  • Pascal Editor PR Opener

    pascalorg/editor

    Opens or refreshes a pull request on pascalorg/editor from the current branch, describing only what the branch's commits and diff actually contain.

    25k GitHub stars~619 tokensUpdated today
    DevelopmentAuto-check passed

More from EverMind-AI/EverOS

  • Add Memory Kind

    EverMind-AI/EverOS

    Walks through adding a new persisted memory kind to EverOS: choose storage among Markdown, SQLite and LanceDB, pick a Markdown strategy, then wire schemas, repos and writers.

    13k GitHub stars~2.6k tokensUpdated today
    Auto-check passed
  • Conventional Commit Writer

    EverMind-AI/EverOS

    Reviews the working tree and creates a focused commit with a Conventional Commits message, staging selectively and never bypassing hooks.

    13k GitHub stars~443 tokensUpdated today
    Auto-check passed
  • EverOS Release Workflow

    EverMind-AI/EverOS

    Walks through cutting a versioned everos release: bump the version, update the changelog, tag it, and review the drafted GitHub Release page before publishing.

    13k GitHub stars~1.3k tokensUpdated today
    Auto-check passed
  • Opens a GitHub pull request against main with the gh CLI, after local checks pass and with the project's PR template filled in honestly.

    13k GitHub stars~350 tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about New Branch from Main

What does New Branch from Main do?

Creates a Git branch from an up-to-date main using a type-prefixed, kebab-case name such as feat or fix, and keeps work off main. The /new-branch command cuts a new branch for a GitHub repository under a simple branch model: main is the default and protected branch, and work happens on prefixed branches such as feat for features and fix for bug fixes. The agent asks for or infers the change type from feat, fix, docs, ci, chore and refactor.

When should I use New Branch from Main?

New Branch from Main fits situations like: starting work on a new feature or bug fix; naming a branch consistently with the project convention; making sure a branch starts from the latest main; preparing changes for a pull request instead of committing to main.

How do I install New Branch from Main in Claude Code?

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

How do I install New Branch from Main in Codex?

Run `npx skills add EverMind-AI/EverOS --skill new-branch -a codex`. Or copy the skill folder (.claude/skills/new-branch in EverMind-AI/EverOS) into .agents/skills/new-branch in your project. Codex loads it when a task matches its description.

Can I use New Branch from Main 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 EverMind-AI/EverOS --skill new-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/new-branch, .gemini/skills/new-branch, .github/skills/new-branch and .opencode/skills/new-branch in your project.

What does New Branch from Main need to run?

Going by SKILL.md and its folder, New Branch from Main needs the command-line tools its instructions call (git). Our summary lists: git, with a remote main branch to pull from.

Does New Branch from Main access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is New Branch from Main 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 New Branch from Main use?

New Branch from Main is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does New Branch from Main use?

About 273 tokens (SKILL.md is roughly 1.1k 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 New Branch from Main?

Skills that share tags, products or a category with New Branch from Main: Contributor-First PR Merge (HKUDS/OpenHarness, 16k stars), Create Pull Request (cline/cline, 70k stars), Release Bump (jamiepine/voicebox, 57k stars) and Create Pull Request with Work Item ID (makeplane/plane, 61k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains New Branch from Main?

EverMind-AI (a GitHub organization) maintains it in EverMind-AI/EverOS, which has 13,393 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on October 10, 2026.

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