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
- You are about to start work on a new feature.
- You are about to carry out a written plan.
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
- SKILL.md (6.7 KB)
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
Use when reviewing or rebalancing direct vs. partner-led channel economics - computing fully-loaded cost-to-serve per channel, channel ROI with cash / LTV ...
Code Reviewer
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...
Commercial Forecaster
Use when building a quarterly bookings forecast, ARR projection, pipeline forecast, NRR projection, or commit/best-case/pipe-only board number - especially...
Deal Desk
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...
Git Worktree Manager
Run parallel feature work safely with Git worktrees. Standardizes branch isolation, port allocation, environment sync, and cleanup so each worktree behaves l...
Linkedin Strategy
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...
More by Jesse Vincent: receiving-code-review, subagent-driven-development