file-compare

Reviewed at commit 39335b2

Compare two small text files by line without editing either.

Made by
Yash Thakker
What we checked

Opens a pane with /file-compare where you enter two text file paths (default before.txt and after.txt) and it lists lines that differ at the same line number, up to 100. Each file must be 64 KiB or smaller. It changes no files, runs no programs and sends nothing anywhere.

Review details

Static review of the source at the pinned commit; not run. Registers session.start (command registration), command.run for file-compare and a ui.render handler for the pane. Runtime calls: $.fs.stat and $.fs.read on the two paths typed into the pane, $.ui.open, $.ui.invalidate. The comparison is positional (line i against line i), not a true diff. Paths are only checked for being non-empty and not starting with a dash; they can point outside the project, and the differing lines are shown on screen. Nothing is written, stored or sent. The command argument hint mentions a path but it is ignored. Not reviewed: nothing outstanding.

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 file-compare
Made this mod? Add a badge to your README

modsforClaude badge for file-compare

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/file-compare.svg)](https://modsforclaude.com/mods/file-compare/)

← All mods