Branch: Worktree SKILL.md skillA

Branch: Worktree from jasonwarrenuk/goblin-mode is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add jasonwarrenuk/goblin-mode/Branch: Worktree@git:20261021.dfa3169

Pins git:20261021.dfa3169 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
jasonwarrenuk/goblin-mode
Path
skills/branch-worktree/SKILL.md
Versions recorded
10
Latest version
git:20261021.dfa3169, committed Oct 21, 2026
First version recorded
Oct 2, 2026
Size
13,874 bytes
Repository stars
6
License
none declared

Move this session into a new worktree on a given branch (existing, or new from a base), move into a worktree that already exists, or list and prune worktrees and their leftovers.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Branch: Worktree

Three jobs: put this session into a new worktree on the right branch, move it into a worktree that already exists, and clear away worktrees nobody needs. The map of what exists lives in `hud-worktrees`; this skill is where the changes happen.

**The session moves with `EnterWorktree`, never `cd`.** A `cd` changes only the shell. The session's working directory, CLAUDE.md, memory and plan files stay pointed at the old checkout, so every later edit and commit silently targets the wrong tree. Every move into a worktree in this skill is an `EnterWorktree` call with `path`; every move out is `ExitWorktree`.

---

## Step 0: Parse the arguments

`$action` is required and is `new`, `use` or `prune`.

| Call | Meaning |
|---|---|
| `new <existing-branch>` | worktree on a branch that already exists |
| `new <existing-branch> <name>` | the same, with a chosen worktree name |
| `new <new-branch>:<base>` | create `<new-branch>` from `<base>` in a worktree |
| `new <new-branch>:<base> <name>` | the same, with a chosen worktree name |
| `use <target>` | move into a worktree that already exists; `<target>` is its name, its branch or its path (read from `$branch`) |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add jasonwarrenuk/goblin-mode/Branch: Worktree@sha256:4a18ed81a513c759

The line at the top of this page pins the label git:20261021.dfa3169, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_6rmjpgwfw2mbzozv.svg)](https://markdownregistry.com/a/art_6rmjpgwfw2mbzozv)

0 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 10 versions of this file, between Oct 2, 2026 and Oct 21, 2026, about one every 2 days.

versioncommittedcommitsizeaudit
git:20261021.dfa3169 latest2026-10-21 dfa3169 13,874 BA view · diff
git:20261021.1f1b8382026-10-21 1f1b838 13,882 BA view · diff
git:20261012.685a7542026-10-12 685a754 13,143 BA view · diff
git:20261008.c2dff9e2026-10-08 c2dff9e 12,663 BA view · diff
git:20261005.0577c892026-10-05 0577c89 12,600 BA view · diff
git:20261005.dcbfe1b2026-10-05 dcbfe1b 12,552 BA view · diff
git:20261002.79335882026-10-02 7933588 10,190 BA view · diff
git:20261002.003dc6f2026-10-02 003dc6f 10,135 BA view · diff
git:20261002.d2b2a2c2026-10-02 d2b2a2c 8,867 BA view · diff
git:20261002.57dfcee2026-10-02 57dfcee 7,623 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (13874 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

jasonwarrenuk/goblin-mode · 6 stars · license none declared · pushed 2026-11-06 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_6rmjpgwfw2mbzozv
GET https://markdownregistry.com/api/v1/resolve?ref=jasonwarrenuk/goblin-mode/Branch: Worktree
GET https://markdownregistry.com/api/v1/blob/4a18ed81a513c7599801070a91e5ef24ba85358c72a550c9fad75e2dc957d627

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from jasonwarrenuk/goblin-mode

CLAUDE.md CLAUDE.md file
jasonwarrenuk/goblin-mode · CLAUDE.md
git:20261028.c4f5c8a · audit A · 6 stars
Mission Control: Check-in SKILL.md skill
jasonwarrenuk/goblin-mode · marketplace/mission-control/skills/checkin/SKILL.md · Ask every crew session the three check-in questions, wait for the replies, and give the user one list of what they need…
git:20261105.6e59bfd · audit A · 6 stars
Mission Control: Configure SKILL.md skill
jasonwarrenuk/goblin-mode · marketplace/mission-control/skills/configure/SKILL.md · Write or revise a project's .claude/mission-control.json by interview: the shared resources and how to detect them…
git:20261029.5adf15b · audit A · 6 stars
Mission Control: Coordinate SKILL.md skill
jasonwarrenuk/goblin-mode · marketplace/mission-control/skills/coordinate/SKILL.md · How the coordinator session runs a mission-control run after kick-off: collect the briefs, settle the shared…
git:20261105.e143a50 · audit A · 6 stars
Mission Control: Crew SKILL.md skill
jasonwarrenuk/goblin-mode · marketplace/mission-control/skills/crew/SKILL.md · How a crew session works inside a mission-control run: read the brief, answer the five questions, report state changes…
git:20261105.e143a50 · audit A · 6 stars
Mission Control: End SKILL.md skill
jasonwarrenuk/goblin-mode · marketplace/mission-control/skills/end/SKILL.md · Close a run: link the PRs into a stack once they exist, prune each worktree after its session has closed, keep one…
git:20261103.7aa208b · audit A · 6 stars
Mission Control: Kickoff SKILL.md skill
jasonwarrenuk/goblin-mode · marketplace/mission-control/skills/kickoff/SKILL.md · Start a multi-session run from the coordinator session: pick the tasks, create one worktree per task, record the run in…
git:20261105.53ff449 · audit A · 6 stars
Claim SKILL.md skill
jasonwarrenuk/goblin-mode · marketplace/roadmap/skills/claim/SKILL.md · Claim a roadmap task when work on it starts, or release the claim when work stops: asks who is doing it, runs the CLI…
git:20261026.b33aac1 · audit A · 6 stars
Configure SKILL.md skill
jasonwarrenuk/goblin-mode · marketplace/roadmap/skills/configure/SKILL.md · Set or clear a per-phase roadmap option through the CLI, then render the dashboard once so it exists at the new path…
git:20261026.b33aac1 · audit A · 6 stars
Propose SKILL.md skill
jasonwarrenuk/goblin-mode · marketplace/roadmap/skills/create-interview/SKILL.md · Interview the user to turn half-formed ideas into a reviewed batch of roadmap-ready tasks. Read-only…
git:20261027.fcaf612 · audit A · 6 stars
Create SKILL.md skill
jasonwarrenuk/goblin-mode · marketplace/roadmap/skills/create/SKILL.md · Create a project roadmap in the rich phase-array format: roadmaps.json as source of truth plus a PHASE task list and…
git:20261026.b33aac1 · audit A · 6 stars
Dashboard SKILL.md skill
jasonwarrenuk/goblin-mode · marketplace/roadmap/skills/dashboard/SKILL.md · Generate the HTML roadmap dashboard deterministically via roadmap.py render.
git:20261026.b33aac1 · audit A · 6 stars

Every file in jasonwarrenuk/goblin-mode

Browse by kind, by grade A, or by owner.