Home / ulises-jeremias / agent-toolkit · plugins/agent-toolkit-complete/.github/skills/worktree/SKILL.md · GitHub

worktree skillA

worktree is agent-read markdown (skill) from ulises-jeremias/agent-toolkit: Manage Git worktrees per writer for Agent Toolkit swarms — isolated branches, handoff promotion,.

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# Worktree

Create and maintain **worktree-per-writer** isolation for `agent-toolkit swarm` so each role works on its own branch without stepping on others. Integrates with `swarm-handoff` promotion and `github-cli-workflow` for PRs.

## When to use

- Swarm needs isolated writes: implementer, reviewer, integrator each own a worktree/branch.
- `worktree_failed` trace or `find_repo_root` error on `.git` file worktrees.
- Before `swarm promote` — ensure the handoff's worktree is clean and pushable.
- Cleanup after a run is promoted or abandoned.

## Prerequisites

- Repo is Git with `git worktree` available (`git worktree --help`).
- Swarm run exists: `.agent-toolkit/swarm/runs/<run-id>/state.json`; worktrees live under `.agent-toolkit/swarm/runs/<run-id>/worktrees/<role>-<short>/`.
- `find_repo_root` uses `git rev-parse --git-common-dir` to handle worktree `.git` files (not directories).

## Workflow

### 1. Inspect current worktrees

