Claude Code 推出 Mods 功能,用户可修改构建并自定义 UI
中文摘要
Anthropic 为 Claude Code 推出 Mods 功能,允许用户通过 JS/TS 模块自定义行为、UI 并进行分享。
English Summary
Anthropic launched Mods for Claude Code, allowing users to customize behavior and UI via JS/TS modules and share them through Claude Directory.
Original Excerpt
Anthropic 为 Claude Code 推出 Mods 功能,用户可以修改构建。Mods 本质上是 hook,随插件分发,每个是一个小型 JavaScript 或 TypeScript 模块,在会话内运行并能看到每个事件,可重写或替换 Claude Code 的行为,甚至绘制自定义 UI,还可通过 Claude Directory 与他人分享。