Anthropic has introduced mods for Claude Code, a new way for users and teams to customize how the coding assistant behaves. The company says the features are small TypeScript functions that can rewrite prompts, alter the UI, replace built-in features or add new functionality.
Mods ship inside plugins, so they can be installed and shared through the same plugin flow Anthropic already uses for Claude Code. They work in both the Claude Code CLI and the desktop app, and Anthropic says users can even ask Claude Code to help create a mod, install it and hot reload it in the current session.
According to Anthropic, a mod can hook into events such as tool calls, permission requests and screen rendering. That means it can block or retry a tool call, approve or deny a permission request, redact secrets from tool output, or modify parts of the interface Claude Code draws.
The company also said some built-in features are now being shipped as mods. One example is /diff, which Anthropic says can now be turned off or replaced with a custom version. The goal, the company says, is to let Claude Code feel more personal while keeping a small core and adding only the features each user wants.
Anthropic added that mods also come with enterprise controls. On Team and Enterprise plans, or on machines with managed settings, a built-in mod called sec-default loads first and prevents risky behavior such as overriding permission-deny rules.