跳到主要内容
AI News HubLIVE
来源内容 · 翻译待补全3 分钟阅读

待翻译:“No reason why everyone should have an identical Claude experience”: Anthropic’s mods let you change Claude Code’s look and behavior

文章摘要

AI 服务暂时不可用,以下为来源摘要,待恢复后补全翻译:Developers have long been able to customize Claude Code to their preferences, via settings, persistent instructions in CLAUDE.md, hooks, and The post “No reason why everyone should have an identical Claude experience”: Anthropic’s mods let you change Claude Code’s look and behavior appeared first on The New Stack.

来源The New Stack AI作者: Paul Sawers
待翻译:“No reason why everyone should have an identical Claude experience”: Anthropic’s mods let you change Claude Code’s look and behavior
报告错误

纠错通道尚未开通,可先复制下方文章信息留存。

查看更正说明
直接读正文

AI 服务暂时不可用,以下为来源正文,待恢复后补全翻译。

Developers have long been able to customize Claude Code to their preferences, via settings, persistent instructions in CLAUDE.md, hooks, and MCP servers, alongside tweaks such as status lines and output styles. Those controls can shape the instructions Claude follows, its permissions, the tools it can use, and more — but they can’t change Claude Code’s own features or the rest of its interface. Now, however, Anthropic is giving developers much deeper control of Claude Code via mods, which are small JavaScript or TypeScript functions that hook into events inside Claude Code. A mod can rewrite a prompt before it reaches the model, block or rewrite a tool call, handle permission requests, replace parts of Claude Code’s interface, or add entirely new functionality. “Each person works differently, so there’s no reason why everyone should have an identical Claude experience.” Changing how Claude Code looks and behaves Taking to X on Thursday, Claude Code creator Boris Cherny describes mods as a way for developers to reshape Claude’s appearance and behavior via a simple prompt, with the ability to package those customizations as plugins that other users can install. “Each person works differently, so there’s no reason why everyone should have an identical Claude experience,” Cherny writes Mods are absolutely insane. You can now customize Claude to work and look the way you want by just prompting it. Each person works differently, so there's no reason why everyone should have an identical Claude experience. Make Claude your own, and share mods as plugins so others… https://t.co/FxQ8ggZ0uK — Boris Cherny (@bcherny) October 1, 2026 That can include changing what Claude Code displays while it’s working. For example, a mod might want to surface live information such as the number of tool calls Claude has made, how long it has been running, and how many tokens it has consumed, then present a summary once the task is complete. Live agent activity Users were already experimenting with more specialized uses within hours of the announcement. One software developer built a mod for passing credentials to Claude without leaving the underlying secret in the conversation history. How Claude Code mods work Mods have actually been in the works publicly for at least a month already. Anthropic first floated the idea on GitHub on September 3 under the more technical name “function hooks,” asking developers for feedback on an API that would let JavaScript and TypeScript functions intercept events inside Claude Code. Six days later, the company said it planned to ship the feature imminently under a rebranded “Claude Mods,” while retaining function hooks as the underlying mechanism. Mods are now enabled by default in Claude Code 2.1.287 and later. Because a mod’s code stays active throughout a session, it can remember information between events and interact with Claude Code as things happen. That makes it possible to build interface elements that update live, launch processes, add commands, or expose new tools to the model. Anthropic says that it’s already using mods for features including AGENTS.md support and the /diff pane, and has published their source in the Claude Code repository. “That makes mods a way to fit Claude Code to how you work.” In a technical blog post accompanying the launch, Addy Osmani a member of technical staff at Anthropic, acknowledges that developers could already customize Claude Code through various mechanisms. However, he says that mods give them control over Claude Code’s own behavior and interface, with modules that respond to events during a session and can alter or replace what Claude Code does. “That makes mods a way to fit Claude Code to how you work,” Osmani writes. In one example, Osmani walks through an approximately 80-line Mod called Token Weather, which tracks how much of Claude’s context window has been consumed and displays the result in a band above the prompt. As Claude reads more files, the display moves from “Clear” at 18% of a 200,000-token window, to “Showers” at 67%, and finally “Storm” at 81%, while also showing recent usage and how many tokens the latest turn added. Token Weather tracks context use Given that mods are distributed as plugins, developers can publish them through the same plugin mechanism, including from repositories on GitHub. That does, however, introduce a security consideration: mod code executes locally with access through Claude Code to the developer’s machine, so Anthropic recommends inspecting the source and installing only code from trusted publishers. For teams, however, mods inherit Claude Code’s existing plugin controls, while Team and Enterprise users and machines with managed settings load Anthropic’s sec-default guard ahead of user-installed mods. By default, that prevents those mods from overriding permission-deny rules; outside those guarded environments, mods can override some permission decisions. Mods are available now in the Claude Code CLI and desktop app, and can be installed or shared through plugin marketplaces, including GitHub repositories. The post “No reason why everyone should have an identical Claude experience”: Anthropic’s mods let you change Claude Code’s look and behavior appeared first on The New Stack.

展开要点与分析

文章情报

工程师中级

要点

  • AI 服务暂时不可用,系统已先保留来源内容与降级元数据。
  • Developers have long been able to customize Claude Code to their preferences, via settings, persistent instructions in CLAUDE.md, hooks, and The post “No reason why everyone shoul…

要点与分析由自动化流程生成,可能有误,请结合原始来源核实。