git-worktree-runner
Manages git worktrees using git-worktree-runner (gtr).
Skill by dyoshikawa
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/dyoshikawa-git-worktree-runner
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/git-worktree-runner
Tools it pre-approves 1
From allowed-tools in SKILL.md: the agent may use these without asking you each time.
Bash(git-worktree-runner:*)
What's inside
- Skill name
git-worktree-runner- Description
- 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.
- License
- MIT
- Allowed tools
- Bash(git-worktree-runner:*)
- Instructions
- 215 lines in SKILL.md · view on GitHub
Before installing
- Pre-approves some shell commands
Files (1)
- SKILL.md
SKILL.md (first lines)
# Git Worktree Runner (gtr) 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. ## Quick Start ```bash # 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 ``` ## Commands ### Creating Worktrees ```bash # 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 ``` ### Opening Editor / AI Tool ```bash # Open the configured editor for a worktree git gtr editor feature-branch # Start configured AI tool in a worktree git gtr ai feature-branch ``` ### Running Commands ```bash # Run an arbitrary command in a worktree git gtr run feature-branch npm test git gtr run feature-branch pnpm build ``` ### Navigation ```bash # Navigate to a worktree directory cd "$(git gtr go feature-branch)" ``` ### Listing and Managing ```bash # List all worktrees git gtr list # Remove a worktree git gtr rm feature-branch # Rename a worktree git gtr mv old-name new-name ``` ## Configuration ```bash # 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 ``` ## Example: Parallel AI Development ```bash # 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
From dyoshikawa/skills, MIT.
More from dyoshikawa/skills
- 0.565score
garbage-collect-memory
dyoshikawa
Garbage-collect the git-managed memory files under memories/: delete knowledge that no longer holds or is no longer needed, and merge duplicated entries into…
SkillAFreshness: AClaude Code +9 - 0.561score
batch-all-scrap-issues
dyoshikawa
Resolve every open maintainer-scrap issue one at a time: fact-check each with web research, close the ones that need no action, and run the `goal-pr` skill to…
SkillAFreshness: AClaude Code +9 - 0.561score
batch-all-issues
dyoshikawa
Resolve every open issue one at a time: fact-check each with web research, close the ones that need no action, and run the `goal-pr` skill to fix, review, and…
SkillAFreshness: AClaude Code +9 - 0.524score
commit-push-pr
dyoshikawa
Commit current changes, push to remote, and create or update a pull request.
SkillBFreshness: BClaude Code +9 - 0.524score
create-scrap-issue
dyoshikawa
Create a GitHub issue that consolidates passed content into a single scrap issue with background context and solution details, labeled as maintainer-scrap.
SkillBFreshness: BClaude Code +9 - 0.524score
goal-pr
dyoshikawa
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…
SkillBFreshness: BClaude Code +9 - 0.524score
goal-release
dyoshikawa
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…
SkillBFreshness: BClaude Code +9 - 0.524score
draft-issue-to-external-repository
dyoshikawa
Draft a GitHub issue targeting a third-party repository (outside this project's owner).
SkillBFreshness: BClaude Code +9 - 0.524score
babysit-dependabot-pr
dyoshikawa
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…
SkillBFreshness: BClaude Code +9 - 0.524score
batch-review-prs-awaiting-maintainer
dyoshikawa
Batch-triage open pull requests: list PRs with prs-awaiting-maintainer, review each with review-pr, then post-review-comments when there are merge-blocker…
SkillBFreshness: BClaude Code +9 - 0.521score
create-issue-with-websearch
dyoshikawa
Create a GitHub issue from a vague idea by thoroughly researching the topic on the web to sharpen the specification before filing
SkillBFreshness: BClaude Code +9 - 0.518score
create-issue
dyoshikawa
Create a GitHub issue with detailed description, purpose, and appropriate labels
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 1
- Last commit (this folder)
- Aug 23, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/dyoshikawa/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from dyoshikawa
- 0.565score
garbage-collect-memory
dyoshikawa
Garbage-collect the git-managed memory files under memories/: delete knowledge that no longer holds or is no longer needed, and merge duplicated entries into…
SkillAFreshness: AClaude Code +9 - 0.561score
batch-all-scrap-issues
dyoshikawa
Resolve every open maintainer-scrap issue one at a time: fact-check each with web research, close the ones that need no action, and run the `goal-pr` skill to…
SkillAFreshness: AClaude Code +9 - 0.561score
batch-all-issues
dyoshikawa
Resolve every open issue one at a time: fact-check each with web research, close the ones that need no action, and run the `goal-pr` skill to fix, review, and…
SkillAFreshness: AClaude Code +9 - 0.524score
create-scrap-issue
dyoshikawa
Create a GitHub issue that consolidates passed content into a single scrap issue with background context and solution details, labeled as maintainer-scrap.
SkillBFreshness: BClaude Code +9 - 0.524score
commit-push-pr
dyoshikawa
Commit current changes, push to remote, and create or update a pull request.
SkillBFreshness: BClaude Code +9 - 0.524score
goal-pr
dyoshikawa
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…
SkillBFreshness: BClaude Code +9
Cite this page
git-worktree-runner skill. Agent Mart. https://agentmart.dev/skills/dyoshikawa-git-worktree-runner (last updated 2026-10-24)