Built into Claude Code · Claude Code mod New
diff
/diff opens the session’s uncommitted changes in a pane beside the transcript, file by file, refreshed as Claude edits.
Anthropic’s published built-in mods are reference implementations for the evolving function-hook API. Read them alongside the types generated by your installed build. Built-in entries are documented here for learning; installation differs from a community marketplace plugin.
Built into Claude Code · Claude Code mod /diff opens the session’s uncommitted changes in a pane beside the transcript, file by file, refreshed as Claude edits.
Built into Claude Code · Claude Code mod The security default for organizations: keeps managed hooks, prompt content, settings and tool policy out of reach of user-installed plugins.
Built into Claude Code · Claude Code mod Adds $.telemetry (log, mark) so any plugin can record an event as a first-party analytics row; sends nothing when analytics are off.