Squad Git Branching Workflow
microsoft/waza
Dev-first branching model for the Squad project: feature work branches from dev, issue branches follow a naming rule and parallel issues use git worktrees.
After /start-task: park the current clean, pushed feature branch in its own issue-numbered nested worktree (.worktrees/<issue) and return the primary checkout to current main, so the next parallel…
$ npx skills add foyzulkarim/claude-lens --skill move-to-worktree -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install foyzulkarim/claude-lens move-to-worktree --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/foyzulkarim/claude-lens.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/move-to-worktree .claude/skills/move-to-worktree && 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 "move-to-worktree" agent skill from https://github.com/foyzulkarim/claude-lens/tree/main/.claude/skills/move-to-worktree into .claude/skills/move-to-worktree/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "move-to-worktree", 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/foyzulkarim/claude-lens/tree/main/.claude/skills/move-to-worktreeType 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 foyzulkarim/claude-lens --skill move-to-worktree -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install foyzulkarim/claude-lens move-to-worktree --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/foyzulkarim/claude-lens.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/move-to-worktree .agents/skills/move-to-worktree && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "move-to-worktree" agent skill from https://github.com/foyzulkarim/claude-lens/tree/main/.claude/skills/move-to-worktree into .agents/skills/move-to-worktree/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "move-to-worktree", 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 foyzulkarim/claude-lens --skill move-to-worktree -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install foyzulkarim/claude-lens move-to-worktree --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/foyzulkarim/claude-lens.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/move-to-worktree .cursor/skills/move-to-worktree && 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 "move-to-worktree" agent skill from https://github.com/foyzulkarim/claude-lens/tree/main/.claude/skills/move-to-worktree into .cursor/skills/move-to-worktree/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "move-to-worktree", 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/foyzulkarim/claude-lens.git --path .claude/skills/move-to-worktree--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 foyzulkarim/claude-lens --skill move-to-worktree -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install foyzulkarim/claude-lens move-to-worktree --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/foyzulkarim/claude-lens.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/move-to-worktree .gemini/skills/move-to-worktree && 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 "move-to-worktree" agent skill from https://github.com/foyzulkarim/claude-lens/tree/main/.claude/skills/move-to-worktree into .gemini/skills/move-to-worktree/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "move-to-worktree", 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 foyzulkarim/claude-lens move-to-worktreeInstalls 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 foyzulkarim/claude-lens --skill move-to-worktree -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/foyzulkarim/claude-lens.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/move-to-worktree .github/skills/move-to-worktree && 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 "move-to-worktree" agent skill from https://github.com/foyzulkarim/claude-lens/tree/main/.claude/skills/move-to-worktree into .github/skills/move-to-worktree/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "move-to-worktree", 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 foyzulkarim/claude-lens --skill move-to-worktree -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install foyzulkarim/claude-lens move-to-worktree --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/foyzulkarim/claude-lens.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/move-to-worktree .opencode/skills/move-to-worktree && 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 "move-to-worktree" agent skill from https://github.com/foyzulkarim/claude-lens/tree/main/.claude/skills/move-to-worktree into .opencode/skills/move-to-worktree/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "move-to-worktree", 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.
move-to-worktreeAfter /start-task: park the current clean, pushed feature branch in its own issue-numbered nested worktree (.worktrees/<issue) and return the primary checkout to current main, so the next parallel…
Move To Worktree is an agent skill from foyzulkarim/claude-lens. After /start-task: park the current clean, pushed feature branch in its own issue-numbered nested worktree (.worktrees/<issue) and return the primary checkout to current main, so the next parallel lane can start. Writes the lane's port base and runs npm ci in the worktree. Use when the user says to move the branch or task to a worktree or open a parallel lane.
Its SKILL.md is about 660 tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `move-to-worktree.sh`).
It sits in Development, covering Git worktrees. It works with npm and Git. The repository describes itself as: A local dashboard for visualizing your Claude Code usage — sessions, token costs, cache performance, tool calls, and daily breakdowns. The licence is MIT.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 7937ea1. 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.
Ships script files (Shell), which the agent can run.
Shell commands in SKILL.md call:
npmbashgitFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use npm and git, 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.
Move To Worktree loads about 663 tokens when it runs. Until then it costs about 95 tokens; SKILL.md has 298 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 noted patterns worth knowing about, such as sudo or a known installer.
tes the lane's port block to `<worktree>/.env.local` (gitignored):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 foyzulkarim/claude-lens at commit 7937ea1, republished under its MIT licence (© foyzulkarim). 298 words, ~663 tokens.
.claude/skills/move-to-worktree/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Companion to /start-task for parallel Phase 4 lanes (see
specs/claude-lens-phase4-parallelization.md). /start-task leaves the primary
checkout on the new feature branch; this skill moves that branch into its own
worktree and puts the primary back on main — one worktree + one branch + one
Claude session per in-flight issue.
bash {base_directory}/move-to-worktree.shNo arguments — it operates on the branch currently checked out. The script:
{type}/{issue#}/{slug}), with a clean tree and its matching origin/ upstream set —
i.e. exactly the state /start-task leaves behind.main (this must
happen before the worktree is created — git refuses to check out a branch
in two places).git worktree add .worktrees/<issue#> <branch> — nested inside the repo root
(gitignored), never a ../ sibling. The context file specs/context/<issue#>.md
travels with the branch (it's committed).<worktree>/.env.local (gitignored):
CLAUDE_LENS_PORT_BASE = 4128 + 10 × issue# — backend = base, Vite = base+1,
E2E = base+2, Storybook = base+3. Issue-derived, so lanes cannot collide.npm ci in the worktree (per-worktree node_modules; also wires
the Husky pre-push hook so npm run verify gates pushes from this lane).Non-zero exit → hard-stop, print stderr verbatim.
The script's summary block (worktree path, branch, ports), plus: "Open a new
Claude session in the worktree and continue the pipeline there
(/plan-architecture / /implement → /review → /commit → PR with
Closes #N)."
When the PR has squash-merged, /finish-worktree <issue#> (run back in the
primary) does the teardown.
origin/<branch>.© foyzulkarim, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file in .claude/skills/move-to-worktree of foyzulkarim/claude-lens.
Open the folder on GitHubat commit 7937ea1
Move To Worktree 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 |
|---|---|---|---|---|---|---|
| Move To Worktree this skillfoyzulkarim/claude-lens | 250 | — | ~663 | Automated safety check: Notes | MIT | |
| Squad Git Branching Workflowmicrosoft/waza | 1.4k | 4 repos | ~1.5k | Automated safety check: Pass | MIT | |
| Cabloy Worktree Environmentcabloy/cabloy | 982 | — | ~2.9k | Automated safety check: Notes | MIT | |
| Git PR Workflowandymai/brepjs | 115 | — | ~2.9k | Automated safety check: Pass | Apache-2.0 | |
| Qv PR Testtetherto/qvac | 683 | — | ~4.2k | Automated safety check: Pass | Apache-2.0 | |
| Devcontainer Devstacklok/toolhive-studio | 170 | — | ~3.8k | Automated safety check: Notes | Apache-2.0 |
microsoft/waza
Dev-first branching model for the Squad project: feature work branches from dev, issue branches follow a naming rule and parallel issues use git worktrees.
cabloy/cabloy
This skill must be used only when the user explicitly invokes /cabloy-worktree-environment or explicitly asks to perform the named Cabloy worktree-environment setup.
andymai/brepjs
This skill should be used when committing, pushing, branching, or merging in the brepjs repository — when a task involves "pre-commit hook failed" (which tier ran, how to bypass), "commit rejected…
tetherto/qvac
Plan and run local PR validation for tetherto/qvac PRs. An agent skill from tetherto/qvac.
stacklok/toolhive-studio
Spin up and interact with ToolHive Studio's containerized dev environment (Xvfb + noVNC + DinD).
aaddrick/claude-pipeline
A skill your agent uses when starting feature work that needs isolation from current workspace or before executing implementation plans - creates isolated git worktrees in .worktrees/
foyzulkarim/claude-lens
File GitHub issues for the claude-lens project with the right shape for the work type — plan tasks from specs/claude-lens-plan.md, Phase 4 page tasks, spikes, bugs, enhancements, chores.
foyzulkarim/claude-lens
Retire a closed issue's working artifacts out of specs/ into the GitHub wiki — use when the user asks to archive a finished issue, empty out specs/ for a done task, or move an issue's…
Categories
After /start-task: park the current clean, pushed feature branch in its own issue-numbered nested worktree (.worktrees/<issue) and return the primary checkout to current main, so the next parallel…. Move To Worktree is an agent skill from foyzulkarim/claude-lens.worktrees/<issue) and return the primary checkout to current main, so the next parallel lane can start.
Move To Worktree fits situations like: the user says to move the branch; task to a worktree; open a parallel lane.
Run `npx skills add foyzulkarim/claude-lens --skill move-to-worktree -a claude-code`. Or copy the skill folder (.claude/skills/move-to-worktree in foyzulkarim/claude-lens) into .claude/skills/move-to-worktree in your project. Claude Code loads it when a task matches its description.
Run `npx skills add foyzulkarim/claude-lens --skill move-to-worktree -a codex`. Or copy the skill folder (.claude/skills/move-to-worktree in foyzulkarim/claude-lens) into .agents/skills/move-to-worktree 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 foyzulkarim/claude-lens --skill move-to-worktree -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/move-to-worktree, .gemini/skills/move-to-worktree, .github/skills/move-to-worktree and .opencode/skills/move-to-worktree in your project.
Going by SKILL.md and its folder, Move To Worktree needs a shell for the scripts in its folder and the command-line tools its instructions call (npm, bash and git). Our summary lists: A Bash shell.
SKILL.md contains no URLs. Its commands use npm and git, 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 notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
Move To Worktree is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 663 tokens (SKILL.md is roughly 2.7k 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 Move To Worktree: Squad Git Branching Workflow (microsoft/waza, 1.4k stars), Cabloy Worktree Environment (cabloy/cabloy, 982 stars), Git PR Workflow (andymai/brepjs, 115 stars) and Qv PR Test (tetherto/qvac, 683 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
foyzulkarim (a GitHub user) maintains it in foyzulkarim/claude-lens, which has 250 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on August 5, 2026.
Source: foyzulkarim/claude-lens on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.