Fork Worktree

Use when user wants to create new autonomy branch with dedicated worktree for parallel agent workflows

5 stars 2 forksGit & Code Review Plugin marketplace

Install

Claude Code plugin
/plugin marketplace add tilmon-engineering/claude-skills

The repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add tilmon-engineering/claude-skills --skill fork-worktree
Manual install
git clone --depth 1 https://github.com/tilmon-engineering/claude-skills.git /tmp/claude-skills
mkdir -p ~/.claude/skills
cp -r /tmp/claude-skills/plugins/autonomy/skills/fork-worktree ~/.claude/skills/fork-worktree

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Forking Worktree

## Overview

Create new autonomy branch with dedicated worktree for running parallel Claude agents on different branches simultaneously. All worktrees created at repository root level (`.worktrees/autonomy/`), regardless of where command is invoked.

**Core principle:** Worktrees represent branches, not iterations. Multiple iterations happen within same worktree. Worktrees enable parallel exploration with isolated working directories.

## When to Use

Use this skill when:
- User runs `/fork-worktree` command
- User wants to run multiple agents in parallel on different autonomy branches
- User wants isolated working directory for new exploration branch
- User wants to create autonomy branch without disturbing current working directory

**DO NOT use for:**
- Creating branches without worktrees (use fork-iteration instead)
- Creating non-autonomy branches (use git directly)
- Starting iterations (use start-iteration instead)

## Quick Reference

| Step | Action | Tool |
|------|--------|------|
| 1. Parse arguments | Extract iteration (optional) and strategy-name | Manual |
| 2. Detect repository root | Find git root from anywhere (main repo or worktree) | Bash |
| 3. Validate | Check strategy-name, branch, and worktree path availability | Bash |
| 4. Resolve fork point | Find iteration tag or use HEAD | Bash |
| 5. Create worktree | Create branch + worktree at root level | Bash |
Read the full skill on GitHub

Details

Skill name
fork-worktree
Path
plugins/autonomy/skills/fork-worktree/SKILL.md
License
MIT
Repo updated
22 May 2026

FAQ

What does the Fork Worktree skill do?

Use when user wants to create new autonomy branch with dedicated worktree for parallel agent workflows

How do I install the Fork Worktree skill?

Claude Code plugin: /plugin marketplace add tilmon-engineering/claude-skills. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Fork Worktree popular?

It lives in tilmon-engineering/claude-skills, which has 5 GitHub stars and 2 forks.

Related skills

Browse the most popular Claude skills, all git & code review skills, or write your own with the skills generator.