Using Git Worktrees Claude Skill

Before Claude starts on a feature, the Using Git Worktrees Claude skill gives it a separate place to work. Your main workspace stays clean.

See all 15 Superpowers skills by Jesse Vincent in obra/superpowers.

What It Does

Use when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback

This quote comes from the skill's SKILL.md.

First, it checks if you are already in a separate workspace. If you are, it does not make another one. If not, it uses your tool's own worktree feature.

It falls back to git worktree only when there is no such feature. It also checks for git submodules, so it does not mistake one for a worktree.

When To Use It

Automated check: PassLicense: MITRepo updated 2026-10-09Git and code review

Install

git clone --depth 1 https://github.com/obra/superpowers.git /tmp/superpowers
mkdir -p ~/.claude/skills/
cp -r /tmp/superpowers/skills/using-git-worktrees ~/.claude/skills/using-git-worktrees

The command copies the skill from the author's repo. SkillTrove does not host it.

Are you new to skills? Read How to Use Claude Skills: Install in Claude Code, claude.ai and Codex or browse the Claude Code skills.

Files

We last checked this skill against its source on 2026-10-13.

Questions

How Do I Install This Skill?

Copy the skills/using-git-worktrees folder from https://github.com/obra/superpowers into your agent's skills folder. For Claude Code that folder is ~/.claude/skills/using-git-worktrees. The install block on this page has the full commands for each agent.

What License Does This Skill Use?

The license listed for this skill is MIT. Read the license in the source repo before you reuse it.

Where Is The Source For This Skill?

The source is on GitHub at https://github.com/obra/superpowers/tree/main/skills/using-git-worktrees. It is part of the obra/superpowers repo.

Related Skills

Channel Economics

alirezarezvani/claude-skills

Use when reviewing or rebalancing direct vs. partner-led channel economics - computing fully-loaded cost-to-serve per channel, channel ROI with cash / LTV ...

Check: PassMITUpdated 2026-08-26

Code Reviewer

alirezarezvani/claude-skills

Code review automation for TypeScript, JavaScript, Python, Go, Swift, Kotlin, C#, .NET, Java, C, C++, Rust, Ruby, PHP, and Dart/Flutter. Analyzes PRs for com...

Check: NotesMITUpdated 2026-08-26

Commercial Forecaster

alirezarezvani/claude-skills

Use when building a quarterly bookings forecast, ARR projection, pipeline forecast, NRR projection, or commit/best-case/pipe-only board number - especially...

Check: PassMITUpdated 2026-08-26

Deal Desk

alirezarezvani/claude-skills

Use when reviewing a specific inbound deal before close - when sales has asked for a discount that exceeds AE authority, when the customer has redlined the...

Check: PassMITUpdated 2026-08-26

Git Worktree Manager

alirezarezvani/claude-skills

Run parallel feature work safely with Git worktrees. Standardizes branch isolation, port allocation, environment sync, and cleanup so each worktree behaves l...

Check: PassMITUpdated 2026-08-26

Linkedin Strategy

alirezarezvani/claude-skills

Use when someone needs a LinkedIn plan rather than a post - content pillars, positioning for a career change or consulting or thought leadership, a sustain...

Check: PassMITUpdated 2026-08-26

More by Jesse Vincent: receiving-code-review, subagent-driven-development

Ad Sponsor this spot. Reach developers who pick skills