Skip to content
Back to skills

Enter Worktree

ASecurity

Move 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
toolsgit

Works with

  • claude code

Security analysis

A100/100

Scanned November 9, 2026

npx -y skills add sasamuku/dotfiles --skill enter-worktree --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Enter Worktree?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Enter Worktree
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sasamuku-enter-worktree/badge)](https://www.skillsdirectory.com/skills/sasamuku-enter-worktree)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.