# create-worktree-skill

> Claude/Codex skill by [@disler](https://omgskills.com/library/disler/index.md) · 1.5k stars · Updated 2026-02-08

Use when the user explicitly asks for a SKILL to create a worktree. If the user does not mention "skill" or explicitly request skill invocation, do NOT trigger this. Only use when user says things like "use a skill to create a worktree" or "invoke the worktree skill". Creates isolated git worktrees with parallel-running configuration.

## Install

```sh
git clone https://github.com/disler/claude-code-hooks-multi-agent-observability /tmp/claude-code-hooks-multi-agent-observability && ln -s /tmp/claude-code-hooks-multi-agent-observability/.claude/skills/create-worktree-skill ~/.claude/skills/create-worktree-skill
```

## From README

Worktree Creator Skill This skill enables creating fully configured git worktrees for parallel development with isolated ports, databases, and configuration. When to use this skill Use this skill when: User asks to create a git worktree User wants to set up parallel development environments User needs to run multiple instances simultaneously User mentions working on multiple branches at once User wants isolated testing environments Instructions Step 1: Understand the request Extract from the user's request: Branch name (required): The git branch to create the worktree from If the branch name is not provided, stop and ask the user to provide a branch name Port offset (optional): Custom port offset (if not provided, auto-calculated) Step 2: Invoke the slash command Use the SlashCommand tool to run: Examples: /createworktreeprompt feature-auth - Creates worktree with auto-calculated ports /createworktreeprompt fix-bug 2 - Creates worktree with port offset 2 (ports 4020, 5193) Step 3...

## Links

- HTML page: https://omgskills.com/library/disler/claude-code-hooks-multi-agent-observability/dot-claude/skills/create-worktree-skill/
- GitHub: https://github.com/disler/claude-code-hooks-multi-agent-observability
- Author: [@disler](https://omgskills.com/library/disler/index.md)

## More from this repo

- [Create New Skills](https://omgskills.com/library/disler/claude-code-hooks-multi-agent-observability/dot-claude/skills/meta-skill/index.md) — Creates new Agent Skills for Claude Code following best practices and documentation.
   - [@disler](https://omgskills.com/library/disler/index.md) · 1.5k stars

## More skills by this author

- [bowser](https://omgskills.com/library/disler/pi-vs-claude-code/dot-pi/skills/bowser/index.md) — Headless browser automation using Playwright CLI.
   - [@disler](https://omgskills.com/library/disler/index.md) · 1.6k stars
- [Damage Control](https://omgskills.com/library/disler/claude-code-damage-control/dot-claude/skills/damage-control/index.md) — Install, configure, and manage the Claude Code Damage Control security hooks system.
   - [@disler](https://omgskills.com/library/disler/index.md) · 478 stars
