diffle CLI
A CLI that opens a git diff in the browser for keyboard review and hands comments to an agent as a prompt or to GitHub.
- 202 ★ on the repository
- Last commit
- Apache-2.0
Extended access
Why this level
- Language servers run in the repository and read anything your user can.
- Pull requests need a GitHub token, and the review is posted under your name.
Install
- Works in
In your terminal, with SkillFoxx CLI
npx skillfoxx add cli/diffleDetects the agents on your machine, shows the access level and pins the version.
Other ways to install
Access and checks
How we reviewExtended accessThe tool runs code or makes network calls and only reads external data.
- Language servers run in the repository and read anything your user can.
- Pull requests need a GitHub token, and the review is posted under your name.
This is third-party code. Review the repository files before installing.
What it does
diffle starts a local server and shows changes in the browser: working tree against HEAD, a branch, a commit, a GitHub pull request (`diffle pr 27`) or any git revision range. Control is keyboard-first in a Vim style: `j` and `k` move by line, `c` comments, `V` selects a block and `R` resolves a note. When the tab closes, open comments print to the terminal as a ready prompt for an agent. `yy` copies them, or they can go to GitHub as a pending review. Language servers add jumps to definitions, and `M` builds a graph of changes by file and symbol. diffle works from lazygit through custom commands.
Who it is for. Developers who review agent edits before committing and want to feed notes back to Claude Code or Codex as a ready prompt.
Good fit when
- An agent made edits and before committing you must read them line by line and leave notes.
- A GitHub pull request must be reviewed and sent as a pending review.
- You want to see a graph of which files and symbols a change touches.
- Review is easier from lazygit without switching tools.
Not a fit when
- You need full IDE review with test runs: diffle only shows a diff and collects comments.
- You need a team review board with roles and statuses: diffle serves a single reviewer at a time.
- There is no browser or `localhost` access.
Example request
Open diffle on my uncommitted changes, I will leave comments, then work through them as a prompt.Limitations
`diffle pr` needs a GitHub token, and a pull request from another repository opens in a temporary clone. Language servers run inside the repository and read anything your user can; `--no-lsp` disables them. No agent is built into diffle: comments pass as a prompt you paste or copy. The `install.sh` script on diffle.app installs the binary into `~/.local/bin`, and brew, npm and cargo variants exist. The last commit dates to November 2026.
How to disable. Remove the binary with the same manager you installed it with, for example `brew uninstall diffle`, and the config shown by `diffle config`.
FAQ
How do I install diffle?
Run `brew install diffle` or `npm install -g @moritzwilksch/diffle`. `cargo install diffle`, `pixi global install diffle` and the script `curl -fsSL https://diffle.app/install.sh | sh` also exist.
How do I view uncommitted changes?
Run `diffle` or `diffle working` in the repository and the browser opens. Close the tab and comments print to the terminal.
How do I hand comments to an agent?
Copy them with `yy` or append `| pbcopy` to the command. The output is formatted as a ready prompt.
How do I open a pull request?
With `diffle pr 27`, or `diffle pr` with no number for the current branch PR. A GitHub token is required.
How do I disable language servers?
With the `--no-lsp` flag. `diffle lsp` shows which server is chosen for each language.
Discussion
No questions or reviews yet.
Related
CLI toolsA CLI that opens a local git diff in the browser like GitHub's Files changed tab; comments copy out as prompts for an agent
A CLI turns Git changes into a guided code walkthrough with questions and explanations written by your existing agent
A terminal UI that shows everything differing from the base branch as a pull request and sends selected code to an AI agent.
The terminal pager displays Git diffs with a file tree so users can review agent changes file by file.
A CLI opens diffs and documents in a terminal so a person can annotate lines and pass feedback to a coding agent
A code-review CLI and plugin for agents: reads a git diff and writes line-level comments with context
README in short
The README opens with install methods and diff selection modes, then lists review shortcuts, sending comments to GitHub and language servers. Separate sections cover the change graph, lazygit integration and running behind a reverse proxy.