Claude Code mods: what they are and when to use one
A mod is a plugin whose JavaScript or TypeScript runs inside Claude Code. How it works, when to pick it over a hook, skill or MCP server, the layers it runs in, and its risks. Version 2.1.295.
Changing Claude Code from the inside. What a mod is and when it is worth it, and how to write, check and run a first one.
2 parts
A mod is a plugin whose JavaScript or TypeScript runs inside Claude Code. How it works, when to pick it over a hook, skill or MCP server, the layers it runs in, and its risks. Version 2.1.295.
Building a mod that blocks npm commands that skip a wrapper script and adds a /node-guard command: the files, claude plugin validate, a test, running it, letting Claude write it, and the pitfalls.