worktree-isolation SKILL.md skillA

worktree-isolation from baphuongna/pi-crew is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add baphuongna/pi-crew/worktree-isolation@git:20260911.c97bc57

Pins git:20260911.c97bc57 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
baphuongna/pi-crew
Path
skills/worktree-isolation/SKILL.md
Versions recorded
5
Latest version
git:20260911.c97bc57, committed Sep 11, 2026
First version recorded
May 14, 2026
Size
7,909 bytes
Repository stars
57
License
MIT

Conflict-safe git worktree workflow. When NOT to use: non-git changes (use direct edit); single-commit patches (use git-master).

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

# worktree-isolation

Use this skill for worktree-based execution or cleanup. Git worktrees create isolated working directories that allow parallel code-changing tasks without git conflicts.

## How Worktrees Work

A git worktree is a separate working directory linked to the same repository. It has its own:
- Working directory (different path)
- HEAD (can be on a different branch)
- Staged/unstaged changes

But it shares:
- Object database (`.git/objects`)
- Refs (branches, tags)

This means creating a worktree is cheap (no clone needed) and fast.

## When to Use Worktrees

**Use worktree mode when:**
- Running parallel implementation workers that modify the same repo
- Isolating risky changes that might need to be discarded
- Running multiple agents on the same codebase simultaneously
- Running a long task that would block other work

**Don't use worktree mode when:**
- The task is read-only (use scaffold mode instead)
- Only one agent needs to work at a time
- The repository has uncommitted changes (must be clean)

## Worktree Lifecycle

### 1. Creation

**Prerequisites:**
- Leader repository must be clean (`git status` empty)
- Sufficient disk space for worktree directory
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add baphuongna/pi-crew/worktree-isolation@sha256:3339799437bddad7

The line at the top of this page pins the label git:20260911.c97bc57, 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_cp55l353mpcfzsz7.svg)](https://markdownregistry.com/a/art_cp55l353mpcfzsz7)

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

Versions

The registry has recorded 5 versions of this file, between May 14, 2026 and Sep 11, 2026, about one every 30 days.

versioncommittedcommitsizeaudit
git:20260911.c97bc57 latest2026-09-11 c97bc57 7,909 BA view · diff
git:20260603.fa30bc02026-06-03 fa30bc0 7,812 BA view · diff
git:20260529.53de3c22026-05-29 53de3c2 7,796 BA view · diff
git:20260528.67ddbec2026-05-28 67ddbec 7,876 BA view · diff
git:20260514.3b168762026-05-14 3b16876 7,150 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 (7909 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

baphuongna/pi-crew · 57 stars · license MIT · pushed 2026-11-06 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_cp55l353mpcfzsz7
GET https://markdownregistry.com/api/v1/resolve?ref=baphuongna/pi-crew/worktree-isolation
GET https://markdownregistry.com/api/v1/blob/3339799437bddad7dc7c5b853728c8c2a81251fae658f06ade80b5baeec8d7cc

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 baphuongna/pi-crew

AGENTS.md AGENTS.md file
baphuongna/pi-crew · AGENTS.md
git:20260910.8ce36f3 · audit A · 57 stars
CLAUDE.md CLAUDE.md file
baphuongna/pi-crew · CLAUDE.md
git:20261019.8ce1fa4 · audit A · 57 stars
async-worker-recovery SKILL.md skill
baphuongna/pi-crew · skills/async-worker-recovery/SKILL.md · Background worker, heartbeat, stale-run, crash-recovery, and deadletter workflow. Use when debugging stuck/dead workers…
git:20260911.c97bc57 · audit A · 57 stars
child-pi-spawning SKILL.md skill
baphuongna/pi-crew · skills/child-pi-spawning/SKILL.md · Child Pi worker spawning, lifecycle callbacks, and failure modes. When NOT to use: non-Pi subprocess execution (use…
git:20260911.c97bc57 · audit A · 57 stars
context-artifact-hygiene SKILL.md skill
baphuongna/pi-crew · skills/context-artifact-hygiene/SKILL.md · Use when constructing worker prompts, reading artifacts/logs, summarizing runs, compacting context, or handing work…
git:20260911.c97bc57 · audit A · 57 stars
council SKILL.md skill
baphuongna/pi-crew · skills/council/SKILL.md · Spawn 3 adversarial subagents (Skeptic, Pragmatist, Critic) to evaluate a decision, architecture choice, or plan…
git:20260911.60e2cb9 · audit A · 57 stars
delegation-patterns SKILL.md skill
baphuongna/pi-crew · skills/delegation-patterns/SKILL.md · Subagent/team delegation workflow. When NOT to use: pure read-only investigation (use read-only-explorer); pre-planning…
git:20261022.2697a16 · audit A · 57 stars
distill-persona SKILL.md skill
baphuongna/pi-crew · skills/distill-persona/SKILL.md · Distill a person's (or field's) thinking into a runnable pi skill — research, extract, validate, generate. REQUIRED —…
git:20260911.c97bc57 · audit A · 57 stars
distill-software SKILL.md skill
baphuongna/pi-crew · skills/distill-software/SKILL.md · Distill software engineering expertise — an engineer's judgment, a codebase's conventions, or a domain's practice — and…
git:20260911.c97bc57 · audit A · 57 stars
event-log-tracing SKILL.md skill
baphuongna/pi-crew · skills/event-log-tracing/SKILL.md · Structured event logging for worker lifecycle, live agents, crash recovery. When NOT to use: high-level metrics…
git:20260911.c97bc57 · audit A · 57 stars
git-master SKILL.md skill
baphuongna/pi-crew · skills/git-master/SKILL.md · Commit and release hygiene for safe version-control work. When NOT to use: experimental branches (use…
git:20260911.c97bc57 · audit A · 57 stars
iterative-audit SKILL.md skill
baphuongna/pi-crew · skills/iterative-audit/SKILL.md · Iterative multi-round codebase audit with diminishing-returns detection. Run 5-20+ rounds, each focusing on one…
git:20260911.c97bc57 · audit A · 57 stars

Every file in baphuongna/pi-crew

Other files named worktree-isolation

worktree-isolation SKILL.md skill
a5c-ai/babysitter · library/methodologies/automaker/skills/worktree-isolation/SKILL.md
git:20260601.da7723a · audit C · 1,896 stars
worktree-isolation SKILL.md skill
a5c-ai/babysitter · library/methodologies/pilot-shell/skills/worktree-isolation/SKILL.md · Git worktree management for safe, isolated feature development. Creates, manages, and cleans up worktrees with branch…
v1.0.0 · audit A · 1,896 stars
worktree-isolation SKILL.md skill
insajin/autopus-adk · .omp/skills/worktree-isolation/SKILL.md · Worktree isolation for parallel agent execution in the pipeline
git:20261017.384439a · audit A · 110 stars
worktree-isolation SKILL.md skill
autopus-ai/autopus-adk · .omp/skills/worktree-isolation/SKILL.md · Worktree isolation for parallel agent execution in the pipeline
git:20261017.384439a · audit A · 110 stars
worktree-isolation SKILL.md skill
ccoalm/ccl-skills · skills/worktree-isolation/SKILL.md · 开工前先在独立 git worktree 里再改代码——**绝不在 main(主检出/main 分支)上开发**,任何迭代/功能/哪怕一行修改都先建分支+worktree(并发只是让这条更刚性,单人单线同样适用);worktree…
git:20261004.5fc0d87 · audit A · 6 stars

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