← Back to Skills Marketplace
2736
Downloads
0
Stars
77
Active Installs
1
Versions
Install in OpenClaw
/install using-git-worktrees
Description
Use when starting feature work that needs isolation from current workspace or before executing implementation plans - creates isolated git worktrees with smart directory selection and safety verification
Usage Guidance
Install only if you want agents to create and prepare git worktrees automatically. For untrusted or sensitive repositories, tell the agent to ask before editing .gitignore, creating commits, installing dependencies, building, or running tests.
Capability Analysis
Type: OpenClaw Skill
Name: using-git-worktrees
Version: 0.1.0
The skill is classified as suspicious due to its broad permissions and automatic execution of high-impact actions. Specifically, the agent is instructed to automatically modify the project's `.gitignore` file and commit the changes if a worktree directory is not ignored, which is a significant modification to the version control system. Additionally, the skill automatically executes dependency installation, build, and test commands (e.g., `npm install`, `pip install -r requirements.txt`, `cargo build`, `npm test`) based on detected project files. While these actions are plausibly needed for setting up a development environment, they involve executing arbitrary code from potentially untrusted project dependencies without explicit user confirmation for each step, posing a supply chain risk. These instructions are found in `SKILL.md`.
Capability Assessment
Purpose & Capability
The core purpose of creating isolated git worktrees is coherent, and the .gitignore check, setup, and baseline tests fit a development-workspace workflow.
Instruction Scope
SKILL.md instructs the agent to add to .gitignore, commit that change, run dependency installs/builds, and run tests automatically; these are disclosed but lack a clear user confirmation gate.
Install Mechanism
The package contains only SKILL.md with no bundled executable scripts, installers, hidden files, or install-time code.
Credentials
Auto-running npm, pip, poetry, cargo, go, and test commands can execute project or dependency code and perform network/filesystem changes, which is high-impact for untrusted repositories.
Persistence & Privilege
The skill creates persistent local git state, including branches/worktrees and potentially an automatic .gitignore commit; there is no credential access, background worker, exfiltration, or destructive behavior.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install using-git-worktrees - After installation, invoke the skill by name or use
/using-git-worktrees - Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
Initial release: 使用 Git 工作树
Metadata
Frequently Asked Questions
What is Using Git Worktrees?
Use when starting feature work that needs isolation from current workspace or before executing implementation plans - creates isolated git worktrees with smart directory selection and safety verification. It is an AI Agent Skill for Claude Code / OpenClaw, with 2736 downloads so far.
How do I install Using Git Worktrees?
Run "/install using-git-worktrees" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Using Git Worktrees free?
Yes, Using Git Worktrees is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Using Git Worktrees support?
Using Git Worktrees is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Using Git Worktrees?
It is built and maintained by zlc000190 (@zlc000190); the current version is v0.1.0.
More Skills