# Diffity Tree

> Open the diffity file tree browser to browse and comment on repository files

- Skill: `gabrielmoreira/diffity-tree` (Agent Skill)
- Install (CLI): `npx skillmds@latest add gabrielmoreira/diffity-tree`
- Raw SKILL.md: https://api.skillmd.com/api/skills/gabrielmoreira/diffity-tree/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: gabrielmoreira (https://skillmd.com/u/gabrielmoreira)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/gabrielmoreira/diffity-tree

---


# Diffity Tree Skill

You are opening the diffity file tree browser so the user can browse repository files in the browser.

## Instructions

1. Check that `{{binary}}` is available: run `which {{binary}}`. If not found, {{install_hint}}.
2. Run `{{binary}} tree` using the Bash tool with `run_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.
3. Wait 2 seconds, then run `{{binary}} list --json` to get the port.
4. 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 **{{slash}}resolve-tree** to fix them

