Claude Code introduces TypeScript mods that can rewrite prompts and replace built-in features
Customize Claude Code with mods in TypeScript
AI summary
Anthropic has launched mods for Claude Code—using TypeScript functions to rewrite prompts, add or remove UI, or replace built-in features, now available in the CLI and desktop app, with the built-in /diff changed to a mod. Mods are distributed with plugins, have the same machine permissions as Claude Code, and are not sandboxed; the official recommendation is to install only from trusted sources. Team and Enterprise plans and machines configured with managed settings will load the sec-default mod first, blocking high-risk operations such as user-installed mods overriding permission denial rules.
Read original