```bash
git worktree list
agent-toolkit swarm status --run-id <run-id> --json | jq '.worktrees'
# Expected: {implementer: {path, branch, commit}, reviewer: {path, branch}, ...}
…

Read the whole file at its exact version.

How to install

Latest version
mdr add ulises-jeremias/agent-toolkit/worktree@v1.0
Exact content
mdr add ulises-jeremias/agent-toolkit/worktree@sha256:7303ece6d351b143

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

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

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
v1.0 latest2026-08-31 856ee57 4,256 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, 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 (4256 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

ulises-jeremias/agent-toolkit · 18 stars · license MIT · pushed 2026-09-21 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_qdtpae2kwfmjgcwm
GET https://markdownregistry.com/api/v1/resolve?ref=ulises-jeremias/agent-toolkit/worktree
GET https://markdownregistry.com/api/v1/blob/7303ece6d351b143b6445ff41e5e84b10173d207e4bb8cb98ec829bc2500eece

Your agent 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.

More from ulises-jeremias/agent-toolkit

AGENTS.md agents
ulises-jeremias/agent-toolkit · AGENTS.md
git:20260913.6bf289b · audit A · 18 stars
DESIGN.md@docs/desktop design
ulises-jeremias/agent-toolkit · docs/desktop/DESIGN.md
git:20260913.6bf289b · audit A · 18 stars
AGENTS.md@plugins/agent-toolkit-agents agents
ulises-jeremias/agent-toolkit · plugins/agent-toolkit-agents/AGENTS.md
git:20260831.856ee57 · audit A · 18 stars
adr skill
ulises-jeremias/agent-toolkit · plugins/agent-toolkit-complete/.github/skills/adr/SKILL.md · WHAT — Create and maintain Architecture Decision Records (ADRs) per the process. Covers when
git:20260901.5d17d6a · audit A · 18 stars
agreement skill
ulises-jeremias/agent-toolkit · plugins/agent-toolkit-complete/.github/skills/agreement/SKILL.md · WHAT - Capture explicit agreements, terms, parties involved, dates, validity, and linked
git:20260831.856ee57 · audit A · 18 stars
architecture-diagram skill
ulises-jeremias/agent-toolkit · plugins/agent-toolkit-complete/.github/skills/architecture-diagram/SKILL.md · WHAT — Create polished dark-themed architecture diagrams as self-contained HTML+SVG files (inline SVG, CSS styling…
v1.0.0 · audit B · 18 stars
assistant skill
ulises-jeremias/agent-toolkit · plugins/agent-toolkit-complete/.github/skills/assistant/SKILL.md · Assistant — on any repo, scan README→docs→AGENTS→CONTRIBUTING→PR templates→task runners→devcontainer→CI→configs
v2.1 · audit A · 18 stars
aws-well-architected-review skill
ulises-jeremias/agent-toolkit · plugins/agent-toolkit-complete/.github/skills/aws-well-architected-review/SKILL.md · WHAT — AWS Well-Architected Framework review (6 pillars) — operational excellence, security, reliability, performance…
v1.0 · audit A · 18 stars
blast-radius skill
ulises-jeremias/agent-toolkit · plugins/agent-toolkit-complete/.github/skills/blast-radius/SKILL.md · Find what a change could break somewhere else before it ships, beyond the diff, and prove the one fact it's safe…
git:20260831.856ee57 · audit A · 18 stars
bug skill
ulises-jeremias/agent-toolkit · plugins/agent-toolkit-complete/.github/skills/bug/SKILL.md · WHAT - Draft and review bugs using the Bug Template; classifies whether an issue should be
git:20260831.856ee57 · audit A · 18 stars
c4-model skill
ulises-jeremias/agent-toolkit · plugins/agent-toolkit-complete/.github/skills/c4-model/SKILL.md · WHAT — C4 model methodology (Context, Container, Component, Code) guidance — what to draw at each level, when, and how…
v1.0 · audit A · 18 stars
chrome-devtools skill
ulises-jeremias/agent-toolkit · plugins/agent-toolkit-complete/.github/skills/chrome-devtools/SKILL.md · Use Chrome DevTools MCP to control and inspect a live Chrome instance for network, console, performance, rendering, and…
git:20260831.856ee57 · audit B · 18 stars

Every file in ulises-jeremias/agent-toolkit

Other files named worktree

worktree skill
oprogramadorreal/optimus-claude · skills/worktree/SKILL.md · Creates a git worktree for isolated parallel development — new branch in a separate directory with project setup and…
git:20260909.63879c3 · audit B · 75 stars
worktree skill
jantichy/claude · skills/worktree/SKILL.md · Skill se použije, když uživatel zadá "/worktree", "/worktree enable", "/worktree disable", "/worktree status", nebo…
git:20260921.3a052ae · audit A · 38 stars
worktree skill
outlinedriven/odin-claude-plugin · plugins/odin-git/skills/worktree/SKILL.md · Use when work needs an isolated git worktree: new work, an existing ref, a gated feature workspace, a manifest-tracked…
git:20260912.eaa5f2e · audit A · 38 stars
worktree skill
hidorakai002/ai-workspace-archive · ai_agent_frameworks/major_frameworks/AutoGPT/.claude/skills/worktree/SKILL.md · Set up a new git worktree for parallel development. Creates the worktree, copies .env files, installs dependencies, and…
v3.0.0 · audit A · 36 stars
worktree skill
byerlikaya/claude-starter-kit · claude-starter/skills/worktree/SKILL.md · Isolate risky or parallel file-mutating work in a git worktree so the main tree's uncommitted changes are…
git:20260730.0bf7183 · audit A · 24 stars
worktree skill
byerlikaya/claude-starter-kit · plugin/skills/worktree/SKILL.md · Isolate risky or parallel file-mutating work in a git worktree so the main tree's uncommitted changes are…
git:20260730.0bf7183 · audit A · 24 stars
worktree skill
allagentsdev/allagents · plugins/engineering/skills/worktree/SKILL.md · Creates and removes isolated Git worktrees under a consistent repository sibling directory. Use when starting feature…
git:20260825.67d929b · audit A · 12 stars
worktree skill
entityprocess/allagents · plugins/engineering/skills/worktree/SKILL.md · Creates and removes isolated Git worktrees under a consistent repository sibling directory. Use when starting feature…
git:20260825.67d929b · audit A · 12 stars

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