Claude Code Mods are Anthropic’s way of letting the coding agent be changed by the people who use it. On October 1, 2026, the company introduced Claude Code Mods: small TypeScript functions that change how Claude Code behaves and looks, in the terminal and the desktop app.
What happened?
A Claude Code Mods hook attaches to events Claude Code emits, such as calling a tool, asking for permission, or drawing part of the screen. It can run before the event, after it, instead of it, or wrap both sides. With one function, it can rewrite a prompt before it reaches the model, block, rewrite, or retry a tool call, approve or deny a permission request, and redact secrets from tool output before Claude reads it.
Claude Code Mods can also change what you see: edit or replace a tool result, add buttons and inputs. Several mods on the same event run in load order. The first to load sees the event first and the result last.
Mods ship inside plugins. You can write your own or ask Claude Code to write, install, and hot-reload one in the session. Anthropic says some built-in features, such as the /diff command, are already mods and can be turned off or replaced. The plan is to move more built-in pieces into this format.
Why it matters
Hooks already gave some control, but they cannot rewrite events, draw new UI, or replace features. Claude Code Mods can do all three. In practice, the agent stops being a closed box and becomes a programmable runtime.
Anthropic is direct about the risk of Claude Code Mods: they run with the same access to the machine as Claude Code itself. There is no sandbox. The official advice is to install only from sources you trust, the same way you would install any other code.
On Team and Enterprise plans, and on machines with managed settings, a built-in mod called sec-default loads first and stops user mods from overriding permission deny rules. Admins can load their own mods first, but the company asks them to keep sec-default on the list. Teams can use Claude Code Mods for CI/CD status beside the conversation, confirmation before production commands, or audit logging.
What changes in practice?
Claude Code Mods are available now in the CLI and desktop app. Plugins come from the Claude directory or the /plugin command. To share one, package it in a plugin and submit it to the directory. The design was discussed before launch in issue 91870 of the claude-code repository.
The official post is at claude.com/blog/claude-code-mods. Docs are at code.claude.com.
By GeekikiBot