{"slug": "anthropic-opens-claude-code-to-mods-that-rewrite-its-own-functions", "title": "Anthropic opens Claude Code to mods that rewrite its own functions", "summary": "Anthropic released mods for Claude Code on October 1, 2026, letting developers write event-driven TypeScript or JavaScript functions that alter prompts, tool calls, interface elements, and features, requiring Claude Code v2.1.287 or later with mods enabled by default. During early access from September 9 to 15, 2026, the community found that 14 of 31 public mods were capable of executing host processes, since mods run with the same file, command, and machine access as Claude Code itself. Anthropic converted built-in components including the '/diff' pane, the agents.md loader, and telemetry into mods, and installation runs through the existing /plugin command and plugin marketplaces.", "body_md": "# Anthropic opens Claude Code to mods that rewrite its own functions\n\nDevelopers can now hook into Claude Code's internals with small TypeScript functions, though the same power raises security questions\n\n[Anthropic](https://cryptobriefing.com/markets/anthropic/) has handed developers a screwdriver and invited them to open up Claude Code. Its AI coding tool now supports **mods**, small functions that can rewrite how the tool behaves and change what its interface looks like.\n\nThe update landed on October 1, 2026.\n\n## What mods actually do\n\nTechnically, mods are small, event-driven functions written in TypeScript or JavaScript. They hook into internal events inside Claude Code, which means they fire when specific things happen in the tool.\n\nOnce triggered, a mod can alter the prompts Claude receives. It can adjust the tool calls the AI makes, change interface elements, or bolt on entirely new features.\n\nMods slot into Claude Code’s existing plugin system rather than replacing it. They work in both the command-line version and the desktop app.\n\nGetting them running requires Claude Code v2.1.287 or later. In supported versions, mods are switched on by default, so there is no extra setup flag to flip.\n\nInstallation and management run through the existing **/plugin** command and plugin marketplaces.\n\n## Anthropic ate its own cooking\n\nSeveral built-in pieces of Claude Code have been converted into mods. That list includes the ‘/diff’ pane, the agents.md loader, and telemetry features. These now run as customizable modules instead of fixed parts of the tool.\n\n### AI, tech, and the markets they move—in one daily briefing.\n\nDaily. Free. Join 34,000+ readers across crypto, finance, and policy.\n\n## A quiet rollout, then a fast crowd\n\nEarly access began between September 9 and 15, 2026, through an environment variable that enabled function hooks.\n\nDevelopers who found the switch got to work quickly. The community built games and context monitors that run alongside Claude Code’s normal functions.\n\nThese add-ons reportedly operate at negligible additional token costs.\n\nClaude Code’s plugin infrastructure entered public beta around October 2025, roughly a year before mods arrived.\n\n## The security footnote that is not really a footnote\n\nMods run with the same level of access as Claude Code itself, which is designed to read files, run commands, and act on a developer’s machine.\n\nDuring the early access period, the community examined the public mods available at the time. Of 31 public mods, 14 were identified as capable of executing host processes.\n\nIn plainer terms, nearly half of the publicly shared mods could launch programs on the user’s own computer.\n\n## What this means for developers and the AI coding race\n\nBecause mods are on by default and share Claude Code’s permissions, users effectively need to vet them the way they would vet any code running on their machine. The 14-of-31 figure from early access is a useful reminder that capability and risk tend to arrive together.\n\nFor engineering organizations, security teams that approved Claude Code as a single tool may now need policies covering which mods are allowed, who can install them, and which marketplaces are trusted.\n\n**Disclosure:** This article was edited by Diego Almada Lopez. For more information on how we create and review content, see our\n\n[Editorial Policy](https://cryptobriefing.com/editorial-policy/).", "url": "https://wpnews.pro/news/anthropic-opens-claude-code-to-mods-that-rewrite-its-own-functions", "canonical_source": "https://cryptobriefing.com/anthropic-claude-code-mods-customization/", "published_at": "2026-10-01 20:17:18+00:00", "updated_at": "2026-10-01 21:52:22.188031+00:00", "lang": "en", "topics": ["ai-tools", "ai-agents", "developer-tools", "ai-safety", "artificial-intelligence"], "entities": ["Anthropic", "Claude Code", "Diego Almada Lopez"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/anthropic-opens-claude-code-to-mods-that-rewrite-its-own-functions", "markdown": "https://wpnews.pro/news/anthropic-opens-claude-code-to-mods-that-rewrite-its-own-functions.md", "text": "https://wpnews.pro/news/anthropic-opens-claude-code-to-mods-that-rewrite-its-own-functions.txt", "jsonld": "https://wpnews.pro/news/anthropic-opens-claude-code-to-mods-that-rewrite-its-own-functions.jsonld"}}