Anthropic 推出 Claude Code 的 Mods 功能,用户可修改或替换 Claude Code 的行为,甚至绘制自定义 UI。Mods 本质是 hooks,随插件发布,为在会话内运行的 JavaScript 或 TypeScript 模块,可实时看到每个事件,并可通过 Claude Directory 分享。作者认为这是迈向个性化 UI 的初步尝试。
ANTHROPIC 🔥: Users can now modify Claude Code builds via Mods!
> "Mods can rewrite or replace what Claude Code does, and can even draw custom UI. Under the hood, mods are hooks, and they ship inside plugins. Each one is a small JavaScript or TypeScript module that runs inside your session and sees every event as it happens."
Mods can also be shared with others via Claude Directory.
Tbh, you can now "mod" most of the client-side software with a bit of effort and tokens. These are first steps towards "personalized UIs," so to speak.
https://x.com/ClaudeDevs/status/2105721434807083061/video/1
来源:🚨 AI News | TestingCatalog · x.com