Claude Code mod
better-diff
Draws Edit and Write results as a clean, opencode-style diff: line-number gutter, soft add/remove colors, a +N -M summary
Install
/plugin marketplace add lucasram20/claude-mods
/plugin install better-diff@better-diffMods install like plugins. Run /reload-plugins or start a new session to load it.
What it can access
- Reach
- L0Draws and remembers: draws
- Draws in
ToolResult- Hooks
ui.render
From a static scan of the mod's code by awesome-claude-code-mods. It shows what the code asks for, not a security review.
How Claude Code mods work
- A mod is a plugin with a JavaScript or TypeScript module that runs inside Claude Code (version 2.1.287 or later). It can draw panes beside the transcript, a band above the prompt, buttons and toasts, restyle the spinner and tool rows, and watch or rewrite tool calls and prompts.
- It installs like any plugin: add its marketplace with /plugin marketplace add owner/repo, then /plugin install name@marketplace.
- Check what a mod can reach before installing: it runs with your permissions. Reach goes from drawing only, to reading files, to writing files or running processes, to the network. Run claude plugin validate on a clone to list its hooks and calls without running it.
- Turn one off from the Installed tab in /plugin, or start Claude Code with --safe-mode to skip every customization for a session.
Details
- Repository
- lucasram20/claude-mods
- Folder
better-diff- Marketplace
better-diff- License
- MIT
- Last updated
- 10 October 2026
- Listed in
- awesome-claude-code-mods
FAQ
What is better-diff?
Draws Edit and Write results as a clean, opencode-style diff: line-number gutter, soft add/remove colors, a +N -M summary It is a mod for Claude Code, from lucasram20/claude-mods on GitHub.
What can the better-diff mod access?
Its widest reach is "draws and remembers" (draws). It draws in ToolResult. Like any mod, it runs with your permissions.
How do I install better-diff?
Inside Claude Code (v2.1.287 or later), run /plugin marketplace add lucasram20/claude-mods and then /plugin install better-diff@better-diff.
More git & github mods
autonomous-loop
yai333/autonomous-loop
A state-machine graph engine that drives a ticket through claim -> worktree -> coding -> evaluate -> review -> human approval, spawning and monitoring subagents at each step.
better-rewind
hamTotk/better-rewind
Rewind or summarize from any prompt, tool call or AskUserQuestion answer, with a reply preview and saved branches
autocommit
Iliesseu28/claude-autocommit
Turns every turn Claude takes into a clean git commit: only the files that turn changed, a Conventional Commits message written by Haiku, a secret scan before every commit, undo and squash. Plus a band above the prompt with model, effort, context and commits.
blade-of-commits
steven-ngle/blade-of-commits
A commit button above the Claude Code prompt: suggests a clean commit message for the last task, Claude commits it, and a pixel-art Malenia dances while it happens.
airlock
BillyMRX1/airlock
Routes supported project edits into a Git worktree for review, accept or reject. Worktree routing is not a filesystem sandbox.
blast-radius
akaz01/claude-mods
Holds risky shell commands (rm -rf, git reset --hard, git clean, force push, migrations) and shows what they would change, with Proceed and Cancel buttons.
Browse the most popular Claude Code mods, all git & github mods, or the skills and MCP server directories.