All Claude Code modstylergraydev/cc-mods
diff-viewer
Diff pane: what Claude changed this turn and this session, per file, plus git diff on demand
review UI rewrite
diff-viewer reaches L2 (writes or runs) by its classified calls and passed claude plugin validate with warnings on Claude Code 2.1.302.
- Events hooked: 6
- API methods referenced: 18
- Access from classified calls: L2, writes or runs: runs processes, writes the prompt box, reads files, persists state, draws
- Unclassified calls: 3 (
$.prompt.read,$.state.get,$.state.set), full access unknown - Static scan, not a runtime test
To install it, open the repository and follow the author’s setup instructions. Mods need Claude Code 2.1.287 or later.
Access
L2 Writes or runsother: $.prompt.read, other: $.state.get, other: $.state.set, runs processes, writes the prompt box, reads files, persists state, drawsValidation
Passed with warnings on Claude Code 2.1.302View the source on GitHub Back to the list
What the scan recorded
- Observed events
- Write calls, Edit calls, NotebookEdit calls
- Hooks
session.start, command.run {command=?}, tool.call {tool=Write}, tool.call {tool=Edit}, tool.call {tool=NotebookEdit}, turn.complete, session.end, ui.render {component=Pane, requestId=diff-viewer}, ui.render {component=Pane, requestId=?}- API calls
$.clock.now, $.command.list, $.command.register, $.fs.exists, $.fs.read, $.process.run, $.prompt.fill, $.prompt.read, $.session.root, $.state.get, $.state.set, $.store.get, $.store.set, $.ui.close, $.ui.open, $.ui.resolve, $.ui.scroll, $.ui.toast- Validation on 2.1.302
- Passed with warnings
- Scanned revision
9ba7c8a3f065- UI rewrite review
- UI hook source contains control-character strings. Review any values passed to next() as rewritten props.text; the scanner does not trace whether these strings reach that call. diff-viewer/hooks/diff.ts:39, diff-viewer/hooks/diff.ts:54, diff-viewer/hooks/diff.ts:70, diff-viewer/hooks/diff.ts:71, diff-viewer/hooks/view.ts:88
These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. How the scan works.
More from tylergraydev/cc-mods
- agent-deckLive pane of the session's subagents: status, tool calls, answers, launch and nudge, spawn caps and model rul…
- arcadeTic-tac-toe, sudoku, tetris, video poker, blackjack and UNO in a side pane, playable by keyboard, mouse or an…
- ask-on-auto-denyWhen auto mode's classifier blocks a tool call, asks you above the prompt and lets you allow that exact call…
- booster-paneOpen pretend Pokémon TCG booster packs by set in a side pane: card art in the terminal, a collection and pull…
- cache-clockA prompt-cache countdown in the status line, and a Compact / Handoff / Clear band once the cache has lapsed
- claim-checkFlags confident claims about prod, data, deployments and tickets that no query backed up in the same turn (he…
- dev-doctorRead-only environment checks on session start (bash on PATH, .NET SDK/runtime, ports, git locks, worktrees, D…
- gb-panePlay Game Boy and Game Boy Color games in a side pane with /gb; they pause when Claude finishes or needs you.
- gba-panePlay Game Boy Advance games in a side pane with /gba; they pause when Claude finishes or needs you.
- goal-anchorAnchors the session's goal, counts turns spent away from it, tracks unanswered questions, and nudges Claude b…
- guardrailBlocks hook-skipping git commands and live data operations that have no successful dry run first; you can all…
- handoff-watchWatches context fill against the auto-compact point and nudges for a session handoff doc at a quiet moment, b…
- inboxThe repo's inbox/ work queue as a pane: todo items at the root, then processing/, review/, done/ and blocked/…
- mod-menuManage mods, plugins, skills, hooks and MCP servers: tag them, switch profiles, sync your loadout via gh
- nes-panePlay NES games in a side pane with /nes; they pause when Claude finishes or needs you.
- restart/restart exits Claude Code and types `claude -c` into the same terminal once the prompt is back
- solution-explorerSolution Explorer-style file tree in a side pane: projects from .sln/.slnx, git status, and the files Claude…
- sound-boardPlays a distinct sound for subagent spawn/finish/failure, permission asks, auto-mode denials, finished turns…
- status-barFolds every plugin's status line into one line under the prompt, or one wrapped row above it
- usage-trackerLive 5-hour and 7-day usage for Claude Code and Codex, with pace markers, burn-rate projections and sparklines
Badge for your README
Authors can show the latest scan result in their README. Each badge links to this page.
[](https://mods.aidojo.si/mods/tylergraydev--cc-mods--diff-viewer/)
[](https://mods.aidojo.si/mods/tylergraydev--cc-mods--diff-viewer/)