Home / Claude Code mods / Git & CI / auto-worktree

auto-worktree

auto-worktree is a Claude Code mod by yut0takagi that セッションの最初のプロンプトを送ったときに、git のワークツリーを作ってそこへ移る.

Updated 2026-10-09

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.

TypeClaude code mod
Authoryut0takagi
Repositoryyut0takagi/mods
Popularityno public popularity data yet
CategoryGit & CI
SecurityHigh risk (48/100)
Rank#5,231 of 5,272 Claude Code mods; #375 in Git & CI
LicenseMIT
Last commit2026-10-09
Hooks4 events
SeesBash calls, every prompt
Draws onnothing

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.

CheckResult
No network accessPass
Starts processes outside the sandboxReview
Writes files or configReview
Reads environment variablesReview
Watches every prompt or eventReview
Drives Claude (model calls, prompts)Note
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.command.register
$.env.getreads env vars
$.fs.readreads files
$.fs.writewrites files
$.process.runruns processes
$.session.cwd
$.session.repo
$.session.surfaces
$.session.turns
$.tool.calldrives Claude
$.ui.toastdraws interface

How do I install auto-worktree?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. 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
  3. 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)