About diffity-tree
diffity-tree is a skill that launches or reuses diffity's repository file tree browser and opens it for the user. It reports the local URL so files can be browsed and commented on in a browser.
Key features
- 01Launch or reuse the tree browser
- 02Open the browser for the user
- 03Retrieve the local URL
Use cases
- 01Browse repository files in a browser
- 02Leave comments on files for later resolution
MCP support
This skill runs the diffity CLI to start or reuse the browser session; the input does not describe direct MCP integration.
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ nilbuild/ diffity --skill diffity-treeAfter installing, type/diffity-treein Claude Code to confirm it loaded.
Details
From the project READMEDiffity Tree Skill
You are opening the diffity file tree browser so the user can browse repository files in the browser.
Instructions
-
Check that
diffityis available: runwhich diffity. If not found, install it withnpm install -g diffity. -
Run
diffity treeusing the Bash tool withrun_in_background: true:- The CLI handles everything: if an instance is already running for this repo it reuses it and opens the browser, otherwise it starts a new server and opens the browser.
- Do NOT use
&or--quiet— let the Bash tool handle backgrounding.
-
Wait 2 seconds, then run
diffity list --jsonto get the port. -
Tell the user diffity tree is running. Print the URL and keep it short — don't show session IDs, hashes, or other internals. Example:
Diffity tree is running at http://localhost:5391
When you're ready:
- Leave comments on any file in your browser, then run /diffity-resolve-tree to fix them