Using git worktrees
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
Using git worktrees
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 obra/superpowers by obra, under the MIT licence.
See ATTRIBUTION.md for the exact source and commit.
How to install
Claude Code · Claude
- Unzip into your personal skills folder (every project) …
unzip using-git-worktrees-1.0.0.zip -d ~/.claude/skills/
- … or into one project, committed with it.
unzip using-git-worktrees-1.0.0.zip -d .claude/skills/
- Claude loads it when a task matches its description. Run it directly with /using-git-worktrees.
From the vendor’s docs: code.claude.com
Claude apps (claude.ai) · Claude
- Turn on code execution: skills need it.
- Open Customize › Skills, choose +, then Create skill › Upload a skill.
- Upload using-git-worktrees-1.0.0.zip as it is: the skill folder is already at the root of the zip.
From the vendor’s docs: support.claude.com
Claude API · Claude
- Upload the zip as a custom skill (POST /v1/skills), then name it in a request’s container.skills.
- Skills run in the code execution tool, with no network access and no package installs.
From the vendor’s docs: platform.claude.com
GLM / Z.ai, through Claude Code · GLM / Z.ai
- Point Claude Code at Z.ai’s Anthropic-compatible endpoint, in the env block of ~/.claude/settings.json:
"env": { "ANTHROPIC_BASE_URL": "https://api.z.ai/api/anthropic", "ANTHROPIC_AUTH_TOKEN": "<your Z.ai API key>" } - Install the skill exactly as for Claude Code:
unzip using-git-worktrees-1.0.0.zip -d ~/.claude/skills/
Claude Code loads skills on your machine, so the skill is offered to GLM the same way. Z.ai does not document skills itself, and how well a GLM model follows one is untested here.
From the vendor’s docs: docs.z.ai, code.claude.com
Versions
- 1.0.0 · 2026-10-29 · 4.4 KB
Imported from obra/superpowers at 2ce8aa15d05b.
sha256 1f0b5cdaaa9e0dbb582f87cf97560f20176d8a7a6d701dcb9638a64b34c2e01c