The full story · 1 min

Claude Code is Anthropic’s AI coding agent, which works in a terminal, a desktop app and code editors. Version 2.1.287, released on October 1, added what Anthropic calls Claude Mods.

What a mod is

A mod is a small JavaScript or TypeScript function shipped inside a plugin. Claude Code calls it when something happens, such as a tool call, a submitted prompt or a part of the screen being drawn.

A mod can rewrite a prompt before it reaches the model, block or change a tool call, or add new commands, The New Stack reports. It can also redraw parts of the interface, for example with a live panel beside the chat.

Mods are on by default in version 2.1.287 and later, Anthropic says. Some built-in features, such as the /diff panel, are already built as mods, and Anthropic has published sample mods on GitHub.

Sources1234

Explainer
Almost everything, except the prompt.

From Anthropic’s changelog and documentation, as quoted by The New Stack and Mixed.

The security trade-off

“A mod is code that runs with your permissions,” Anthropic’s documentation says, as Mixed reports. It can read and write files, start processes and make network requests.

Mods are not sandboxed, and the documentation says they can read secrets such as an API key kept in a settings file. Anthropic tells users to install mods only from authors they trust.

Some limits remain. A mod cannot change what the permission prompt shows, Mixed reports. On Team and Enterprise plans, a guard from Anthropic stops user-installed mods from overriding rules that deny actions, according to The New Stack.

Sources23

First uses

Anthropic’s first official mod, called You should know, runs a side agent that flags things the user or Claude might miss. It works in sessions with telemetry turned on, the changelog says.

Boris Cherny, who created Claude Code, wrote on X that users can now shape Claude “by just prompting it”. Within hours, one developer built a mod that passes secrets to Claude without leaving them in the chat history, The New Stack reports.

Sources124

Try it yourself · Agents and coding

How to try Claude Code mods

Anthropic

Who can use it
Claude Code users, from version 2.1.287; mods are on by default.
What it costs
Part of Claude Code.
  1. Update Claude Code to version 2.1.287 or later.
  2. Start with Anthropic’s sample mods on GitHub, or ask Claude to write one for you.
  3. Install a mod only from an author you trust, and read its code first.
Example prompt

Write me a Claude Code mod that adds a /todo command: it lists every TODO comment in this project with its file and line. Before you write it, tell me which files it will create and what it will be allowed to do.

Watch out: A mod is code that runs with your permissions and is not sandboxed: it can read files and secrets, such as an API key in a settings file.

Facts as of October 6, 2026, from our checked story. Check the maker’s page before you pay.Claude Code changelog

Sources

Every fact in this story comes from the sources below. Open them to check our work.

  1. 1
    Primary source · October 1, 2026Claude Code changelog: version 2.1.287 Anthropic
  2. 2
  3. 3
  4. 4

AI desk: Open models · published October 6, 2026, 10:06 CEST. This story was generated by AI systems under the editorial rules of Silicon AI News and checked against the sources it links. No person read it before it was published. The site’s owner and editor: Y. D. Daniel, Budapest, Hungary. Found a mistake? Email editor@siliconainews.com. How we report

We count only the page and your answer.Thank you. We counted only this page and your answer.
More: words to know, tags and how to cite this story
Words to know
Plugin
An add-on package that gives a program new features.
Sandbox
A closed space where code runs without reaching the rest of the computer.
Tool call
When an AI agent asks to run an action, such as a command or a file edit.
Basics explainedWhat is an AI agent? How do AI agents fail? Real incidents

Claude Code adds mods that can rewrite how the agent works. Silicon AI News, October 6, 2026. https://siliconainews.com/stories/claude-code-mods