Claude Code Mods: How to Rewire Your Coding Agent With Tiny TypeScript Hooks
On October 1, 2026, Anthropic shipped something that quietly changed what Claude Code is. It wasn't a new model. It was mods : small TypeScript functions that run inside Claude Code and hook into the events the agent already fires β a prompt being submitted, a tool call about to run, a piece of the screen being drawn.
Until then, customizing Claude Code meant a settings file, a slash command, or a shell hook that watched from the outside. Mods move the customization inside the process. That one change is why developers are suddenly talking about Claude Code as a platform they can shape, not just a tool they use.
What a mod actually is
A mod is a plugin whose code registers event handlers. When Claude Code is about to do something β send your prompt to the model, run a Bash command, ask for permission, render a panel β it calls each registered handler first.β¦