From the source
Anthropic introduced mods for Claude Code—small TypeScript functions that can rewrite prompts, add new UI, replace built-in features, or add entirely new functionality.
- Mods ship inside plugins, work in the CLI and desktop app, and are available today.
- Built-in capabilities like the /diff feature now ship as mods, allowing users to turn them off or replace them.





