Use when starting feature work that needs isolation from current workspace or before executing implementation plans - creates isolated git worktrees with smart directory selection and safety verification.
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
## Overview
Git worktrees create isolated workspaces sharing the same repository, allowing work on multiple branches simultaneously without switching.
**Core principle:** Systematic directory selection + safety verification = reliable isolation.
**Announce at start:** "I'm using the using-git-worktrees skill to set up an isolated workspace."
## Directory Selection Process
Follow this priority order:
### 1. Check Existing Directories
```bash
# Check in priority order
ls -d .worktrees 2>/dev/null # Preferred (hidden)
ls -d worktrees 2>/dev/null # Alternative
```
**If found:** Use that directory. If both exist, `.worktrees` wins.
### 2. Check CLAUDE.md
```bash
grep_search -i "worktree.*director" CLAUDE.md 2>/dev/null
```
**If preference specified:** Use it without asking.
### 3. Ask User
If no directory exists and no CLAUDE.md preference:
```
No worktree directory found. Where should I create worktrees?
1. .worktrees/ (project-local, hidden)
2. ~/.config/superpowers/worktrees/<project-name>/ (global location)
Which would you prefer?
```
## Safety Verification
### For Project-Local Directories (.worktrees or worktrees)
…
The line at the top of this page pins the label git:20260312.c37221c, 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.
GET https://markdownregistry.com/api/v1/artifacts/art_ym736jjs6bsw77zx
GET https://markdownregistry.com/api/v1/resolve?ref=ibrahim-3d/orchestrator-supaconductor/using-git-worktrees
GET https://markdownregistry.com/api/v1/blob/6f483ed1cadeeb5c1907456c6114ca777c9b673d20348143d7eb7f325f2a92b9
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.
ibrahim-3d/orchestrator-supaconductor · skills/agent-factory/SKILL.md · Creates specialized worker agents dynamically from templates. Use when orchestrator needs to spawn task-specific…
ibrahim-3d/orchestrator-supaconductor · skills/board-of-directors/SKILL.md · Simulate a 5-member expert board deliberation for major decisions. Use when evaluating plans, architecture choices…
ibrahim-3d/orchestrator-supaconductor · skills/brainstorming/SKILL.md · You MUST use this before any creative work - creating features, building components, adding functionality, or modifying…
ibrahim-3d/orchestrator-supaconductor · skills/business-docs-sync/SKILL.md · Use when completing a track that changes pricing, AI models, product features, or asset pipelines — syncs business…
ibrahim-3d/orchestrator-supaconductor · skills/context-driven-development/SKILL.md · Use this skill when working with Conductor's context-driven development methodology, managing project context…
ibrahim-3d/orchestrator-supaconductor · skills/context-loader/SKILL.md · Load project context efficiently for Conductor workflows. Use when starting work on a track, implementing features, or…
ibrahim-3d/orchestrator-supaconductor · skills/dispatching-parallel-agents/SKILL.md · Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies
ibrahim-3d/orchestrator-supaconductor · skills/eval-business-logic/SKILL.md · Specialized business logic evaluator for the Evaluate-Loop. Use this for evaluating tracks that implement core product…
ibrahim-3d/orchestrator-supaconductor · skills/eval-code-quality/SKILL.md · Specialized code quality evaluator for the Evaluate-Loop. Use this for evaluating code implementation tracks where the…
obra/superpowers · skills/using-git-worktrees/SKILL.md · Use when starting feature work that needs isolation from current workspace or before executing implementation plans -…
a5c-ai/babysitter · library/methodologies/superpowers/skills/using-git-worktrees/SKILL.md · Use when starting feature work that needs isolation from current workspace or before executing implementation plans.
ganyuanran/aegis · skills/using-git-worktrees/SKILL.md · Use when a coding task needs a concurrent checkout, unrelated dirty state blocks safe branch switching, or the user or…
coco-research/coco · skills/using-git-worktrees/SKILL.md · Use when starting feature work that needs isolation from current workspace or before executing implementation plans -…
xu123-bob/baize · agent/skills/superpowers/5.1.0/skills/using-git-worktrees/SKILL.md · Use when starting feature work that needs isolation from current workspace or before executing implementation plans -…
jamditis/claude-skills-journalism · superjawn/skills/using-git-worktrees/SKILL.md · Creates isolated git worktrees with smart directory selection and safety checks. Use when starting isolated feature…
ed3dai/ed3d-plugins · plugins/ed3d-plan-and-execute/skills/using-git-worktrees/SKILL.md · Use when starting feature work that needs isolation from current workspace or before executing implementation plans -…