What is branch-watch?
branch-watch is a Claude Code mod by yut0takagi that ステータス行に worktree / branch を出し、どのセッションがどの worktree のどのブランチで作業しているかをペインに並べる。別のセッションが切り替えたブランチでの commit を止める. 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 (52/100) |
| Rank | #5,232 of 5,272 Claude Code mods; #376 in Git & CI |
| License | MIT |
| Last commit | 2026-10-09 |
| Hooks | 8 events |
| Sees | Bash calls, every prompt, every tool call |
| Draws on | Pane |
Is branch-watch safe to install?
branch-watch scores 52/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 4 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 |
| Doesn't drive Claude | Pass |
| Passes claude plugin validate | Pass |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.every | |
$.clock.now | |
$.command.register | |
$.env.get | reads env vars |
$.fs.list | reads files |
$.fs.read | reads files |
$.fs.write | writes files |
$.process.run | runs processes |
$.session.cwd | |
$.session.id | |
$.session.messages | reads the transcript |
$.session.surfaces | |
$.state.get | |
$.state.set | |
$.ui.open | draws interface |
$.ui.resolve | draws interface |
$.ui.status | draws interface |
$.ui.toast | draws interface |
How do I install branch-watch?
- 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/branch-watch
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add yut0takagi/mods && claude plugin install branch-watch@yut0takagi-mods
Or ask Claude to set it up
Paste this into Claude Code and it installs branch-watch for you:
Install the "branch-watch" Claude Code mod from https://github.com/yut0takagi/mods/tree/main/branch-watch. 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.
- auto-worktree: セッションの最初のプロンプトを送ったときに、git のワークツリーを作ってそこへ移る (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)