desktop-compare-desk

Reviewed at commit c53a70b

Compare two local text files in responsive side-by-side columns.

Made by
Yash Thakker
What we checked

Adds a /desktop-compare-desk pane to the Claude Desktop Code tab where you type two file paths and see them side by side, with the line positions that differ. It only reads the two files you name when you press Compare, shows them on screen and makes no network calls. Nothing is stored.

Review details

Static review of the source at the pinned commit; not run. Registers a session.start handler (registers the command, remembers the surface), a command.run handler that opens a pane, and a ui.render handler for the Pane component. Runtime calls: $.command.register, $.ui.open, $.ui.resolve, $.ui.invalidate, $.session.cwd, $.fs.stat, $.fs.read. File reads happen only when the user presses Compare, for the two paths typed into the inputs (relative to the session cwd, or absolute); files must be regular, non-symlink, at most 128 KiB and without NUL bytes, otherwise an error is shown. Content is held in memory and shown as truncated previews (9,000 characters); the position-by-position comparison is not a real diff. A $.ui.copy helper is defined but never called. No network, no process execution, no $.store use, no model calls, no tool-call or prompt hooks. ui.js is pure SVG and text helpers (identical in the sibling desktop-* mods). Only works on the desktop surface. Not reviewed: the host runtime.

What it uses
  • Reads your prompts: no
  • Sees tool calls: no
  • Blocks or changes tool calls: no
  • Reads or writes files: yes
  • Runs programs on your machine: no
  • Calls the model (uses tokens): no
  • Sends data over the network: no
  • Stores data: no
  • Shows something on screen: yes
Hooked events
Screenshot of desktop-compare-desk
Made this mod? Add a badge to your README

modsforClaude badge for desktop-compare-desk

Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.

[![Listed on modsforClaude](https://modsforclaude.com/badge/desktop-compare-desk.svg)](https://modsforclaude.com/mods/desktop-compare-desk/)

← All mods