diffity
Mac app to review the code written by you or your agent with Claude in the loop.
Safety scan
A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.
Check it deeper on your machine
It has changed since its scan on 11 Nov 2026.
As a Claude Code plugin, install it and then ask Claude Code:
/plugin marketplace add keithmackay/mackayi/plugin install scanskillsafety@mackayiDo a deep scan of https://github.com/nilbuild/diffity with scanskillsafety
Or from a terminal, clone it and run it:
git clone https://github.com/keithmackay/scanskillsafety-skill ~/.claude/skills/scanskillsafetynode ~/.claude/skills/scanskillsafety/cli.cjs --deep 'https://github.com/nilbuild/diffity'
It checks the exact commit: every file, its packages against OSV (api.osv.dev), how it compares with this page's scan (findsafeskills.com receives the repository's address), and, if you agree, Claude reading every file with your own Claude subscription. It never runs the code.
Badge for your README
Markdown
[](/listings/nilbuild--diffity)HTML
<a href="/listings/nilbuild--diffity"><img src="/api/listings/nilbuild--diffity/badge.svg" alt="findsafeskills safety rating" /></a>Install
What was scanned
The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.
README.md · README · 158 lines
View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)
This file has changed since it was scanned, so this is not exactly the text that was scanned, and no line is marked. The findings are listed with the safety scan above.
- <img src="./.github/logo.png" width="80" />
- # diffity
- [](https://github.com/nilbuild/diffity/releases/latest)
- [](https://github.com/nilbuild/diffity/releases/latest)
- [](./LICENSE)
- Diffity is a desktop app for Mac and Linux for reviewing code changes, yours or your agent's, GitHub-style, with Claude Code in the loop.
- <img src="./.github/screenshots/hero.png" alt="Diffity showing uncommitted changes with a comment thread answered by Claude" />
- [](https://github.com/nilbuild/diffity/releases/latest)
- [](https://github.com/nilbuild/diffity/releases/latest)
- [](https://github.com/nilbuild/diffity/issues/new/choose)
- - **macOS** 13.3 or later, Apple Silicon and Intel. Open the `.dmg` and drag Diffity to Applications.
- - **Linux** on x86_64: Ubuntu 22.04+, Debian 12+ or Fedora. Install the `.deb` or `.rpm`, which also pulls in WebKitGTK and Git:
- ```sh
- sudo apt install ./Diffity_*_amd64.deb # Ubuntu, Debian
- sudo dnf install ./Diffity-*.x86_64.rpm # Fedora
- ```
- The GitHub token is kept in your system keyring (GNOME Keyring or KWallet); without one, sign in with the GitHub CLI instead.
- The AI features need [Claude Code](https://docs.claude.com/en/docs/claude-code) (logged in) and Node.js. Shortcuts below are written for macOS; on Linux, use `Ctrl` wherever you see `⌘`.
- | What can you do? | Description |
- |---|---|
- | [Comment on your diff](#comment-on-your-diff) | Leave comments on lines, files or the whole diff, then send them to Claude to fix |
- | [Let Claude fix your comments](#let-claude-fix-your-comments) | Claude works through your comments, edits the code and replies in each thread |
- | [Ask @claude](#ask-claude) | Mention @claude in any thread and Claude replies right there |
- | [Get a Claude review](#get-a-claude-review) | Claude reads the diff and leaves comments on the lines it cares about |
- | [Review any commit or range](#review-any-commit-or-range) | Uncommitted changes, a commit, a range or a whole branch |
- | [Review pull requests](#review-pull-requests) | Check out a GitHub PR, review it locally, post the review back |
- | [Post reviews to GitHub](#post-reviews-to-github) | Submit as Comment, Approve or Request changes, with GitHub threads synced into the diff |
- | [Browse and comment on any file](#browse-and-comment-on-any-file) | Comment on code outside the diff from the Files tab |
- | [Jump anywhere](#jump-anywhere) | ⌘P for files, ⌘K for commits, comments, PRs and every action |
- | [Switch projects](#switch-projects) | Keep your repos in a rail and switch with ⌘1–9 |
- | [Open from the terminal or your agent](#open-from-the-terminal-or-your-agent) | `diffity` opens a repo, a diff or a pull request URL in the app |
- ### Comment on your diff
- > Drag across line numbers or click the `+` in the gutter, write a comment, then click **Claude** in the toolbar and send your comments to have it fix them.
- <img src="./.github/screenshots/comment.gif" alt="Selecting lines in a diff and leaving a comment" />
- ### Let Claude fix your comments
- > Click **Claude** and pick the comments to send. It works through each one, edits the code and replies in the thread, and you review its changes like any other diff. This works on uncommitted changes and on the commit you have checked out, including comments from a Claude review.
- <img src="./.github/screenshots/claude-fix.gif" alt="Sending two comments to Claude and its edits and replies landing on the diff" />
- ### Ask @claude
- > Type `@claude` in any comment or reply and Claude answers in the same thread.
- <img src="./.github/screenshots/claude-reply.gif" alt="Mentioning @claude in a comment and Claude replying in the thread" />
- ### Get a Claude review
- > Click **Claude**, open **Review**, optionally add what to focus on, and its comments land on the diff as it works.
- <img src="./.github/screenshots/claude-review.gif" alt="Asking Claude to review and its comments appearing on the diff" />
- ### Review any commit or range
- > Open the picker next to the project name to switch between uncommitted changes, a commit, a range or a branch.
- <img src="./.github/screenshots/refs.gif" alt="Searching commits in the ref picker and opening one" />
- ### Review pull requests
- > Pick a PR from the branch switcher to check it out, comment as you read, then **Submit review** to post it to GitHub.
- <img src="./.github/screenshots/pull-request.gif" alt="Checking out a pull request from the branch switcher and opening the review panel" />
- ### Post reviews to GitHub
- > Comment as you read, then **Submit review** as Comment, Approve or Request changes; GitHub comments sync back into the diff so you can reply or resolve from the app.
- <img src="./.github/screenshots/post-review.gif" alt="Drafting a review comment on a pull request next to synced GitHub threads and approving it" />
- ### Browse and comment on any file
- > Open the **Files** tab, pick any file in the repo and comment on its lines, even code the diff doesn't touch.
- <img src="./.github/screenshots/files.gif" alt="Opening a file from the Files tab and commenting on two of its lines" />
- ### Jump anywhere
- > Press `⌘P` to open any file, or `⌘K` to search commits, comments, PRs and every action.
- <img src="./.github/screenshots/palette.gif" alt="Opening a file with ⌘P and switching to dark theme with ⌘K" />
- ### Switch projects
- > Open a repo with `⌘O`; it stays in the left rail, so `⌘1`–`⌘9` takes you back to it.
- <img src="./.github/screenshots/projects.gif" alt="Switching between projects in the rail" />
- ### Open from the terminal or your agent
- > Run `diffity` in any repository to open it in the app, or pass a pull request URL to review it.
- Install the command once from **Settings → Terminal** (on macOS, **Diffity → Install ‘diffity’ Command…** opens it too). It links the command into `/usr/local/bin` and asks for your password if that folder needs it.
- <img src="./.github/screenshots/install-command.png" width="320" alt="The Diffity menu with Install ‘diffity’ Command…" />
- ```sh
- diffity # uncommitted changes in the current repository
- diffity ~/code/app # another repository
- diffity --ref main # everything on this branch since it left main
- diffity --ref HEAD~1..HEAD # the last commit
- diffity https://github.com/owner/repo/pull/42 # check out and review a pull request
- diffity src/app.ts # a file in the Files tab
- diffity -n # in a new window
- ```
- `--ref` takes anything the ref picker does: `work`, `staged`, `unstaged`, a branch or commit, `<a>..<b>` or `<a>...<b>`. A pull request opens in the current repository if it is a clone of that repo, else in a clone Diffity already knows; with neither, Diffity offers to clone it. Run `diffity --help` for everything.
- ### Hand comments to your terminal agent
- > The agent that wrote the change is the one with the context to fix your comments. Let it read and answer them.
- In **Settings → Terminal**, click **Connect** next to Claude Code or Codex. That registers Diffity with the agent for every project and allows terminal agents; for OpenCode, Cursor or any other MCP client, copy the setup from the same place.
- Then, after you review and comment, tell the agent in its session:
- ```
- address my Diffity review
- ```
- It reads the open comments for the repository or worktree it is in, makes the changes, replies to each thread and resolves the fixed ones. The threads update live in Diffity, labelled with the agent's name. It can also open its changes in Diffity for you (“open it in Diffity when you're done”). Draft comments stay private until you submit them. **Allow terminal agents** turns access off for every agent at once.
- Coding agents can run it too, so you can ask Claude Code to “open your changes in Diffity” before it opens a PR.
- ### More
- - **Find in the whole diff.** `⌘F` searches every file in the diff, including collapsed ones, and `⌘G` jumps to the next match.
- - **Changed since you viewed it.** Files you marked Viewed get a badge when they change again, and one click shows just what changed.
- - **Hide generated files.** Add a `.diffityignore` to your repo (same syntax as `.gitignore`), or a list in Settings, and those files stay out of your diffs:
- ```gitignore
- dist/
- *.generated.ts
- !dist/keep-me.js
- ```
- - **Colour-blind friendly colours.** Settings → General → Appearance switches the diff to blue and orange, in light and dark.
- - **Split or unified, light or dark.** Toggle the diff layout anytime; the theme follows your system unless you pick one in Settings.
- - **Updates itself.** New versions install in place, and What's New (in the Help menu on macOS, or the command palette) shows what changed.
- Found a bug or have an idea? [Open an issue](https://github.com/nilbuild/diffity/issues/new/choose).
- ## License
- [MIT](./LICENSE) © [Kamran Ahmed](https://x.com/kamrify)
Ratings and comments
Sign in to rate this skill.
Sign inFree to use. If it’s helped, pass it on.