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
5 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 →- Researchers introduce ARIA framework for correcting multi-agent AI errors in real time · 1 src
- OpenAI introduces Dots agent for asynchronous task delegation · 4 src
- PrismML releases Ternary Bonsai 2 models for local AI on phones and wearables · 1 src
- Gmail Live rolls out to paid Workspace users · 1 src
- Meta's Muse AI permits explicit adult conversations, unlike other Meta apps · 4 src
Comments
via GitHub Discussions