Anthropic introduces mods for Claude Code
Anthropic has added a new feature called mods to its Claude Code product. Mods are small TypeScript functions that can rewrite prompts, add or replace UI elements, or add new functionality. They run inside plugins and can be installed via the CLI or desktop app.
Key points
- Mods are TypeScript functions that modify Claude Code behavior
- Mods ship inside plugins and install via CLI or desktop app
- Built‑in features like /diff now ship as mods and can be replaced
Developers can write their own mods or ask Claude Code to generate one. Mods are not sandboxed, so users should only install them from trusted sources. The system emits events for actions such as calling a tool or drawing part of the screen, and a mod can hook into these events to run before, after, or instead of the original action.
Some built‑in features, like the /diff command, are now shipped as mods, allowing users to enable or replace them. Admins on Team and Enterprise plans can control which mods load first, including a security‑default mod that blocks risky changes. The feature is available today in the CLI and desktop app.
The story so far
7 episodes →- Anthropic introduces mods for Claude Codethis story
Customize Claude Code with mods
Anthropic Engineering · 1 October 2026
Loading the full article…
This text was published by Anthropic Engineering. It is reproduced here with attribution so you can read it in full; the rights remain with the publisher. Read it at the source ↗
Coverage and discussion
2sources- Hacker News discussion · 6 pointsnews.ycombinator.com
- Claude Code's new Mods system lets developers rewrite the AI coding tool from the insidePress · The Decoder ·
The headline, key points and digest above were generated by Digest AI's editorial model from the linked sources. Automated summaries can contain errors: the sources are the record. Spotted a mistake? Tell us. Published by Martin K., who runs Digest AI and handles corrections.
More in Agents & Tools
All →- Gemini may delete existing text when asked to append, author reports · 1 src
- Google's Gemini outperforms ChatGPT and Claude as Android assistant · 1 src
- Meta launches Muse AI agent in Mexico, first in Latin America · 11 src
- Meta rolls out real-time voice and expressive avatars for Muse AI in the US · 7 src
- Meta improves Muse and Meta AI with Active Memory and Active Focus · 2 src
Comments
via GitHub Discussions