nyann:branch

nyann:branch is a command for Claude Code from thettwe/nyann. It costs 64 tokens per session (476 once invoked), scanned A, original, MIT.

A command that creates a new Git branch using the project’s branch-naming rules. A Git branch is a separate line of work, such as a feature, bug fix, release, or hotfix.

In plain words
What is it for?
Use it to create and check out branches for features, bug fixes, releases, and urgent fixes. It does not switch to an existing branch.
Why use it?
It avoids manually choosing branch names and helps keep branches consistent with the active project profile.

Command for Claude Code

Written for Claude Code: arguments in frontmatter. Also seen: mentions Claude Code.

Part of the nyann plugin — 41 skills, 41 commands, 3 hooks shipped together

Good fit Use it to create and check out branches for features, bug fixes, releases, and urgent fixes. It does not switch to an existing branch.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/thettwe/nyann/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.

Clone the repo
git clone --depth 1 https://github.com/thettwe/nyann

Made for: Claude Code.

Or install nyann, the plugin that ships this one along with the rest of its 41 skills, 41 commands, 3 hooks.

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 nyann:branch

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/thettwe/nyann/branch"><img src="https://agentmods.dev/badge/commands/thettwe/nyann/branch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 476 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.00064 $0.00476
Opus 5.5 $0.00026 $0.00190
Sonnet 5.5 $0.00013 $0.00095
Haiku 4.5 $0.00006 $0.00048

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

Security

Grade A, and why

nyann: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 2mo 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.

commands/branch.md · 62 lines

What it actually says

Plugin root: This is a Claude Code plugin, NOT a CLI tool. Do NOT search via which, npm list, pip list, or brew list. This file is at <plugin_root>/commands/. All scripts: <plugin_root>/bin/. Read the matching skills/*/SKILL.md for the full flow.

/nyann:branch

Invokes the new-branch skill (skills/new-branch/SKILL.md).

Positional usage

/nyann:branch feature login
/nyann:branch bugfix checkout-modal
/nyann:branch release 1.2.0
/nyann:branch hotfix auth-header

The skill decides whether the second arg is --slug or --version based on the active profile's branch_name_patterns[<purpose>].

Orchestrator

Under the hood this calls:

bin/new-branch.sh \
  --target <cwd> \
  --profile <active-profile-name> \
  --purpose <purpose> \
  [--slug <slug> | --version <version>] \
  --checkout

Exit-code handling lives in skills/new-branch/SKILL.md.

When not to trigger

  • The repo hasn't been bootstrapped (no active profile) — run /nyann:bootstrap first.
  • The user wanted to switch to an existing branch (git checkout) — that's not this command's job.

See also: /nyann:commit, /nyann:bootstrap, /nyann:doctor.

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. 2mo ago First seen · 62 lines · 64 tokens per session scan A 930556293355

Subscribe to this mod's changes

nyann:branch is a command published in the GitHub repository thettwe/nyann (7 stars, last pushed 6d ago), licensed MIT. It adds 64 tokens to every session and 476 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

nyann:branch compared with commands from other repositories

nyann:branch next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
nyann:branchthettwe/nyannCommand76d agoMITA64Claude Code
genshijin-commitInterfaceX-co-jp/genshijinCommand33126d agoMITA16Claude Code
commitfusengine/agentsCommand3425d agoMITA31Claude Code
fix-pr-commentsfusengine/agentsCommand3425d agoMITA18Claude Code
create-pull-requestfusengine/agentsCommand3425d agoMITA22Claude Code
run-tasksfusengine/agentsCommand3425d agoMITA23Claude Code
amendfusengine/agentsCommand3425d agoMITA20Claude Code