tmux-git-worktree
NewClaude Code Skill: Tmux + Git Worktree context switcher
Summary
This skill integrates tmux sessions with Git worktrees, allowing developers to quickly switch between multiple worktrees while preserving their tmux session layout.
- It streamlines context switching for developers managing multiple feature branches or parallel tasks, reducing manual setup time and cognitive overhead.
Install & Usage
mkdir -p .claude/skillsAdd the configuration to .claude/skills/tmux-git-worktree.md
/tmux-git-worktreeUse Cases
Usage Examples
/tmux-git-worktree switch feature/new-ui
Create a new worktree from branch bugfix/login-error and open a tmux session for it
List all worktrees and their tmux sessions
Security Audits
Frequently Asked Questions
What is tmux-git-worktree?
This skill integrates tmux sessions with Git worktrees, allowing developers to quickly switch between multiple worktrees while preserving their tmux session layout. It streamlines context switching for developers managing multiple feature branches or parallel tasks, reducing manual setup time and cognitive overhead.
How to install tmux-git-worktree?
To install tmux-git-worktree: create the skills directory (mkdir -p .claude/skills), then add the config to .claude/skills/tmux-git-worktree.md. Finally, /tmux-git-worktree in Claude Code.
What is tmux-git-worktree best for?
tmux-git-worktree is a skill categorized under Development. It is designed for: tmux, git-worktree, claude-code, claude-skill, workflow.
What can I use tmux-git-worktree for?
tmux-git-worktree is useful for: Switch to a different Git worktree and automatically restore the associated tmux session with all windows and panes.; Create a new Git worktree from a feature branch and launch a dedicated tmux session for it.; List all active Git worktrees and their corresponding tmux sessions to quickly identify where you left off.; Delete a Git worktree and clean up its tmux session in one command.; Rename a tmux session to match the current worktree branch after switching branches.; Attach to an existing tmux session linked to a specific worktree without manually searching for session names..