Category artwork
🏛️ Built into Claude Code see repository listed 2026-09-15

diff

/diff opens the session’s uncommitted changes in a pane beside the transcript, file by file, refreshed as Claude edits.

Built into Claude Code mod for Claude Code by Anthropic · built on function hooks · runs inside Claude Code

0 votes all time

Install diff

Step 0, once: enable function hooks with export CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1 (bash/zsh), $env:CLAUDE_CODE_ENABLE_FUNCTION_HOOKS="1" (PowerShell), or put it under env in ~/.claude/settings.json. Needs Claude Code 2.1.269+. Guide

Built into Claude Code.
# from source:
claude --plugin-dir mods/diff
Requiresfunction hooks: CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1, Claude Code 2.1.269+
README badge[![Claude Mods](https://claudemods.ai/badge/diff.svg)](https://claudemods.ai/mods/diff)
Open repository ↗ Submit your own

About diff

One of the first three built-in mods whose source Anthropic published. A good reference for a Pane surface that refreshes on tool calls.

New to mods? Start here. claudemods.ai is an independent catalog, not affiliated with Anthropic. Listings are contributed by the community and link to third-party code. Read the source before installing; mods run inside Claude Code with the permissions of your session. Something wrong with this listing? Tell us.

More in Built into Claude Code

All →
Built into Claude Code · Claude Code mod
New

sec-default

The security default for organizations: keeps managed hooks, prompt content, settings and tool policy out of reach of user-installed plugins.

AAnthropic
Built into Claude Code · Claude Code mod
New

telemetry

Adds $.telemetry (log, mark) so any plugin can record an event as a first-party analytics row; sends nothing when analytics are off.

AAnthropic