worktree SKILL.md skillB

worktree from oprogramadorreal/optimus-claude is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add oprogramadorreal/optimus-claude/worktree@git:20260924.6e7f925

Pins git:20260924.6e7f925 in mdr.lock. Pin the fingerprint instead.

Audit grade
B, 16 of 17 checks passed
Kind
SKILL.md skill
Repository
oprogramadorreal/optimus-claude
Path
skills/worktree/SKILL.md
Versions recorded
8
Latest version
git:20260924.6e7f925, committed Sep 24, 2026
First version recorded
Jun 10, 2026
Size
3,222 bytes
Repository stars
75
License
MIT

Creates a git worktree for isolated parallel development — new branch in a separate directory with project setup and test baseline. Enables multiple Claude Code sessions on different tasks simultaneously. May append .worktrees/ to .gitignore (left unstaged); never commits or pushes. Multi-repo aware. Use when you need to work on something else without disturbing current work.

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

Create a git worktree under `.worktrees/` on a new branch, with project setup and a test baseline. The main workspace stays on its original branch, so each worktree can host an independent Claude Code session.

## Workflow

### 1. Target repo

If `git rev-parse --is-inside-work-tree` does not return `true`, read `$CLAUDE_PLUGIN_ROOT/skills/init/references/multi-repo-detection.md` and apply it. When it returns `true`, resolve the repository root with `git rev-parse --show-toplevel`, including in a linked worktree or subdirectory. In a multi-repo workspace, run all git commands inside the target child repo: use the repo the user specified; if ambiguous, use `AskUserQuestion` — header "Target repo", question "Which repo should the worktree be created for?", one option per repo.

### 2. Detection guard

Read `$CLAUDE_PLUGIN_ROOT/skills/worktree/references/worktree-setup.md` and run its **worktree detection guard**. If already inside a linked worktree, tell the user:

```
Already running inside a worktree (`<worktree-path>`).
To create another worktree, run this skill from the main workspace instead.
```

Then stop — never create nested worktrees.

### 3. Branch
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add oprogramadorreal/optimus-claude/worktree@sha256:285fbaf6b695b72a

