Customize Claude Code with mods in TypeScript | Claude by Anthropic
Anthropic has released mods for Claude Code, small TypeScript functions that let users customize how the AI coding assistant works by hooking into events like tool calls, permission requests, and UI rendering—users can rewrite prompts, block tool calls, redact secrets, or modify the interface without waiting for official features. Mods ship as plugins and are stackable (multiple mods can hook the same event), run with full machine access like any installed code, and teams can use them for governance features like production safeguards or audit logging, with enterprise controls available through a built-in security mod that restricts risky operations.