From the source
Anthropic released mods for Claude Code, enabling developers to customize its appearance and behavior using small JavaScript or TypeScript functions that hook into events.
- Mods can rewrite prompts, block or rewrite tool calls, handle permissions, replace interface parts, or add new functionality.
- They are enabled by default in Claude Code 2.1.287 and later, and can be distributed as plugins via
GitHub repositories.