Using Git Worktrees
farm-fe/farm
A skill your agent uses 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…
A skill your agent uses when creating an isolated git worktree from the current branch for parallel development and only a build/compile check is required (no tests)
$ npx skills add hashgraph-online/awesome-codex-plugins --skill using-git-worktrees-lite -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install hashgraph-online/awesome-codex-plugins using-git-worktrees-lite --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/hashgraph-online/awesome-codex-plugins.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/yyykf/spellbook-skills/skills/using-git-worktrees-lite .claude/skills/using-git-worktrees-lite && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "using-git-worktrees-lite" agent skill from https://github.com/hashgraph-online/awesome-codex-plugins/tree/main/plugins/yyykf/spellbook-skills/skills/using-git-worktrees-lite into .claude/skills/using-git-worktrees-lite/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "using-git-worktrees-lite", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/hashgraph-online/awesome-codex-plugins/tree/main/plugins/yyykf/spellbook-skills/skills/using-git-worktrees-liteType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add hashgraph-online/awesome-codex-plugins --skill using-git-worktrees-lite -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install hashgraph-online/awesome-codex-plugins using-git-worktrees-lite --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/hashgraph-online/awesome-codex-plugins.git skills-src && mkdir -p .agents/skills && cp -r skills-src/plugins/yyykf/spellbook-skills/skills/using-git-worktrees-lite .agents/skills/using-git-worktrees-lite && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "using-git-worktrees-lite" agent skill from https://github.com/hashgraph-online/awesome-codex-plugins/tree/main/plugins/yyykf/spellbook-skills/skills/using-git-worktrees-lite into .agents/skills/using-git-worktrees-lite/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "using-git-worktrees-lite", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add hashgraph-online/awesome-codex-plugins --skill using-git-worktrees-lite -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install hashgraph-online/awesome-codex-plugins using-git-worktrees-lite --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/hashgraph-online/awesome-codex-plugins.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/plugins/yyykf/spellbook-skills/skills/using-git-worktrees-lite .cursor/skills/using-git-worktrees-lite && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "using-git-worktrees-lite" agent skill from https://github.com/hashgraph-online/awesome-codex-plugins/tree/main/plugins/yyykf/spellbook-skills/skills/using-git-worktrees-lite into .cursor/skills/using-git-worktrees-lite/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "using-git-worktrees-lite", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/hashgraph-online/awesome-codex-plugins.git --path plugins/yyykf/spellbook-skills/skills/using-git-worktrees-lite--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add hashgraph-online/awesome-codex-plugins --skill using-git-worktrees-lite -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install hashgraph-online/awesome-codex-plugins using-git-worktrees-lite --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/hashgraph-online/awesome-codex-plugins.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/plugins/yyykf/spellbook-skills/skills/using-git-worktrees-lite .gemini/skills/using-git-worktrees-lite && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "using-git-worktrees-lite" agent skill from https://github.com/hashgraph-online/awesome-codex-plugins/tree/main/plugins/yyykf/spellbook-skills/skills/using-git-worktrees-lite into .gemini/skills/using-git-worktrees-lite/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "using-git-worktrees-lite", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install hashgraph-online/awesome-codex-plugins using-git-worktrees-liteInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add hashgraph-online/awesome-codex-plugins --skill using-git-worktrees-lite -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/hashgraph-online/awesome-codex-plugins.git skills-src && mkdir -p .github/skills && cp -r skills-src/plugins/yyykf/spellbook-skills/skills/using-git-worktrees-lite .github/skills/using-git-worktrees-lite && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "using-git-worktrees-lite" agent skill from https://github.com/hashgraph-online/awesome-codex-plugins/tree/main/plugins/yyykf/spellbook-skills/skills/using-git-worktrees-lite into .github/skills/using-git-worktrees-lite/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "using-git-worktrees-lite", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add hashgraph-online/awesome-codex-plugins --skill using-git-worktrees-lite -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install hashgraph-online/awesome-codex-plugins using-git-worktrees-lite --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/hashgraph-online/awesome-codex-plugins.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/plugins/yyykf/spellbook-skills/skills/using-git-worktrees-lite .opencode/skills/using-git-worktrees-lite && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "using-git-worktrees-lite" agent skill from https://github.com/hashgraph-online/awesome-codex-plugins/tree/main/plugins/yyykf/spellbook-skills/skills/using-git-worktrees-lite into .opencode/skills/using-git-worktrees-lite/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "using-git-worktrees-lite", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
using-git-worktrees-liteA skill your agent uses when creating an isolated git worktree from the current branch for parallel development and only a build/compile check is required (no tests)
Using Git Worktrees Lite is an agent skill from hashgraph-online/awesome-codex-plugins. Use when creating an isolated git worktree from the current branch for parallel development and only a build/compile check is required (no tests)
Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Agent Workflows, covering Git worktrees. It works with Git. The repository describes itself as: A curated list of awesome OpenAI Codex / ChatGPT plugins, skills, and resources. The 1 Codex Marketplace. See live plugins at: https://hol.org/plugins/best-codex-plugins. The licence is Apache-2.0.
9 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 16b4156. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
gitnpmFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git and npm, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Using Git Worktrees Lite loads about 1.4k tokens when it runs. Until then it costs about 43 tokens; SKILL.md has 543 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from hashgraph-online/awesome-codex-plugins at commit 16b4156, republished under its Apache-2.0 licence (© hashgraph-online). 543 words, ~1,443 tokens.
.claude/skills/using-git-worktrees-lite/SKILL.md (or your agent's skills folder).Create an isolated worktree from the current branch with a build/compile check instead of running tests.
Core principle: Confirm base branch + safe worktree directory + compile-only verification.
Announce at start: "I'm using the using-git-worktrees-lite skill to set up an isolated workspace."
Worktrees are very sensitive to your current working directory (CWD) when you use relative paths like .worktrees/....
Always capture the repo root and ensure you are operating from there before creating worktrees:
repo_root=$(git rev-parse --show-toplevel)
cd "$repo_root"base_branch=$(git branch --show-current)Confirm with the user that this is the branch to merge back into. Do not assume main or master.
Follow this priority order:
ls -d .worktrees 2>/dev/null
ls -d worktrees 2>/dev/nullIf neither exists, check AGENTS.md for a preferred location. If still unknown, ask the user.
git check-ignore -q .worktrees 2>/dev/null || git check-ignore -q worktrees 2>/dev/nullIf not ignored, add the directory to .gitignore and commit. If you cannot commit now, stop and ask.
Use a naming convention to preserve the base branch in the worktree branch name:
<base-branch>__wt__<worktree-branch>Example:
feature/auth__wt__login# Example: git worktree add .worktrees/feature-auth__wt__login -b feature-auth__wt__login "$base_branch"
git worktree add "$path" -b "$branch_name" "$base_branch"
cd "$path"# Node.js
if [ -f package.json ]; then npm install; fi
# Rust
if [ -f Cargo.toml ]; then cargo fetch; fi
# Python
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
if [ -f pyproject.toml ]; then poetry install; fi
# Go
if [ -f go.mod ]; then go mod download; fi
# Java (Maven)
# No dependency install step needed hereAGENTS.md for project build/compile commands. If present, follow it.# Node.js (requires build script)
if [ -f package.json ]; then npm run -s build; fi
# Rust
if [ -f Cargo.toml ]; then cargo build; fi
# Go
if [ -f go.mod ]; then go build ./...; fi
# Python
if [ -f pyproject.toml ] || [ -f requirements.txt ]; then python -m compileall .; fi
# Java (Maven)
if [ -f pom.xml ]; then mvn -q clean compile; fiIf no build command is available (e.g., no npm build script), ask the user for the correct command.
If the build fails, report the failure and ask whether to proceed or investigate.
Worktree ready at <path>
Base branch: <base-branch>
Build/compile: <result>Unless the user explicitly asks you to stay in the worktree to debug, return to the repo root at the end.
This prevents follow-up commands from accidentally running in the last worktree (and prevents creating nested worktrees due to relative paths).
cd "$repo_root"| Step | Action |
|---|---|
| Base branch | Use current branch, confirm with user |
| Directory | Prefer .worktrees/, then worktrees/, else ask |
| Safety | git check-ignore for project-local directories |
| Build | Follow AGENTS.md or defaults; no tests |
| CWD | Normalize to repo root; return at end |
| Merge | Merge from the base-branch worktree, not the worktree branch |
Assuming main/master as base branch
Skipping ignore verification
git check-ignore before creating worktreeRunning tests instead of compile-only
Skipping build because no obvious command
Merging from the worktree branch directory
Staying in the last worktree directory
cd "$repo_root" after setup/build unless debugging is needed| Excuse | Reality |
|---|---|
| "I'll just merge this into main later" | Base branch is the current branch; confirm it now |
| "Tests are easier than a build" | Lite workflow requires build/compile only |
| "No build command, so I'll skip it" | Ask for the correct build command |
base_branch=$(git branch --show-current)
# Confirm base_branch with user
repo_root=$(git rev-parse --show-toplevel)
cd "$repo_root"
mkdir -p .worktrees
path=.worktrees/feature-x
branch_name=feature-x
git worktree add "$path" -b "$branch_name" "$base_branch"
cd "$path"
npm install
npm run -s build
cd "$repo_root"© hashgraph-online, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in plugins/yyykf/spellbook-skills/skills/using-git-worktrees-lite of hashgraph-online/awesome-codex-plugins.
Open the folder on GitHubat commit 16b4156
Using Git Worktrees Lite next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Using Git Worktrees Lite this skillhashgraph-online/awesome-codex-plugins | 1.2k | — | ~1.4k | Automated safety check: Pass | Apache-2.0 | |
| Using Git Worktreesfarm-fe/farm | 5.6k | 13 repos | ~2k | Automated safety check: Pass | MIT | |
| Agtx Task Sweepfynnfluegge/agtx | 1.7k | — | ~1.7k | Automated safety check: Pass | Apache-2.0 | |
| PRP Workstream OrchestratorWirasm/prp | 2.3k | — | ~3.5k | Automated safety check: Pass | MIT | |
| Squad Agent Collaboration Patternsmicrosoft/waza | 1.4k | 4 repos | ~500 | Automated safety check: Pass | MIT | |
| Vspawnvlinx-io/VelaTerm | 259 | — | ~2.5k | Automated safety check: Pass | MIT |
farm-fe/farm
A skill your agent uses 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…
fynnfluegge/agtx
Breaks a conversation's results into feature-level tasks and pushes them to the agtx kanban board, where each task gets its own worktree and agent session.
Wirasm/prp
Coordinates several PRP workstreams in isolated Git worktrees from one session, verifying proof, holding merge gates and sequencing the merges.
microsoft/waza
Shared collaboration rules for a team of squad agents covering worktree awareness, writing decisions to an inbox, cross-agent requests and reviewer lockout.
vlinx-io/VelaTerm
Explicitly spawn a standalone child session under the current vlx-term session, passing the task in as its first message (mirrors spawntask).
awebai/aweb
Guides decisions for agents working in an aweb team: when to check shared state, claim tasks, take locks, read team roles and instructions, and open separate worktrees.
hashgraph-online/awesome-codex-plugins
Create original anime-style reaction stickers as looping GIFs and MP4 previews, using generated character pose sheets and timed key poses.
hashgraph-online/awesome-codex-plugins
Manage and query Calibre libraries with the calibredb CLI (local paths or Calibre Content server URLs).
hashgraph-online/awesome-codex-plugins
A skill your agent uses when adding, changing, testing, or debugging Rust HTTP APIs and services, especially when Codex needs black-box integration tests, random-port app startup, real database test…
hashgraph-online/awesome-codex-plugins
Make a studio's game look like something at build time — a cover from a real frame of the game (free), painted covers, backdrops, textures and character plates from image models through the…
hashgraph-online/awesome-codex-plugins
Use CALL-E from Codex through the calle CLI. An agent skill from hashgraph-online/awesome-codex-plugins.
hashgraph-online/awesome-codex-plugins
Balance game difficulty, resources, rewards, probability, progression, economies, and dominant strategies.
Works with
Categories
A skill your agent uses when creating an isolated git worktree from the current branch for parallel development and only a build/compile check is required (no tests). Using Git Worktrees Lite is an agent skill from hashgraph-online/awesome-codex-plugins.
Using Git Worktrees Lite fits situations like: creating an isolated git worktree from the current branch for parallel development and only a build/compile check is required (no tests); tasks that involve Git worktrees.
Run `npx skills add hashgraph-online/awesome-codex-plugins --skill using-git-worktrees-lite -a claude-code`. Or copy the skill folder (plugins/yyykf/spellbook-skills/skills/using-git-worktrees-lite in hashgraph-online/awesome-codex-plugins) into .claude/skills/using-git-worktrees-lite in your project. Claude Code loads it when a task matches its description.
Run `npx skills add hashgraph-online/awesome-codex-plugins --skill using-git-worktrees-lite -a codex`. Or copy the skill folder (plugins/yyykf/spellbook-skills/skills/using-git-worktrees-lite in hashgraph-online/awesome-codex-plugins) into .agents/skills/using-git-worktrees-lite in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add hashgraph-online/awesome-codex-plugins --skill using-git-worktrees-lite -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/using-git-worktrees-lite, .gemini/skills/using-git-worktrees-lite, .github/skills/using-git-worktrees-lite and .opencode/skills/using-git-worktrees-lite in your project.
Going by SKILL.md and its folder, Using Git Worktrees Lite needs the command-line tools its instructions call (git and npm). Our summary lists: Python 3; Node.js.
SKILL.md contains no URLs. Its commands use git and npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Using Git Worktrees Lite is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.4k tokens (SKILL.md is roughly 5.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Using Git Worktrees Lite: Using Git Worktrees (farm-fe/farm, 5.6k stars), Agtx Task Sweep (fynnfluegge/agtx, 1.7k stars), PRP Workstream Orchestrator (Wirasm/prp, 2.3k stars) and Squad Agent Collaboration Patterns (microsoft/waza, 1.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
hashgraph-online (a GitHub organization) maintains it in hashgraph-online/awesome-codex-plugins, which has 1,232 GitHub stars. The repository holds 736 skills in this directory. The repository was last updated on October 6, 2026.
Source: hashgraph-online/awesome-codex-plugins on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.