What is session-diff?
session-diff is a Claude Code mod by yut0takagi that このセッションが Edit・Write で変えたファイルと増減をペインに並べ、選ぶと差分を出す. It is listed under Interface and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | yut0takagi |
| Repository | yut0takagi/mods |
| Popularity | no public popularity data yet |
| Category | Interface |
| Security | Low risk (88/100) |
| Rank | #5,237 of 5,272 Claude Code mods; #2,150 in Interface |
| License | MIT |
| Last commit | 2026-10-09 |
| Hooks | 4 events |
| Sees | every tool call |
| Draws on | Pane |
Is session-diff safe to install?
session-diff scores 88/100 on the MCPMods security check: Low risk. Things to review: starts processes outside the sandbox. It passed 7 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 no files or config | Pass |
| Doesn't read environment variables | Pass |
| Only sees the events it hooks | Pass |
| 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 |
|---|---|
$.command.register | |
$.process.run | runs processes |
$.session.surfaces | |
$.state.get | |
$.state.set | |
$.ui.open | draws interface |
$.ui.resolve | draws interface |
$.ui.toast | draws interface |
How do I install session-diff?
- 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/session-diff
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add yut0takagi/mods && claude plugin install session-diff@yut0takagi-mods
Or ask Claude to set it up
Paste this into Claude Code and it installs session-diff for you:
Install the "session-diff" Claude Code mod from https://github.com/yut0takagi/mods/tree/main/session-diff. 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)
- 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)
- side-question: /btw で、作業を止めずに会話の続きとして脇道の質問をし、答えをペインに出す。答えは会話に残らない (Low risk)
- usage-meter: ターンごとのトークン数とキャッシュの割合をステータス行に出し、セッション中の推移をペインにグラフで描く (Low risk)