revdiff
TUI for reviewing diffs, files, and documents with inline annotations
Revdiff is a Claude Code plugin that provides a terminal-based interface for reviewing code diffs, files, and documents with inline annotations. It launches an interactive TUI overlay in supported terminals (tmux, Zellij, kitty, wezterm, etc.) that displays diffs with syntax highlighting, allowing developers to annotate specific lines during AI-assisted code reviews. The plugin captures annotations and feeds them back to Claude for processing in an iterative review-fix-verify loop. It supports Git, Mercurial, and Jujutsu repositories, plus non-VCS file review and stdin input.
Key Features
Use Cases
- 01Reviewing code changes and diffs without leaving a Claude Code session
- 02Annotating AI-generated code with inline feedback for iterative refinement
- 03Reviewing pull requests and branch diffs with structured annotation output
- 04Annotating markdown documentation, plans, or AI-generated drafts for revision
- 05Browsing and reviewing all tracked files in a codebase with filtering by path
- 06Comparing arbitrary files or reviewing piped command output with annotation support
Related Plugins
View moreandrej-karpathy-skills
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
claude-mem
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Understand-Anything
Graphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
rtk
CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies
revdiff — FAQ
What is the revdiff Claude Code plugin?+
It's a Claude Code plugin that launches a terminal-based diff viewer for reviewing code changes with inline annotations. The plugin captures your annotations and sends them back to Claude for processing in an iterative review loop.
How do I install the revdiff plugin in Claude Code?+
Run '/plugin marketplace add umputun/revdiff' followed by '/plugin install revdiff@revdiff' in Claude Code. The revdiff binary must be installed separately via Homebrew, AUR, package manager, or Go.
Which terminals are supported for the overlay?+
Supported terminals include agterm, tmux, Zellij, herdr, kitty, wezterm, Kaku, cmux, ghostty (macOS only), iTerm2 (macOS only), and Emacs vterm. The plugin auto-detects the terminal and uses the appropriate overlay method.
What are the prerequisites for using this plugin?+
You need the revdiff binary on your PATH (install via Homebrew, package manager, or Go), Git/Mercurial/Jujutsu for VCS-based diffs, and one of the supported terminal multiplexers. No API keys are required.
Is the revdiff plugin free to use?+
Yes, revdiff is open source under the MIT License and free to use.
Can I use revdiff outside of Claude Code?+
Yes, revdiff works standalone as a TUI, integrates with Codex CLI, OpenCode, and Pi, and can be used with any tool that can process its structured annotation output.
How do I install revdiff?+
Open the source repository on GitHub and follow its README. revdiff is a plugin — MCP Agents Market links you directly to the official repo.
Is revdiff free?+
revdiff is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.