DigestAI news desk

Cut through the AI noise.

Agents & Tools3 min read

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.

1 source primary source

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.

Full story from Anthropic Engineering primary sourceOpen source ↗

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 ↗

Topics · follow one to build your own front page

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.

Comments

via GitHub Discussions

More in Agents & Tools

All →

Related stories