Skip to content
Agent Skill · Development workflow

Using Git Worktrees Agent Skill

The Superpowers using-git-worktrees skill makes sure feature work happens in an isolated workspace, using native tools or a git worktree fallback.

obra/superpowersusing-git-worktrees
Summary

What the Using Git Worktrees skill does

using-git-worktrees checks whether the agent is already in an isolated workspace and, if not, creates one, preferring the agent's native worktree tools and falling back to git worktree.

It then runs project setup for common stacks such as Node.js, Rust, and Python so the new workspace is ready to build.

“Ensures an isolated workspace exists via native tools or git worktree fallback.”

When to use it

When this skill fits

  • You are starting feature work and do not want it mixed with changes in your main checkout.
  • You are about to execute an implementation plan and want a clean place to do it.
Install

How to install using-git-worktrees in Claude Code

Commands come from the obra/superpowers README. Restart Claude Code if a newly copied skill does not show up.

  1. Install Superpowers from the official marketplace. Superpowers is listed in Anthropic's official Claude Code plugin marketplace. The plugin installs the whole Superpowers set, including this skill.
    Claude Code
    /plugin install superpowers@claude-plugins-official
  2. Or use the Superpowers marketplace. The project also runs its own marketplace with Superpowers and related plugins.
    Claude Code
    /plugin marketplace add obra/superpowers-marketplace
    /plugin install superpowers@superpowers-marketplace
  3. Or copy the folder by hand. Claude Code loads personal skills from ~/.claude/skills/<name>/ and project skills from .claude/skills/<name>/ in your repository. Clone the repository and copy the using-git-worktrees folder into either location, keeping SKILL.md and any bundled files together.
    Terminal
    git clone https://github.com/obra/superpowers.git
    mkdir -p ~/.claude/skills && cp -r superpowers/skills/using-git-worktrees ~/.claude/skills/using-git-worktrees
Source

Source and license

Repository
obra/superpowers by Jesse Vincent (obra)
Last checked
Pair with MCP servers

Related MCP servers

The skill tells the agent how to do the work. These MCP server guides cover the tools and data it can reach while doing it.

All servers
FAQ

Using Git Worktrees skill questions

What does the Using Git Worktrees skill do?

using-git-worktrees checks whether the agent is already in an isolated workspace and, if not, creates one, preferring the agent's native worktree tools and falling back to git worktree.

How do I install the Using Git Worktrees skill in Claude Code?

Install the Superpowers plugin with /plugin install superpowers@claude-plugins-official, which includes using-git-worktrees and the rest of the set. You can also copy the using-git-worktrees folder into ~/.claude/skills/ or a project's .claude/skills/ directory.

What license is the Using Git Worktrees skill under?

The obra/superpowers repository is released under the MIT license by Jesse Vincent (obra). Read the LICENSE file for the full text.

Is the Using Git Worktrees skill an MCP server?

No. A skill is a folder of instructions and optional scripts that the agent reads into its own context when a task calls for it. An MCP server is a separate program that gives the agent tools and data over the Model Context Protocol. The two work well together: the skill describes how to do the job, and MCP servers reach the systems involved. See matching MCP servers.

Keep exploring

More skills from obra/superpowers

All skills