create-branch

create-branch is a skill for Codex from OutlineDriven/odin-claude-plugin. It costs 34 tokens per session (854 once invoked), scanned A, a copy of create-branch, Apache-2.0.

A workflow for creating and switching to a new local Git branch, which is a separate line of development.

In plain words
What is it for?
It helps start isolated work for a feature, fix, chore, documentation change, refactor, or test.
Why use it?
It reduces mistakes by checking the branch name, starting point, and name collisions before changing the working copy.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Part of the odin-git plugin — 46 skills shipped together

Good fit It helps start isolated work for a feature, fix, chore, documentation change, refactor, or test.

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

Made for: Codex.

Or install odin-git, the plugin that ships this one along with the rest of its 46 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 create-branch

README.md
[![agentmods](https://agentmods.dev/badge/skills/outlinedriven/odin-claude-plugin/create-branch.svg)](https://agentmods.dev/skills/outlinedriven/odin-claude-plugin/create-branch)
Your own site
<a href="https://agentmods.dev/skills/outlinedriven/odin-claude-plugin/create-branch"><img src="https://agentmods.dev/badge/skills/outlinedriven/odin-claude-plugin/create-branch.svg" alt="Measured on agentmods" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 854 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 100% 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.00034 $0.00854
Opus 5 $0.00017 $0.00427
Sonnet 5 $0.00007 $0.00171
Haiku 4.5 $0.00003 $0.00085

Measured yesterday against content hash fca3ee86b69c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

create-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 yesterday.

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

100% identical to create-branch — 0 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/odin-git/skills/create-branch/SKILL.md · 40 lines

How it starts

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

Create branch

Contract

Field Bound contract
Trigger User asks to create a new branch or start work on a new branch.
Authority Reversible local: writes only one local git branch and checks it out; rollback is version control. No remote mutation. No force or history mutation.
Side effect Creates a local git branch and moves HEAD onto it; rollback is git switch - plus git branch -d <branch> when the branch has no commits beyond its base.
Done A branch named <type>/<short-description> exists on the correct base with no collisions and HEAD points at it.

Inputs

  • Take the branch type and short description from the user request. The type follows the team convention (commonly feature, fix, chore, docs, refactor, test). The short description is lowercase and hyphen-separated, with no spaces.
  • Base commit, optional. Defaults to the current branch HEAD. The user may name a branch, tag, or commit SHA.

Procedure

  1. Derive <type> and <short-description> from the user request. If either is missing or ambiguous, stop and ask the user to supply both before any mutation. Done when: both type and short-description are derived from the request or the user is asked to supply them.
  2. Compose the branch name as <type>/<short-description>. Done when: the branch name is composed in the <type>/<short-description> format.
  3. Resolve the base. If the user named a base, confirm it resolves with git rev-parse --verify <base>; if it does not resolve, stop. If no base was named, use the current branch HEAD. Done when: the base commit is resolved and verified, or an unresolvable base is reported.
  4. Verify the name does not already exist: git rev-parse --verify <branch> must fail. If it succeeds, stop and report the collision rather than overwriting or suffixing. Done when: the branch name is confirmed not to exist, or a collision is reported.
  5. Inspect the working tree with git status --porcelain. If uncommitted changes are present and the user has not accounted for them, stop and report the changed files so the user can stash, commit, or abort before branching. Done when: the working tree is clean or uncommitted changes are reported for user decision.
  6. Create and switch in one step: git checkout -b <type>/<short-description> <base>. Done when: git rev-parse --abbrev-ref HEAD equals the new branch name and git rev-parse HEAD equals the resolved base commit.

Read the full file on GitHub · 40 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. yesterday Changed · -22 tokens per session fca3ee86b69c
  2. 3d ago First seen · 40 lines · 56 tokens per session scan A 686cf3311cce

Subscribe to this mod's changes

create-branch is a skill published in the GitHub repository OutlineDriven/odin-claude-plugin (35 stars, last pushed today), licensed Apache-2.0. It adds 34 tokens to every session and 854 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to create-branch, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens

babysit-pr

Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep…

openai/codex · 114 tokens