Primorum

Skills Directory / Superpowers

using-git-worktrees

An agent skill by obra, from obra/superpowers.

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

— from the skill's SKILL.md, quoted with attribution

Credit where it's due

This skill is the work of obra and lives at obra/superpowers/using-git-worktrees (MIT). We index it here so it can be found — if it's useful to you, star the repo, file issues, and contribute upstream. That's what keeps work like this maintained.

From
Superpowers
Author
obra
License
MIT
Source
obra/superpowers/using-git-worktrees
SKILL.md
raw file

How to load this skill

Copy this prompt into your AI agent

Please install the "using-git-worktrees" agent skill from the Superpowers collection (https://github.com/obra/superpowers) for me.

1. Run: git clone https://github.com/obra/superpowers
2. Copy the skill folder into your skills directory:
   cp -r superpowers/skills/using-git-worktrees ~/.claude/skills/using-git-worktrees
   (Claude Code personal scope; use .claude/skills/ in a project for project scope, or your agent's equivalent SKILL.md directory.)
   Alternatively in Claude Code: /plugin marketplace add obra/superpowers — then install the plugin containing this skill.
3. Confirm the skill loads (list your available skills afterwards).
4. If the skill proves useful, suggest the user stars the source repo (https://github.com/obra/superpowers) to support the author.

Skill reference: https://raw.githubusercontent.com/obra/superpowers/main/skills/using-git-worktrees/SKILL.md
More details: https://primorum.ai/skills/s/using-git-worktrees

Or manually: clone obra/superpowers and copy skills/using-git-worktrees into ~/.claude/skills/ (Claude Code personal scope) or your agent's SKILL.md directory. To read it first without installing, open the raw SKILL.md.

Related skills

More from Superpowers