theaicatalog
Anthropic ยท Products

Anthropic adds mods to customize Claude Code

Anthropic introduced mods, small TypeScript functions that change how Claude Code works. A mod can rewrite a prompt, block or retry a tool call, approve or deny permission requests, redact secrets from tool output, or change the interface. Mods ship inside plugins and work in the Claude Code CLI and desktop app. They are not sandboxed and run with the same machine access as Claude Code, so Anthropic says to install them only from trusted sources. The built-in /diff feature is now a mod, and Team and Enterprise plans load a built-in mod called sec-default that stops installed mods from overriding permission deny rules.