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.
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.
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.
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.
- Update Claude Code to version 2.1.287 or later.
- Start with Anthropic’s sample mods on GitHub, or ask Claude to write one for you.
- Install a mod only from an author you trust, and read its code first.
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
- 2Research · October 2, 2026‘No reason why everyone should have an identical Claude experience’: Anthropic’s mods let you change Claude Code’s look and behavior The New Stack
- 3Research · October 2, 2026Claude Code 2.1.287 adds mods, and Anthropic says they can read your API key Mixed
- 4Research · October 3, 2026Claude Code’s new Mods system lets developers rewrite the AI coding tool from the inside The Decoder
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
More: words to know, tags and how to cite this story
- 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.
Claude Code adds mods that can rewrite how the agent works. Silicon AI News, October 6, 2026. https://siliconainews.com/stories/claude-code-mods