by ihou
An IDE-grade Git diff, without the IDE. A lightweight native app for Mac, Windows and Linux (a 4 MB download, 30–50 MB of memory) for reviewing changes — yours, your teammates' or your coding agent's — and committing exactly what you mean.
# Add to your Claude Code skills
git clone https://github.com/ihou/DiffCodeDiffCode is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by ihou. An IDE-grade Git diff, without the IDE. A lightweight native app for Mac, Windows and Linux (a 4 MB download, 30–50 MB of memory) for reviewing changes — yours, your teammates' or your coding agent's — and committing exactly what you mean. It has 80 GitHub stars.
DiffCode's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/ihou/DiffCode" and add it to your Claude Code skills directory (see the Installation section above).
DiffCode is primarily written in Rust. It is open-source under ihou on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh DiffCode against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.

Coding agents write more of the code now, and teammates keep pushing theirs, so more of the day goes to reading diffs. An IDE shows them well, but it brings code completion, builds, indexing and plugins along with it: a long wait and gigabytes of memory, just to see what changed. DiffCode keeps only what that job needs — a clear side-by-side diff, the Git history, precise commits and a terminal for your agent — in a native app that typically uses 30–50 MB of memory.
index.lock, so DiffCode can stay open next to your IDE, your terminal and your agents.A diff that is easy to read
⌥⌘V switches to a unified view.F7 / ⇧F7 jump between changes and carry on into the next file.Precise commits
⌘↩. Untick single hunks — or select lines and choose Exclude Selected Lines from Commit — to commit only part of a file. The rest stays in your working tree.⌥⌘K. Git hooks run as usual, and their output is shown when they fail.⌘Z.All your repositories in one window
dif ~/work/app ~/work/lib.⇧⇧), Go to File with camel-case matching (⇧⌘O, cvm → CartViewModel.kt), and Find in Files (⇧⌘F) powered by git grep, with a live preview.⌥⌘T to type the current file path — with the selected line range — into the terminal for your agent.Branches and history, when you need them
--force-with-lease and is never offered for main or master.Everything else
⌘/ in the app to see them all.![]() |
![]() |
| Git graph — branches, tags and lanes in a dropdown that does not take a column | Merge conflicts — pick a side per conflict, then Commit Merge |
![]() |
![]() |
| Built-in terminal — the diff updates as soon as a script or an agent touches a file | Find in Files — git grep across one project or all of them |
![]() |
![]() |
| Light theme, unified view | 简体中文 — follows the system, or pick it in Settings |
The repositories in the screenshots are made up for the purpose.
Download DiffCode (signed and notarized by Apple, updates itself) and open the installer. The website is at ihou.github.io/DiffCode.
It needs macOS 14 Sonoma or later. That download is for Macs with Apple Silicon; on an Intel Mac, download DiffCode-Intel.pkg instead (Apple menu → About This Mac shows which you have). To open repositories from the terminal, link the dif command once:
sudo ln -sf /Applications/DiffCode.app/Contents/Resources/dif /usr/local/bin/dif
dif # open the repository you are in
dif ~/work/app ~/work/lib
Download the installer and run it. It installs for your account without administrator rights and tells you when a new version is out; prefer no installer? Unzip DiffCode-windows-x64.zip and run DiffCode.exe. It needs 64-bit Windows 10 (1809) or Windows 11, and Git for Windows.
The installer is not code-signed — certificates cost money every year — so the first time you run it, SmartScreen may say Windows protected your PC. Choose More info → Run anyway. Checksums are in SHA256SUMS-windows.txt on the release page, and GitHub Actions builds every release from the tagged source.
The Windows version is a native Win32 app written in Rust, in windows/. It has the same features; shortcuts follow the IDE's Windows keymap (Ctrl where the Mac uses ⌘), and Ctrl+/ lists them all. The built-in terminal runs PowerShell or cmd.
Download DiffCode-linux-x86_64.tar.gz (or DiffCode-linux-aarch64.tar.gz for 64-bit Arm) from the release page, then:
tar -xzf DiffCode-linux-x86_64.tar.gz
DiffCode/install.sh # for your account, no root: ~/.local/bin and the applications menu
It runs on a desktop with GTK 3 and glibc 2.35 or later (Ubuntu 22.04, Debian 12, Fedora 36 or newer), on X11 or Wayland, and needs Git. install.sh --uninstall removes it again. Settings live in ~/.config/DiffCode, the built-in terminal runs your login shell, and shortcuts use Ctrl where the Mac uses ⌘. There is no automatic update yet: run a newer download's install.sh to update. Checksums are in SHA256SUMS-linux.txt.
To build it yourself: Rust 1.85 or later, pkg-config and the GTK 3 development headers (on Debian/Ubuntu, sudo apt install build-essential pkg-config libgtk-3-dev), then cargo build --release -p diffcode in windows/.
It takes a couple of minutes:
git clone https://github.com/ihou/DiffCode.git
cd DiffCode
Scripts/build-app.sh --install # builds DiffCode.app, copies it to /Applications, links the `dif` command
You need:
xcode-select --install). Tested with Swift 6.4.git, which the Command Line Tools include.Builds from source are signed for your Mac only (ad hoc) and do not check for updates. If /usr/local/bin is not writable, the script prints the sudo ln command for the dif command instead.