The line at the top of this page pins the label git:20260924.6e7f925, 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_4ykc7ri2b2muakyh.svg)](https://markdownregistry.com/a/art_4ykc7ri2b2muakyh)

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

Versions

The registry has recorded 8 versions of this file, between Jun 10, 2026 and Sep 24, 2026, about one every 15 days.

versioncommittedcommitsizeaudit
git:20260924.6e7f925 latest2026-09-24 6e7f925 3,222 BB view · diff
git:20260924.b1ebbdc2026-09-24 b1ebbdc 3,143 BB view · diff
git:20260909.63879c32026-09-09 63879c3 3,085 BB view · diff
git:20260904.cc502162026-09-04 cc50216 2,915 BB view · diff
git:20260717.01e4a142026-07-17 01e4a14 2,894 BB view · diff
git:20260702.8bdf8e72026-07-02 8bdf8e7 5,117 BB view · diff
git:20260701.7dca0f62026-07-01 7dca0f6 4,557 BB view · diff
git:20260610.e10d2b62026-06-10 e10d2b6 4,699 BB view

Audit of the latest version

B  16 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • fail: Frontmatter declares a name
  • pass: Frontmatter block present
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (3222 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

Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.

Source

GitHub

oprogramadorreal/optimus-claude · 75 stars · license MIT · pushed 2026-09-28 · branch master

API

GET https://markdownregistry.com/api/v1/artifacts/art_4ykc7ri2b2muakyh
GET https://markdownregistry.com/api/v1/resolve?ref=oprogramadorreal/optimus-claude/worktree
GET https://markdownregistry.com/api/v1/blob/285fbaf6b695b72ac2009c72e1c8ff3d38d68854e533fc4ac06878d228d00d3a

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 oprogramadorreal/optimus-claude

CLAUDE.md@.claude CLAUDE.md file
oprogramadorreal/optimus-claude · .claude/CLAUDE.md
git:20260924.f62b60d · audit A · 75 stars
AGENTS.md AGENTS.md file
oprogramadorreal/optimus-claude · AGENTS.md
git:20260908.3faa288 · audit A · 75 stars
brainstorm SKILL.md skill
oprogramadorreal/optimus-claude · skills/brainstorm/SKILL.md · Runs a structured design conversation — clarifies intent, proposes 2-3 approaches with trade-offs, iterates the design…
git:20260924.414aa59 · audit B · 75 stars
code-review SKILL.md skill
oprogramadorreal/optimus-claude · skills/code-review/SKILL.md · Reviews local changes, an open PR/MR, or a branch diff for bugs, security issues, and violations of the project's own…
git:20260924.88d38b6 · audit B · 75 stars
commit SKILL.md skill
oprogramadorreal/optimus-claude · skills/commit/SKILL.md · Stages, commits, and optionally pushes local changes with a Conventional Commits message — always previews and confirms…
git:20260924.009a4c7 · audit B · 75 stars
deep SKILL.md skill
oprogramadorreal/optimus-claude · skills/deep/SKILL.md · Runs an iterative auto-fix loop on a chosen target — review, refactor, or coverage — dispatching the base skill into…
git:20260924.b779cdd · audit B · 75 stars
dream SKILL.md skill
oprogramadorreal/optimus-claude · skills/dream/SKILL.md · Prunes and consolidates the project's auto-memory to keep it minimal — deletes stale, wrong, or redundant memories…
git:20260924.e3c7a16 · audit B · 75 stars
gauntlet SKILL.md skill
oprogramadorreal/optimus-claude · skills/gauntlet/SKILL.md · Runs a Gauntlet Loop: turns an ambitious goal into a builder/critic prompt judged against a concrete quality bar…
git:20260925.7013524 · audit B · 75 stars
handoff SKILL.md skill
oprogramadorreal/optimus-claude · skills/handoff/SKILL.md · Compacts the current conversation into one self-contained, tool-agnostic handoff document at docs/handoffs/<slug>.md so…
git:20260924.3b87324 · audit B · 75 stars
how-to-run SKILL.md skill
oprogramadorreal/optimus-claude · skills/how-to-run/SKILL.md · Generates or updates a project's HOW-TO-RUN.md — one verified document teaching a new developer to set up their…
git:20260924.b74e13d · audit B · 75 stars
init SKILL.md skill
oprogramadorreal/optimus-claude · skills/init/SKILL.md · Bootstraps a project for Claude Code or Codex — generates routed project guidance from detected structure, reconciles…
git:20260928.76d799b · audit B · 75 stars
jira SKILL.md skill
oprogramadorreal/optimus-claude · skills/jira/SKILL.md · Fetches a JIRA issue via a configured MCP server and distills it into a structured task file at docs/jira/<KEY>.md that…
git:20260924.99b54d0 · audit B · 75 stars

Every file in oprogramadorreal/optimus-claude

Other files named worktree

worktree SKILL.md skill
imran31415/kube-coder · .claude/skills/worktree/SKILL.md · Create an isolated git worktree + branch + port for this session so concurrent kube-coder sessions and builds don't…
git:20260926.e57a6cf · audit A · 401 stars
worktree SKILL.md skill
shibing624/agentica · agentica/skills/bundled/worktree/SKILL.md · Isolate parallel work in a git worktree of the current repository (worktree tool: status / new / merge / remove). Use…
v2.1 · audit A · 359 stars
worktree SKILL.md skill
jantichy/claude · skills/worktree/SKILL.md · Skill se použije, když uživatel zadá "/worktree", "/worktree enable", "/worktree disable", "/worktree status", nebo…
git:20261007.55ccadb · audit A · 45 stars
worktree SKILL.md 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 · 40 stars
worktree SKILL.md 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 · 38 stars
worktree SKILL.md skill
byerlikaya/claude-starter-kit · kit/skills/worktree/SKILL.md · Isolate risky or parallel file-mutating work in a git worktree so the main tree's uncommitted changes are…
git:20260926.aaa5dbc · audit A · 26 stars
worktree SKILL.md 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:20260926.aaa5dbc · audit A · 26 stars
worktree SKILL.md skill
ulises-jeremias/agent-toolkit · plugins/agent-toolkit-complete/.github/skills/worktree/SKILL.md · Manage Git worktrees per writer for Agent Toolkit swarms — isolated branches, handoff promotion,
v1.0 · audit A · 19 stars

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