Branch: Worktree

Branch: Worktree is a skill for Claude Code from JasonWarrenUK/goblin-mode. It costs 44 tokens per session (3,633 once invoked), scanned A, original, no licence file.

A Git worktree helper for moving a coding session onto a branch in a separate working directory. A worktree lets multiple branches of one repository exist in different directories at the same time.

In plain words
What is it for?
Use it to create or enter a worktree from an existing or new branch, list worktrees, and remove leftover worktrees.
Why use it?
It avoids repeatedly switching the main working directory when you need to work on another branch.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter.

Good fit Use it to create or enter a worktree from an existing or new branch, list worktrees, and remove leftover worktrees.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jasonwarrenuk/goblin-mode/branch-worktree
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 JasonWarrenUK/goblin-mode --skill branch-worktree
Clone the repo
git clone --depth 1 https://github.com/JasonWarrenUK/goblin-mode

Made for: Claude Code.

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 Branch: Worktree

README.md
[![agentmods](https://agentmods.dev/badge/skills/jasonwarrenuk/goblin-mode/branch-worktree/github.svg)](https://agentmods.dev/skills/jasonwarrenuk/goblin-mode/branch-worktree)
Your own site
<a href="https://agentmods.dev/skills/jasonwarrenuk/goblin-mode/branch-worktree"><img src="https://agentmods.dev/badge/skills/jasonwarrenuk/goblin-mode/branch-worktree/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 Branch: Worktree

Your own site · 80×15
<a href="https://agentmods.dev/skills/jasonwarrenuk/goblin-mode/branch-worktree"><img src="https://agentmods.dev/badge/skills/jasonwarrenuk/goblin-mode/branch-worktree.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,633 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 unknown 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.00044 $0.03633
Opus 5.5 $0.00018 $0.01453
Sonnet 5.5 $0.00009 $0.00727
Haiku 4.5 $0.00004 $0.00363

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

Security

Grade A, and why

Branch: Worktree 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 9d 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.

skills/branch-worktree/SKILL.md · 129 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 9d ago Changed fd3a721f2a23
  2. 10d ago Changed b6b9b588615c
  3. 1mo ago Changed · +1 lines 4a18ed81a513
  4. 1mo ago Changed · +1 lines dcb32a1b7b48
  5. 1mo ago Changed · +1 lines 1ca126412506
  6. 1mo ago Changed · +22 lines · +9 tokens per session 45d0b4cd8bbd
  7. 1mo ago First seen · 104 lines · 35 tokens per session scan A 1e06e8ce34d6

Subscribe to this mod's changes

Branch: Worktree is a skill published in the GitHub repository JasonWarrenUK/goblin-mode (7 stars, last pushed yesterday), with no licence file. It adds 44 tokens to every session and 3,633 once invoked, about $0.0002 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-10-03.

Related

Branch: Worktree compared with skills from other repositories

Branch: Worktree next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Branch: WorktreeJasonWarrenUK/goblin-modeSkill7yesterdaynoneA44Claude Code
cloudflare-workers-ci-cdsecondsky/claude-skillsSkill2578d agoMITA50Claude Code
claude-code-bash-patternssecondsky/claude-skillsSkill2578d agoMITB52Claude Code
release-notesDannykkh/skill-olympusSkill96d agoMITA64Claude Code, Codex
shipping-and-launchDannykkh/skill-olympusSkill96d agoMITA74Claude Code, Codex
diff-projectluiseiman/dotforgeSkill826d agoMITA25Claude Code
terminalDojoCodingLabs/code-senseiSkill161mo agoMITA31Claude Code