Switch the current session into an existing git worktree (e.g. one created by /delegate-worker or `wt add`). Use when the user wants to enter, cd into, or follow a worktree — trigger on phrases like "enter the worktree", "worktree に入って", "ワーカーの worktree に移動して".
Scanned 9/9/2026
Install to Claude Code
npx -y skills add sasamuku/dotfiles --skill enter-worktree --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Enter Worktree?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/sasamuku-enter-worktree)More formats (shields.io, HTML) on the badges page.
---
name: enter-worktree
description: Switch the current session into an existing git worktree (e.g. one created by /delegate-worker or `wt add`). Use when the user wants to enter, cd into, or follow a worktree — trigger on phrases like "enter the worktree", "worktree に入って", "ワーカーの worktree に移動して".
argument-hint: <branch-or-path>
---
# 既存 worktree への移動
セッションのカレントディレクトリを既存の worktree へ切り替える。`/delegate-worker` のワーカーが作った worktree や `wt add` で作った worktree に追随するために使う。
## 引数
$ARGUMENTS
## ワークフロー
### 1. worktree のパスを解決する
```bash
git worktree list
```
- 引数が**絶対パス**ならそのまま使う (一覧に存在することを確認する)
- 引数が**ブランチ名**なら、一覧から該当ブランチがチェックアウトされている worktree のパスを探す
- 引数が**ない**場合: 一覧を表示し、候補が 1 つならそれを使う。複数あれば AskUserQuestion でユーザーに選ばせる
- 該当する worktree がない場合は中断し、`/delegate-worker` または `wt add <branch>` での作成を案内する (`git worktree add` は直接使わない)
### 2. セッションを切り替える
```
EnterWorktree({ path: "<resolved absolute path>" })
```
- `name` ではなく必ず `path` を渡す。`name` は新規作成になってしまう
- `path` は `git worktree list` に登録済みであれば、リポジトリ隣接ディレクトリ (例: `<project>-<branch>`) でも入れる
- ただし**すでに worktree セッション内にいる場合**、隣接パスへの切り替えはできない (`path` 切り替えは `.claude/worktrees/` 配下のみ)。先に `/exit-worktree` で戻ってから入り直す
### 3. 移動後
- 現在のブランチと `git status` を簡潔に報告する
- 元のディレクトリに戻るには `/exit-worktree` を使う
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!
Playbook for creating and editing uCoz landing pages via MCP tools (`templates_tool`, `ftp_tool`, `modules_tool`). Use for tasks such as: "build a landing page", "update the homepage as a landing page", "create a promo page on the homepage", "add a lead form / menu / SEO to the homepage". Homepage: `page_list`, `page_get`; first publish — `page_update` with full `page_tmpl`; HTML edits after generation — `patch_template` (module_id=2, template_id=1), not `update_template`. Activate the mail f...
Interact with the Paperclip control plane API to manage tasks, coordinate with other agents, and follow company governance. Use when you need to check assignments, update task status, delegate work, post comments, set up or manage routines (recurring scheduled tasks), or call any Paperclip API endpoint. Do NOT use for the actual domain work itself (writing code, research, etc.) — only for Paperclip coordination.
Instantly.ai cold email outreach API - manage campaigns, leads, accounts, and analytics. Use for cold email automation, lead management, campaign creation/monitoring, and email account warmup.
Digital Audio Workstation usage, music composition, interactive music systems, and game audio implementation for immersive soundscapes.
Compress natural language memory files (CLAUDE.md, todos, preferences) into caveman format to save input tokens. Preserves all technical substance, code, URLs, and structure. Compressed version overwrites the original file. Human-readable backup saved as FILE.original.md. Trigger: /caveman-compress FILEPATH or "compress memory file"