Back to skills
SKILL.md
Enter Worktree
ASecurityMove the Claude Code session into an existing worktree specified by branch or absolute path.
- 10 stars
- 0 votes
- 0 copies
- 1 view
- Added September 9, 2026
Works with
Security analysis
100/100npx -y skills add sasamuku/dotfiles --skill enter-worktree --agent claude-codeAre you the author of Enter Worktree?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/sasamuku-enter-worktree)---
name: enter-worktree
description: Move the Claude Code session into an existing worktree specified by branch or absolute path.
argument-hint: <branch-or-path>
---
# Enter Worktree
引数: $ARGUMENTS。`git worktree list` から登録済みの絶対パスを解決する。
- 絶対パス指定: 一覧への登録を確認する。
- ブランチ指定: チェックアウト先を探す。
- 未指定: 候補が1件なら使い、複数ならユーザーに選ばせる。
- 該当なし: 中断し、`wt switch --create <branch>` または `/delegate-worker` を案内する。`git worktree add` は直接使わない。
```text
EnterWorktree({ path: "<absolute path>" })
```
既存 worktree への移動には、解決済みの `path` を使う。登録済みならリポジトリ隣接パスでも入れる。ただし既にworktreeセッション内の場合、切り替え先は `.claude/worktrees/` 配下に限られる。隣接パスへ移るには先に `/exit-worktree keep` で戻る。
移動後はブランチ・`git status` を報告する。復帰は [exit-worktree](../exit-worktree/SKILL.md) に従う。
Attribution
Related skills
View all in tools →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.