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.
mdr add jasonwarrenuk/goblin-mode/Branch: Worktree@git:20261021.dfa3169Pins 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
mdr add jasonwarrenuk/goblin-mode/Branch: Worktree@sha256:4a18ed81a513c759The 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.
[](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.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261021.dfa3169 latest | 2026-10-21 | dfa3169 | 13,874 B | A | view · diff |
| git:20261021.1f1b838 | 2026-10-21 | 1f1b838 | 13,882 B | A | view · diff |
| git:20261012.685a754 | 2026-10-12 | 685a754 | 13,143 B | A | view · diff |
| git:20261008.c2dff9e | 2026-10-08 | c2dff9e | 12,663 B | A | view · diff |
| git:20261005.0577c89 | 2026-10-05 | 0577c89 | 12,600 B | A | view · diff |
| git:20261005.dcbfe1b | 2026-10-05 | dcbfe1b | 12,552 B | A | view · diff |
| git:20261002.7933588 | 2026-10-02 | 7933588 | 10,190 B | A | view · diff |
| git:20261002.003dc6f | 2026-10-02 | 003dc6f | 10,135 B | A | view · diff |
| git:20261002.d2b2a2c | 2026-10-02 | d2b2a2c | 8,867 B | A | view · diff |
| git:20261002.57dfcee | 2026-10-02 | 57dfcee | 7,623 B | A | view |
Audit of the latest version
- 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
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.