AI编码
x.com ·
@latentspacepod
Anthropic 的 Thariq 谈 Claude Mods:上下文、子代理、结构化输出与 UI 控制
Latent.Space 转述 Anthropic 的 Thariq 对 Claude Mods 的介绍:Mods 可获取对话轮数与 token 用量等上下文信息,因运行在同一进程内可派生 subagents 并解析其结果,支持结构化输出,还能修改 UI,这是 hooks 做不到的。引用的 ClaudeDevs 公告称 Claude Code 现已支持 mod,可用少量 TypeScript 编写或由 Claude 生成,并以 plugin 形式通过 /plugin 在 CLI 或桌面端安装。
AI推荐理由 Anthropic 的 Thariq 在访谈中说明 Claude Mods 的能力边界:可访问对话轮数与 token 用量等上下文、在进程内派生 subagents 并解析其结果、使用结构化输出,以及修改 UI(hooks 无法做到)。同时引用 ClaudeDevs 公告称 Claude Code 现可 mod,用少量 TypeScript 编写并随 plugin 通过 /plugin 安装。属于开发者工具能力的一手说明,但为播客转述与推文引用,缺少文档与实测证据。
72
浏览 895
点赞 5
评论 1
转发 2
正文
.[@AnthropicAI](https://x.com/AnthropicAI)’s Thariq on what Claude Mods unlock: conversation context, subagents, structured output, and control over the UI.
“It has a bunch of things in the scope … like how many turns is in this conversation, right? Like how many tokens have been used?”
“Because it’s all happening in process, you can spawn subagents … you can parse the results of those, you can use structured output to sort of like return them.”
“And then you can modify the UI, which you can never do in hooks.”
[@trq212](https://x.com/trq212)[@ClaudeDevs](https://x.com/ClaudeDevs)
[Your browser does not support the video tag.](https://video.twimg.com/amplify_video/2105745557226684416/vid/avc1/1920x1080/EXPy-gyeuilkzJU6.mp4?tag=29)
[🔗 View on Twitter](https://x.com/latentspacepod/status/2105746323907735663/video/1)

ClaudeDevs@ClaudeDevs
You can now mod Claude Code:
- Change how it behaves
- Customize the UI
- Swap in your own features
Write one with a few lines of TypeScript, or have Claude build it for you. Mods ship inside plugins, so you install them with /plugin in the CLI or desktop app.
A few examples:
[Your browser does not support the video tag.](https://video.twimg.com/amplify_video/2105718499234693121/vid/avc1/1920x1080/jwInKuHdx4QkD-_s.mp4?tag=29)
[🔗 View on Twitter](https://x.com/ClaudeDevs/status/2105721434807083061/video/1)
[🔗 View Quoted Tweet](https://x.com/ClaudeDevs/status/2105721434807083061)