</>MCP Agents Market
Plugin

revdiff

by umputun858GoUpdated 2026-09-10

TUI for reviewing diffs, files, and documents with inline annotations

Claude CodeCodexPi

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

Terminal overlay integration with Claude Code supporting tmux, Zellij, agterm, kitty, wezterm, ghostty, iTerm2, and more
Interactive diff navigation with syntax highlighting, word-diff, collapsed mode, and line numbers
Inline annotation system with structured output piped to Claude for iterative code review
Support for Git, Mercurial, and Jujutsu repositories with automatic ref translation
Multi-mode review: uncommitted changes, staged diffs, branch comparisons, all tracked files, or arbitrary text via stdin
Markdown table-of-contents navigation for single-file document review
Question-based annotations (using '??' or 'explain') that trigger AI explanations instead of code changes
Customizable themes, keybindings, and color schemes with live preview theme selector

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 more

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.

Related searches