What a Claude Code mod is
“A mod can rewrite a prompt, add new UI, replace a built-in feature, or add entirely new functionality.”
Claude Code is an AI tool from Anthropic that writes code for you. You describe a task. Claude, the AI model, then reads your files, runs commands and changes code until the task is done. A plugin is an add-on package for Claude Code, such as a new command or a connection to another service.
A mod is a plugin with code inside. The code is a set of small functions, written in JavaScript or TypeScript. Claude Code calls one of them each time a certain thing happens, which the docs call an event. Examples of events: Claude is about to use a tool, you send a prompt, or Claude Code is about to draw the spinner.
Each of these functions is called a hook. A hook can watch the event, change it, or handle it completely, so Claude Code's usual behaviour never runs. Why would you want that? To show something useful on screen, or to stop Claude from doing something you do not like. Claude Code already had a different thing also called hooks, now named settings hooks: a shell command, web request or prompt that you set in a settings file, which runs outside Claude Code. A mod's hooks run inside it.
Anthropic launched mods on 1 October 2026. The changelog (the list of changes in each version) for version 2.1.287 says "Added Claude Mods: plugins may now modify deeper behavior", and GitHub lists that release at 18:00 UTC (world standard time) that day. The docs say mods need 2.1.287 or later and are on by default. The latest version when I wrote this was 2.1.289.







