What is visual-diff?
visual-diff is a Claude Code mod by simota that compares the browser screenshots Claude takes of the same URL at the same size, before and after an edit: both side by side, a map of the cells that changed, the changed regions in page. It is listed under While you wait and has 2 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | simota |
| Repository | simota/claude-mods |
| Popularity | 2 GitHub stars |
| Category | While you wait |
| Security | Review before installing (72/100) |
| Rank | #3,166 of 9,397 Claude Code mods; #78 in While you wait |
| License | MIT |
| Last commit | 2026-11-18 |
| Hooks | 5 events |
| Sees | every tool call |
| Draws on | Pane |
Is visual-diff safe to install?
visual-diff scores 72/100 on the MCPMods security check: Review before installing. Things to review: starts processes outside the sandbox; reads environment variables. It passed 5 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 |
| Reads environment variables | Review |
| Only sees the events it hooks | Pass |
| Drives Claude (model calls, prompts) | Note |
| Passes claude plugin validate | Pass |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.after | |
$.clock.every | |
$.clock.now | |
$.command.register | |
$.env.get | reads env vars |
$.fs.list | reads files |
$.fs.read | reads files |
$.fs.stat | reads files |
$.process.run | runs processes |
$.session.id | |
$.state.get | |
$.state.set | |
$.tool.call | drives Claude |
$.ui.log | draws interface |
$.ui.open | draws interface |
$.ui.resolve | draws interface |
$.ui.toast | draws interface |
How do I install visual-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/simota/claude-mods claude plugin validate ./claude-mods/mods/visual-diff
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add simota/claude-mods && claude plugin install visual-diff@simota-mods
Or ask Claude to set it up
Paste this into Claude Code and it installs visual-diff for you:
Install the "visual-diff" Claude Code mod from https://github.com/simota/claude-mods/tree/main/mods/visual-diff. Run claude plugin validate on it first and show me what it can access before you enable it.
More from simota/claude-mods
This repository has at least 9 Claude Code mods on MCPMods.
- agent-pane: Live pane of the session's subagents: running ones with elapsed time, finished ones with result and duration (Low risk)
- artifact-shelf: A shelf of what the sessions made: CSV, PDF, HTML, video, audio, images, patches and archives, each tied to the call tha (Review before installing)
- assertion-guard: Catches edits that weaken tests to make them pass: assertions removed, expectations loosened or rewritten, tests skipped (Low risk)
- browser-cam: Live pane of the browser Claude drives: the latest screenshot from Claude in Chrome, the page URL and the recent actions (Review before installing)
- ci-rehearsal: CI before the push, in one press: the band above the prompt runs the push workflows with runthrough, shows the failing j (Low risk)
- design-duel: A design contest in one command: /design-duel has claude, codex and agy each propose a design alone (read-only), then sc (Low risk)
- doc-preview: Previews the documents Claude writes in docview: the band above the prompt offers the Markdown, diagram, data or HTML fi (Review before installing)
- done-gate: Flags unverified edits, stops repeated failing commands, and blocks git --no-verify (Low risk)