Fix Issue
nex-agi/NexRL
Fix a GitHub issue using git worktree for isolation. An agent skill from nex-agi/NexRL.
Manages git worktrees using git-worktree-runner (gtr). An agent skill from dyoshikawa/rulesync.
$ npx skills add dyoshikawa/rulesync --skill git-worktree-runner -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install dyoshikawa/rulesync git-worktree-runner --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/dyoshikawa/rulesync.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.rulesync/skills/git-worktree-runner .claude/skills/git-worktree-runner && 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 "git-worktree-runner" agent skill from https://github.com/dyoshikawa/rulesync/tree/main/.rulesync/skills/git-worktree-runner into .claude/skills/git-worktree-runner/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "git-worktree-runner", 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/dyoshikawa/rulesync/tree/main/.rulesync/skills/git-worktree-runnerType 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 dyoshikawa/rulesync --skill git-worktree-runner -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install dyoshikawa/rulesync git-worktree-runner --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dyoshikawa/rulesync.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.rulesync/skills/git-worktree-runner .agents/skills/git-worktree-runner && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "git-worktree-runner" agent skill from https://github.com/dyoshikawa/rulesync/tree/main/.rulesync/skills/git-worktree-runner into .agents/skills/git-worktree-runner/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "git-worktree-runner", 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 dyoshikawa/rulesync --skill git-worktree-runner -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install dyoshikawa/rulesync git-worktree-runner --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dyoshikawa/rulesync.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.rulesync/skills/git-worktree-runner .cursor/skills/git-worktree-runner && 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 "git-worktree-runner" agent skill from https://github.com/dyoshikawa/rulesync/tree/main/.rulesync/skills/git-worktree-runner into .cursor/skills/git-worktree-runner/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "git-worktree-runner", 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/dyoshikawa/rulesync.git --path .rulesync/skills/git-worktree-runner--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 dyoshikawa/rulesync --skill git-worktree-runner -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install dyoshikawa/rulesync git-worktree-runner --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dyoshikawa/rulesync.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.rulesync/skills/git-worktree-runner .gemini/skills/git-worktree-runner && 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 "git-worktree-runner" agent skill from https://github.com/dyoshikawa/rulesync/tree/main/.rulesync/skills/git-worktree-runner into .gemini/skills/git-worktree-runner/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "git-worktree-runner", 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 dyoshikawa/rulesync git-worktree-runnerInstalls 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 dyoshikawa/rulesync --skill git-worktree-runner -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/dyoshikawa/rulesync.git skills-src && mkdir -p .github/skills && cp -r skills-src/.rulesync/skills/git-worktree-runner .github/skills/git-worktree-runner && 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 "git-worktree-runner" agent skill from https://github.com/dyoshikawa/rulesync/tree/main/.rulesync/skills/git-worktree-runner into .github/skills/git-worktree-runner/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "git-worktree-runner", 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 dyoshikawa/rulesync --skill git-worktree-runner -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install dyoshikawa/rulesync git-worktree-runner --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dyoshikawa/rulesync.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.rulesync/skills/git-worktree-runner .opencode/skills/git-worktree-runner && 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 "git-worktree-runner" agent skill from https://github.com/dyoshikawa/rulesync/tree/main/.rulesync/skills/git-worktree-runner into .opencode/skills/git-worktree-runner/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "git-worktree-runner", 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.
git-worktree-runnerManages git worktrees using git-worktree-runner (gtr). An agent skill from dyoshikawa/rulesync.
Git Worktree Runner is an agent skill from dyoshikawa/rulesync. Manages git worktrees using git-worktree-runner (gtr). Use when the user needs to create, list, remove, or navigate worktrees with git gtr commands, open editors or AI tools in worktrees, manage parallel development branches, or check out GitHub PRs (including from forks) into worktrees.
Its SKILL.md is about 1.3k 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 Development, covering Git worktrees. It works with Git and GitHub. The repository describes itself as: A Utility CLI for AI Coding Agents. The licence is MIT.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 85bcaf6. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
Bash(git-worktree-runner:*)From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
gitghFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git and gh, 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.
Git Worktree Runner loads about 1.3k tokens when it runs. Until then it costs about 78 tokens; SKILL.md has 198 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.
git gtr config add gtr.copy.include "**/.env"git gtr config add gtr.copy.include "**/.env.local"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 dyoshikawa/rulesync at commit 85bcaf6, republished under its MIT licence (© dyoshikawa). 198 words, ~1,292 tokens.
.claude/skills/git-worktree-runner/SKILL.md (or your agent's skills folder).git-worktree-runner (gtr) is a CLI tool that wraps git worktree with quality-of-life features for modern development workflows including editor and AI tool integration.
# Create a new worktree
git gtr new feature-branch
# Create from a remote branch
git gtr new my-branch --from origin/feature-branch
# Open editor in the worktree
git gtr editor feature-branch
# Start AI tool (claude, codex, etc.) in the worktree
git gtr ai feature-branch
# Remove a worktree
git gtr rm feature-branch# Create a new worktree with a new branch
git gtr new feature-name
# Create from a specific ref (remote branch, tag, commit)
git gtr new my-branch --from origin/main
git gtr new hotfix --from v1.2.3
# Create and immediately open in editor
git gtr new feature -e
# Create and immediately start AI tool
git gtr new feature -a
# Create with both editor and AI tool
git gtr new feature -e -a# Open the configured editor for a worktree
git gtr editor feature-branch
# Start configured AI tool in a worktree
git gtr ai feature-branch# Run an arbitrary command in a worktree
git gtr run feature-branch npm test
git gtr run feature-branch pnpm build# Navigate to a worktree directory
cd "$(git gtr go feature-branch)"# List all worktrees
git gtr list
# Remove a worktree
git gtr rm feature-branch
# Rename a worktree
git gtr mv old-name new-name# Set default editor (cursor, vscode, zed, etc.)
git gtr config set gtr.editor.default cursor
# Set default AI tool (claude, codex, opencode, aider, etc.)
git gtr config set gtr.ai.default claude
# Configure files to copy into new worktrees
git gtr config add gtr.copy.include "**/.env"
git gtr config add gtr.copy.include "**/.env.local"
git gtr config add gtr.copy.include "**/.env.example"
# View current configuration
git gtr config list# Create isolated worktrees for parallel AI agents
git gtr new feature-auth --from origin/main
git gtr new feature-api --from origin/main
git gtr new bugfix-login --from origin/main
# Start AI tools in each worktree
git gtr ai feature-auth
git gtr ai feature-api
git gtr ai bugfix-login
# Check status of all worktrees
git gtr list
# Clean up when done
git gtr rm feature-auth
git gtr rm feature-api
git gtr rm bugfix-login# Create a worktree from PR branch
git gtr new review-pr-123 --from origin/pr-branch
# Open in editor to review
git gtr editor review-pr-123
# Run tests in isolation
git gtr run review-pr-123 pnpm test
# Clean up after review
git gtr rm review-pr-123# Current work is on feature-branch, need to do a hotfix
git gtr new hotfix-critical --from origin/main
# Open editor for the hotfix
git gtr new hotfix-critical -e
# After hotfix is done, remove the worktree
git gtr rm hotfix-critical
# Back to feature-branch work without context switchingFor PRs from forked repositories, the branch is not on origin. Use GitHub's refs/pull/<number>/head ref to fetch it.
Given a PR number or URL:
Get PR metadata
gh pr view <PR_NUMBER> --json headRefName,isCrossRepositoryCheck for existing worktree with the same branch name
git worktree listIf it exists, remove it first: git gtr rm <branch>
Fetch the PR ref into a local branch (use --force to handle diverged history from force-pushes)
git fetch origin pull/<PR_NUMBER>/head:<BRANCH_NAME> --forceCreate the worktree with --track local since it's a local-only branch
git gtr new <BRANCH_NAME> --track localVerify
git gtr listgh pr view 1223 --json headRefName,isCrossRepository
git fetch origin pull/1223/head:fix/comprehensive-file-formats-docs --force
git gtr new fix/comprehensive-file-formats-docs --track local
git gtr listgit fetch origin pull/1223/head:pr-1223 --force
git gtr new pr-1223 --track localgit gtr rm <branch> first.--force to the fetch.--force.© dyoshikawa, MIT. 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 .rulesync/skills/git-worktree-runner of dyoshikawa/rulesync.
Open the folder on GitHubat commit 85bcaf6
Git Worktree Runner 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 |
|---|---|---|---|---|---|---|
| Git Worktree Runner this skilldyoshikawa/rulesync | 1.5k | — | ~1.3k | Automated safety check: Notes | MIT | |
| Fix Issuenex-agi/NexRL | 119 | — | ~733 | Automated safety check: Pass | Apache-2.0 | |
| Branch Standup Facilitatorthedotmack/claude-mem | 98k | — | ~1.7k | Automated safety check: Notes | Apache-2.0 | |
| Project Session ManagerYeachan-Heo/oh-my-claudecode | 40k | — | ~4k | Automated safety check: Pass | MIT | |
| Pre-Release PR Triagejamiepine/voicebox | 57k | — | ~3.1k | Automated safety check: Pass | MIT | |
| Ff Worktreesdamus-io/damus | 2.1k | — | ~451 | Automated safety check: Pass | GPL-3.0 |
nex-agi/NexRL
Fix a GitHub issue using git worktree for isolation. An agent skill from nex-agi/NexRL.
thedotmack/claude-mem
Facilitates a read-only standup between git worktrees, branches or PRs, where each acts as an agent in a shared markdown chat to agree one consolidation plan.
Yeachan-Heo/oh-my-claudecode
Creates isolated git worktrees, with optional tmux sessions, for PR reviews, issue fixes and feature work across projects and repositories.
jamiepine/voicebox
Sorts a backlog of open pull requests into must-merge, candidate, superseded and deferred, writes a triage doc and works the merge loop before a release.
damus-io/damus
Fast-forward master and every git worktree branch up to a target ref (default github/master), skipping any worktree with unmerged commits.
jtenniswood/espcontrol
Clean up completed Git branches and worktrees for this repository both locally and on GitHub.
dyoshikawa/rulesync
Maps rulesync feature implementations to upstream coding-agent documentation.
dyoshikawa/rulesync
Babysit a Dependabot dependency-bump PR all the way to merge: verify the author is the genuine Dependabot bot, diagnose and resolve any CI failure (excluding or fixing a breaking bump when needed)…
dyoshikawa/rulesync
Commit current changes, push to remote, and create or update a pull request.
dyoshikawa/rulesync
Drive a pull request to a clean state and merge it: run the review-pr skill, fix every mid-or-above finding, and repeat until no mid-or-above findings remain, then merge.
dyoshikawa/rulesync
Cut a release end to end: use the draft-release skill to open the release PR and draft GitHub release, wait for CI to turn green, run the merge-pr skill to merge the release PR, then update the…
dyoshikawa/rulesync
List open pull requests where the ball is in the author's court: CI is failing, review comments are unaddressed, or a maintainer question is awaiting the author's reply.
Categories
Manages git worktrees using git-worktree-runner (gtr). An agent skill from dyoshikawa/rulesync. Git Worktree Runner is an agent skill from dyoshikawa/rulesync. Manages git worktrees using git-worktree-runner (gtr).
Git Worktree Runner fits situations like: the user needs to create; navigate worktrees with git gtr commands; AI tools in worktrees; manage parallel development branches.
Run `npx skills add dyoshikawa/rulesync --skill git-worktree-runner -a claude-code`. Or copy the skill folder (.rulesync/skills/git-worktree-runner in dyoshikawa/rulesync) into .claude/skills/git-worktree-runner in your project. Claude Code loads it when a task matches its description.
Run `npx skills add dyoshikawa/rulesync --skill git-worktree-runner -a codex`. Or copy the skill folder (.rulesync/skills/git-worktree-runner in dyoshikawa/rulesync) into .agents/skills/git-worktree-runner 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 dyoshikawa/rulesync --skill git-worktree-runner -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/git-worktree-runner, .gemini/skills/git-worktree-runner, .github/skills/git-worktree-runner and .opencode/skills/git-worktree-runner in your project.
Going by SKILL.md and its folder, Git Worktree Runner needs the command-line tools its instructions call (git and gh). Its frontmatter pre-approves these tools: Bash(git-worktree-runner:*).
SKILL.md contains no URLs. Its commands use git and gh, 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.
Git Worktree Runner is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.3k tokens (SKILL.md is roughly 5.2k 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 Git Worktree Runner: Fix Issue (nex-agi/NexRL, 119 stars), Branch Standup Facilitator (thedotmack/claude-mem, 98k stars), Project Session Manager (Yeachan-Heo/oh-my-claudecode, 40k stars) and Pre-Release PR Triage (jamiepine/voicebox, 57k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
dyoshikawa (a GitHub user) maintains it in dyoshikawa/rulesync, which has 1,507 GitHub stars. The repository holds 40 skills in this directory. The repository was last updated on October 8, 2026.
Source: dyoshikawa/rulesync on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.