What is auto-worktree?
auto-worktree is a Claude Code mod by yut0takagi that セッションの最初のプロンプトを送ったときに、git のワークツリーを作ってそこへ移る. It is listed under Git & CI and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | yut0takagi |
| Repository | yut0takagi/mods |
| Popularity | no public popularity data yet |
| Category | Git & CI |
| Security | High risk (48/100) |
| Rank | #5,231 of 5,272 Claude Code mods; #375 in Git & CI |
| License | MIT |
| Last commit | 2026-10-09 |
| Hooks | 4 events |
| Sees | Bash calls, every prompt |
| Draws on | nothing |
Is auto-worktree safe to install?
auto-worktree scores 48/100 on the MCPMods security check: High risk. Things to review: starts processes outside the sandbox; writes files or config; reads environment variables; watches every prompt or event. It passed 3 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts processes outside the sandbox | Review |
| Writes files or config | Review |
| Reads environment variables | Review |
| Watches every prompt or event | Review |
| Drives Claude (model calls, prompts) | Note |
| Passes claude plugin validate | Pass |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.command.register | |
$.env.get | reads env vars |
$.fs.read | reads files |
$.fs.write | writes files |
$.process.run | runs processes |
$.session.cwd | |
$.session.repo | |
$.session.surfaces | |
$.session.turns | |
$.tool.call | drives Claude |
$.ui.toast | draws interface |
How do I install auto-worktree?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/yut0takagi/mods claude plugin validate ./mods/auto-worktree
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add yut0takagi/mods && claude plugin install auto-worktree@yut0takagi-mods
Or ask Claude to set it up
Paste this into Claude Code and it installs auto-worktree for you:
Install the "auto-worktree" Claude Code mod from https://github.com/yut0takagi/mods/tree/main/auto-worktree. Run claude plugin validate on it first and show me what it can access before you enable it.
More from yut0takagi/mods
This repository has at least 9 Claude Code mods on MCPMods.
- branch-watch: ステータス行に worktree / branch を出し、どのセッションがどの worktree のどのブランチで作業しているかをペインに並べる。別のセッションが切り替えたブランチでの commit を止める (High risk)
- done-chime: 長いターンが終わったときと、許可を待っているときに音とトーストで知らせる (Low risk)
- ja-check: 返答が英語で書き出されたら知らせる。設定で日本語での書き直しを頼める (Low risk)
- pr-pane: 開いている PR と CI の状態を gh で定期的に取り、ステータス行とペインに出す (Low risk)
- push-gate: git push などを止め、人が承認ボタンを押した 1 回だけ通す (Low risk)
- session-diff: このセッションが Edit・Write で変えたファイルと増減をペインに並べ、選ぶと差分を出す (Low risk)
- side-question: /btw で、作業を止めずに会話の続きとして脇道の質問をし、答えをペインに出す。答えは会話に残らない (Low risk)
- usage-meter: ターンごとのトークン数とキャッシュの割合をステータス行に出し、セッション中の推移をペインにグラフで描く (Low risk)