A specialized skill for creating and managing isolated Git workspaces with automated safety checks and environment setup.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install using-git-worktrees
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install using-git-worktrees using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Using Git Worktrees provides a systematic approach for AI agents to handle multiple development branches simultaneously without the overhead of constant context switching. By utilizing the native Git worktree feature, this skill enables Openclaw Skills to maintain high productivity by isolating feature work, dependency installations, and build artifacts from the main project directory. It ensures that every new task starts from a clean, verified state while preventing accidental repository pollution.
The skill is built on a core principle of systematic directory selection combined with safety verification. Whether working on complex implementation plans or parallel subagent tasks, this tool ensures that the environment is correctly configured, ignored by version control, and ready for immediate development without manual intervention.
To prepare your project for this skill, it is recommended to have a designated worktree directory ignored in your version control. This ensures Openclaw Skills can operate safely.
# Add the preferred worktree directory to your .gitignore
echo ".worktrees/" >> .gitignore
git add .gitignore
git commit -m "chore: add worktrees to gitignore"
# The skill will then handle creation automatically
git worktree add .worktrees/my-new-feature -b my-new-feature
The skill follows a specific hierarchy for directory selection and metadata management to ensure data integrity across Openclaw Skills integrations.
| Priority | Location | Logic |
|---|---|---|
| 1 | .worktrees/ |
Local hidden directory (preferred) |
| 2 | worktrees/ |
Local visible directory (alternative) |
| 3 | CLAUDE.md |
Checks for worktree directory preference |
| 4 | Global Config | ~/.config/superpowers/worktrees/<project>/ |
git check-ignore to protect the main repository.Loading
A high-velocity execution framework that dispatches specialized subagents for independent tasks with automated two-stage reviews.

A specialized skill for triggering automated subagent code reviews to ensure quality and requirement alignment during development.

A structured workflow for finalizing development work, ensuring all tests pass before automating merges or pull request creation.

A sophisticated orchestration pattern for running multiple AI agents concurrently to solve independent technical problems without shared state interference.

A mandatory meta-skill that enforces the invocation of relevant specialized skills before an AI agent takes any action or answers any question.

A rigorous technical protocol that mandates fresh evidence from tests and builds before any work is claimed as finished.








































