using-git-worktrees SKILL.md skillA
using-git-worktrees from brunob54/superpowers-orchestrator is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add brunob54/superpowers-orchestrator/using-git-worktrees@git:20261005.2e9115aPins git:20261005.2e9115a in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- brunob54/superpowers-orchestrator
- Path
skills/using-git-worktrees/SKILL.md- Versions recorded
- 8
- Latest version
- git:20261005.2e9115a, committed Oct 5, 2026
- First version recorded
- Jan 29, 2026
- Size
- 8,636 bytes
- Repository stars
- 3
- License
- MIT
Use before implementation when work should be isolated from the current branch. Triggers on: "use a worktree", "isolate this work", "don't touch main", experimental or risky changes that need isolation.
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
# Using Git Worktrees Create an isolated branch workspace with safe defaults. ## Required Start Announce: `I'm using the using-git-worktrees skill to set up an isolated workspace.` ## Directory Selection Priority Check in order: ```bash ls -d .worktrees 2>/dev/null # Preferred (hidden) ls -d worktrees 2>/dev/null # Alternative ``` 1. If `.worktrees/` exists — use it. If both exist, `.worktrees/` wins. 2. If `worktrees/` exists — use it. 3. Check project guidance file (e.g. `CLAUDE.md`) for a stated preference: ```bash grep -i "worktree.*director" CLAUDE.md 2>/dev/null ``` 4. Ask user. ## Safety Check For project-local worktree directories, verify ignore rules before creating: ```bash git check-ignore -q .worktrees 2>/dev/null || git check-ignore -q worktrees 2>/dev/null ``` If **not** ignored: 1. Add the appropriate line to `.gitignore`. 2. **Commit the `.gitignore` change immediately** before proceeding — an uncommitted ignore entry is easy to lose and leaves the worktree contents exposed to accidental staging. ## Creation Steps ### 1. Detect project root and branch name ```bash project=$(basename "$(git rev-parse --show-toplevel)") ``` …
Read the whole file at its exact version.
How to install
mdr add brunob54/superpowers-orchestrator/using-git-worktrees@sha256:517a36d203361fe3The line at the top of this page pins the label git:20261005.2e9115a, 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_utlfjgyf5ft3gn2r)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 8 versions of this file, between Jan 29, 2026 and Oct 5, 2026, about one every 35 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261005.2e9115a latest | 2026-10-05 | 2e9115a | 8,636 B | A | view · diff |
| git:20261005.8280e38 | 2026-10-05 | 8280e38 | 8,252 B | A | view · diff |
| git:20261005.2f1fe17 | 2026-10-05 | 2f1fe17 | 5,508 B | A | view · diff |
| git:20260415.0a78a70 | 2026-04-15 | 0a78a70 | 3,053 B | A | view · diff |
| git:20260328.4349b30 | 2026-03-28 | 4349b30 | 1,600 B | A | view · diff |
| git:20260308.cb7adb9 | 2026-03-08 | cb7adb9 | 1,452 B | A | view · diff |
| git:20260305.6364530 | 2026-03-05 | 6364530 | 1,334 B | A | view · diff |
| git:20260129.bb2ff5d | 2026-01-29 | bb2ff5d | 5,635 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 (8636 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
brunob54/superpowers-orchestrator · 3 stars · license MIT · pushed 2026-11-02 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_utlfjgyf5ft3gn2r GET https://markdownregistry.com/api/v1/resolve?ref=brunob54/superpowers-orchestrator/using-git-worktrees GET https://markdownregistry.com/api/v1/blob/517a36d203361fe3bc5e0693fd179fe749e270744137f0d713c85cc113f495dd
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 brunob54/superpowers-orchestrator
Every file in brunob54/superpowers-orchestrator