14>14>
15> 这些情况在其他页面上有介绍:15> 这些情况在其他页面上有介绍:
16>16>
17> * **如何安装插件**:请参阅[安装插件](/docs/zh-CN/plugins/install)17> * **如何安装插件**:请参阅[安装插件](/docs/zh-CN/plugins/install.md)
18> * **安装失败**:请参阅[插件故障排除](/docs/zh-CN/plugins/troubleshooting)18> * **安装失败**:请参阅[插件故障排除](/docs/zh-CN/plugins/troubleshooting.md)
19 19
20转到你需要的页面部分:20转到你需要的页面部分:
21 21
33| 存储库 | [`anthropics/claude-plugins-official`](https://github.com/anthropics/claude-plugins-official) | [`anthropics/claude-plugins-community`](https://github.com/anthropics/claude-plugins-community) | [`anthropics/claude-code`](https://github.com/anthropics/claude-code/tree/main/plugins) |33| 存储库 | [`anthropics/claude-plugins-official`](https://github.com/anthropics/claude-plugins-official) | [`anthropics/claude-plugins-community`](https://github.com/anthropics/claude-plugins-community) | [`anthropics/claude-code`](https://github.com/anthropics/claude-code/tree/main/plugins) |
34| 市场名称 | `claude-plugins-official` | `claude-community` | `claude-code-plugins` |34| 市场名称 | `claude-plugins-official` | `claude-community` | `claude-code-plugins` |
35| 其中包含的内容 | Anthropic 维护的插件,加上来自合作伙伴和其他作者的插件 | 第三方插件,由其作者提交给 Anthropic | 一小组示例插件,展示插件可以包含的内容 |35| 其中包含的内容 | Anthropic 维护的插件,加上来自合作伙伴和其他作者的插件 | 第三方插件,由其作者提交给 Anthropic | 一小组示例插件,展示插件可以包含的内容 |
36| 获取方式 | Claude Code 在你首次启动交互式终端会话时添加它,除非[托管策略](/docs/zh-CN/plugins/org#allow-the-official-marketplace-and-your-own)或 `CLAUDE_CODE_DISABLE_OFFICIAL_MARKETPLACE_AUTOINSTALL` 阻止它。如果缺少,请参阅[市场 `claude-plugins-official` 未找到](/docs/zh-CN/plugins/troubleshooting#marketplace-claude-plugins-official-not-found) | 你在 Claude Code 会话中使用 `/plugin marketplace add anthropics/claude-plugins-community` 添加它 | 你在 Claude Code 会话中使用 `/plugin marketplace add anthropics/claude-code` 添加它 |36| 获取方式 | Claude Code 在你首次启动交互式终端会话时添加它,除非[托管策略](/docs/zh-CN/plugins/org.md#allow-the-official-marketplace-and-your-own)或 `CLAUDE_CODE_DISABLE_OFFICIAL_MARKETPLACE_AUTOINSTALL` 阻止它。如果缺少,请参阅[市场 `claude-plugins-official` 未找到](/docs/zh-CN/plugins/troubleshooting#marketplace-claude-plugins-official-not-found) | 你在 Claude Code 会话中使用 `/plugin marketplace add anthropics/claude-plugins-community` 添加它 | 你在 Claude Code 会话中使用 `/plugin marketplace add anthropics/claude-code` 添加它 |
37 37
38如果你编写了插件并希望其他人安装它,请参阅[发布插件](/docs/zh-CN/plugins/publish),其中涵盖了你自己的市场和提交到 Anthropic 的目录。38如果你编写了插件并希望其他人安装它,请参阅[发布插件](/docs/zh-CN/plugins/publish.md),其中涵盖了你自己的市场和提交到 Anthropic 的目录。
39 39
40### `anthropics/claude-code` 中的演示市场40### `anthropics/claude-code` 中的演示市场
41 41
45 45
46## 在官方市场中查找插件46## 在官方市场中查找插件
47 47
48默认情况下,Claude Code 为你添加了官方市场 `claude-plugins-official`。它列出的大部分内容来自合作伙伴和其他作者,而不是来自 Anthropic:工具供应商发布连接 Claude Code 到其服务的插件,Anthropic 维护一个较小的自己的插件集,例如 `commit-commands`、`code-review`、`feature-dev` 和[语言服务器插件](/docs/zh-CN/plugins/code-intelligence)。目录经常变化,所以此页面不列出它。48默认情况下,Claude Code 为你添加了官方市场 `claude-plugins-official`。它列出的大部分内容来自合作伙伴和其他作者,而不是来自 Anthropic:工具供应商发布连接 Claude Code 到其服务的插件,Anthropic 维护一个较小的自己的插件集,例如 `commit-commands`、`code-review`、`feature-dev` 和[语言服务器插件](/docs/zh-CN/plugins/code-intelligence.md)。目录经常变化,所以此页面不列出它。
49 49
50要查看其中的内容,请在 Claude Code 会话中使用 `/plugin` 的 **Discover** 选项卡(你可以搜索),或在网络上浏览 [Claude Marketplace](https://claude.com/marketplace/plugins)。50要查看其中的内容,请在 Claude Code 会话中使用 `/plugin` 的 **Discover** 选项卡(你可以搜索),或在网络上浏览 [Claude Marketplace](https://claude.com/marketplace/plugins)。
51 51
54你可以在 Claude Code、网络或 GitHub 上搜索 Anthropic 的市场中的插件:54你可以在 Claude Code、网络或 GitHub 上搜索 Anthropic 的市场中的插件:
55 55
56* **在 Claude Code 中,通过浏览**:在交互式会话中运行 `/plugin`。其 **Discover** 选项卡列出了你的市场中的插件。56* **在 Claude Code 中,通过浏览**:在交互式会话中运行 `/plugin`。其 **Discover** 选项卡列出了你的市场中的插件。
57* **在 Claude Code 中,按名称**:在会话中运行 `/plugin install <name>`,它会在你的市场中查找该名称。如果插件在其中一个中,其详细信息会在 `/plugin` 面板中打开,在你选择[安装范围](/docs/zh-CN/plugins/install#install-a-plugin)并在那里确认之前,不会安装任何内容。如果不在,你会看到 `Plugin "<name>" not found in any marketplace`。57* **在 Claude Code 中,按名称**:在会话中运行 `/plugin install <name>`,它会在你的市场中查找该名称。如果插件在其中一个中,其详细信息会在 `/plugin` 面板中打开,在你选择[安装范围](/docs/zh-CN/plugins/install.md#install-a-plugin)并在那里确认之前,不会安装任何内容。如果不在,你会看到 `Plugin "<name>" not found in any marketplace`。
58* **在网络上**:在 [Claude Marketplace](https://claude.com/marketplace/plugins) 上搜索完整目录,它显示安装计数并标记一些插件为 **Anthropic verified**。58* **在网络上**:在 [Claude Marketplace](https://claude.com/marketplace/plugins) 上搜索完整目录,它显示安装计数并标记一些插件为 **Anthropic verified**。
59* **在 GitHub 上**:打开市场存储库中的 `.claude-plugin/marketplace.json`,例如 [`anthropics/claude-plugins-official`](https://github.com/anthropics/claude-plugins-official)。该文件就是目录本身。59* **在 GitHub 上**:打开市场存储库中的 `.claude-plugin/marketplace.json`,例如 [`anthropics/claude-plugins-official`](https://github.com/anthropics/claude-plugins-official)。该文件就是目录本身。
60 60
61Anthropic 的目录与这些市场分开。该目录是 claude.ai 上的目录。你从 claude.ai 上的目录添加的插件通过[账户同步](/docs/zh-CN/plugins/loading#synced-plugins)到达 Claude Code。要在那里列出你自己的插件,请参阅[提交到 Anthropic 的目录](/docs/zh-CN/plugins/publish#submit-to-anthropics-directory)。61Anthropic 的目录与这些市场分开。该目录是 claude.ai 上的目录。你从 claude.ai 上的目录添加的插件通过[账户同步](/docs/zh-CN/plugins/loading.md#synced-plugins)到达 Claude Code。要在那里列出你自己的插件,请参阅[提交到 Anthropic 的目录](/docs/zh-CN/plugins/publish.md#submit-to-anthropics-directory)。
62 62
63要从桌面应用或脚本安装,或查看云会话加载的内容,请参阅[安装插件](/docs/zh-CN/plugins/install)。63要从桌面应用或脚本安装,或查看云会话加载的内容,请参阅[安装插件](/docs/zh-CN/plugins/install.md)。
64 64
65### 添加社区或演示市场65### 添加社区或演示市场
66 66
71 71
72如果 `claude-plugins-official` 不在 `/plugin` 的 **Marketplaces** 选项卡上,用 `/plugin marketplace add anthropics/claude-plugins-official` 以相同的方式添加它。72如果 `claude-plugins-official` 不在 `/plugin` 的 **Marketplaces** 选项卡上,用 `/plugin marketplace add anthropics/claude-plugins-official` 以相同的方式添加它。
73 73
74对于 `not found` 错误和无法添加的市场,请参阅[插件故障排除](/docs/zh-CN/plugins/troubleshooting#install-a-plugin)。74对于 `not found` 错误和无法添加的市场,请参阅[插件故障排除](/docs/zh-CN/plugins/troubleshooting.md#install-a-plugin)。
75 75
76## 第三方市场76## 第三方市场
77 77
78许多流行的插件不在任何 Anthropic 市场中。它们在其作者自己的市场中,通常是一个 GitHub 存储库,其根目录中有 `.claude-plugin/marketplace.json`。78许多流行的插件不在任何 Anthropic 市场中。它们在其作者自己的市场中,通常是一个 GitHub 存储库,其根目录中有 `.claude-plugin/marketplace.json`。
79 79
80Anthropic 不审查第三方市场,所以在添加一个之前,请阅读[插件安全和信任](/docs/zh-CN/plugins/security)。80Anthropic 不审查第三方市场,所以在添加一个之前,请阅读[插件安全和信任](/docs/zh-CN/plugins/security.md)。
81 81
82要使用第三方市场,在 Claude Code 会话中使用 `/plugin marketplace add <owner>/<repo>` 添加其存储库,然后使用 `/plugin install <plugin>@<marketplace-name>` 安装。市场名称是该 `marketplace.json` 的 `name` 字段,Claude Code 在添加市场后会打印它。82要使用第三方市场,在 Claude Code 会话中使用 `/plugin marketplace add <owner>/<repo>` 添加其存储库,然后使用 `/plugin install <plugin>@<marketplace-name>` 安装。市场名称是该 `marketplace.json` 的 `name` 字段,Claude Code 在添加市场后会打印它。
83 83
84有关添加市场的其他方式,请参阅[添加市场](/docs/zh-CN/plugins/install#add-a-marketplace)。84有关添加市场的其他方式,请参阅[添加市场](/docs/zh-CN/plugins/install.md#add-a-marketplace)。
85 85
86## 后续步骤86## 后续步骤
87 87
88* [安装和管理插件](/docs/zh-CN/plugins/install):从这些市场之一安装插件并选择范围88* [安装和管理插件](/docs/zh-CN/plugins/install.md):从这些市场之一安装插件并选择范围
89* [插件安全和信任](/docs/zh-CN/plugins/security):插件可以在你的机器上做什么,以及在安装前如何审查插件89* [插件安全和信任](/docs/zh-CN/plugins/security.md):插件可以在你的机器上做什么,以及在安装前如何审查插件
90* [代码智能插件](/docs/zh-CN/plugins/code-intelligence):安装官方市场的语言服务器插件之一90* [代码智能插件](/docs/zh-CN/plugins/code-intelligence.md):安装官方市场的语言服务器插件之一
91* [创建市场](/docs/zh-CN/plugins/create-marketplace):在 Anthropic 的市场旁边运行你自己的市场91* [创建市场](/docs/zh-CN/plugins/create-marketplace.md):在 Anthropic 的市场旁边运行你自己的市场