branch-watch
by Yuto Takagi · ★ 0 · updated 9 days ago
ステータス行に worktree / branch を出し、どのセッションがどの worktree のどのブランチで作業しているかをペインに並べる。別のセッションが切り替えたブランチでの commit を止める
Install
/plugin marketplace add yut0takagi/mods/plugin install branch-watch@yut0takagi-modsThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
What it hooks into
From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.
- Events
session.startsession.endturn.startprompt.submitturn.completetool.callcommand.runui.render- API calls
$.clock.every$.clock.now$.command.register$.env.get$.fs.list$.fs.read$.fs.write$.process.run$.session.cwd$.session.id$.session.messages$.session.surfaces$.state.get$.state.set$.ui.open$.ui.resolve$.ui.status$.ui.toast- Draws
Pane- Can see
every promptBash callsevery tool call- Reach
- level 2 of 3 runs processeswrites filesreads filesreads env varsreads the transcriptreads mod statedraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/yut0takagi/mods
- Path in repo
branch-watch- Source commit
013994bthe exact code the scan read- Author
- Yuto Takagi @yut0takagi
- License
- MIT
- First published
- Last pushed
- First listed here
Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.
More from yut0takagi/mods
auto-worktree
yut0takagi/mods
セッションの最初のプロンプトを送ったときに、git のワークツリーを作ってそこへ移る
done-chime
yut0takagi/mods
長いターンが終わったときと、許可を待っているときに音とトーストで知らせる
ja-check
yut0takagi/mods
返答が英語で書き出されたら知らせる。設定で日本語での書き直しを頼める
pr-pane
yut0takagi/mods
開いている PR と CI の状態を gh で定期的に取り、ステータス行とペインに出す
push-gate
yut0takagi/mods
git push などを止め、人が承認ボタンを押した 1 回だけ通す
session-diff
yut0takagi/mods
このセッションが Edit・Write で変えたファイルと増減をペインに並べ、選ぶと差分を出す
side-question
yut0takagi/mods
/btw で、作業を止めずに会話の続きとして脇道の質問をし、答えをペインに出す。答えは会話に残らない
usage-meter
yut0takagi/mods
ターンごとのトークン数とキャッシュの割合をステータス行に出し、セッション中の推移をペインにグラフで描く