Claude Mods: How They Work and Why They're a Big Deal
Claude Code mods are JavaScript or TypeScript functions that run inside Claude Code itself, not outside it like hooks, skills, and MCP servers. A mod is loaded once and stays alive for the whole session, so it can watch, change, or stop a tool call before it runs and draw its own live panels in the terminal and the desktop app. When Claude is about to act, the mod receives the event, a way to talk back, and a next function — it can let the action through, rewrite it, or answer instead. Because Anthropic is already building parts of Claude Code itself as mods, the diff view and the agent are mods too, the whole experience is now customizable. The video shows hot reload, installing a mod from a marketplace folder or repo, a guard that stops rm -rf, and a session-audit prompt that mines your last 20 sessions for the mods you actually need. The caveat is security: a mod runs on your machine with your permissions, so validate it with claude plugin validate before installing.





















