Claude Code mods → 组成部分 → Claude Code
AI 来源复核 · Jev 67%mod 是装在 plugin 里的 JS/TS hook 模块,常驻 Claude Code 会话;要求 Claude Code 2.1.287 或更高版本。
1 条出处记录 · 1 条报告快照
· Getting started with Claude Code mods
独立 AI 来源复核 · 2026-10-01
正文与官方引文明确mods为Claude Code插件内JS/TS hook、常驻会话;note最低版本2.1.287有源,组件方向正确。
Codex 独立来源复核 · Jev 67% · 不计人工核验逐字原文依据
19: Mod 没有引入新的扩展形态,就是 hook 加 plugin:一个 JS/TS 模块,常驻在会话内,能看到每一个事件。
40: “A mod is loaded once and stays in the session.” ¶12 [L1]
13: 02 文章用约 80 行的 Token Weather 讲完了从目录、渲染、 $.state 存状态、 claude plugin validate / test 到 marketplace 分发的全流程,要求 Claude Code 2.1.287 或更高版本,而且默认开启。
Under the hood, mods are hooks, and they ship inside plugins.