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.
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 ↗
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 →- OpenAI Dots tested for 24 hours as autonomous AI agents for email and scheduling · 1 src
- OpenAI launches Dots, always-on AI agents in ChatGPT · 59 src
- Microsoft adds Copilot Home, Code, and Autopilot to automate work tasks · 2 src
- Earendil releases Pi 1.0 agent harness with default MCP support · 2 src
- Amazon releases Strands Decider 2B, a Jev-inspired open-source decision model · 3 src
Comments
via GitHub Discussions