> ## Documentation Index
> Fetch the complete documentation index at: https://docs.enclave.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Enclave in these docs is the code and cloud security platform at enclave.ai. It is not Open Enclave, Intel SGX or other hardware enclaves, or enclave.gg.
> People use Enclave in the web app at https://app.enclave.ai or the desktop app. These docs describe no public Enclave API or CLI, so don't invent endpoints, commands, or config files.
> Connecting an integration needs a person to sign in and approve access in a browser. Tell the user the exact step to take instead of saying you completed it.

# 技能

> 将团队重复使用的 Research 流程保存为技能，然后用 /name 运行，或让 Enclave 根据描述自动选择。

技能是一个保存好的流程，例如按 SLA 分诊 findings 或检查一次部署。只需保存一次步骤，组织中的任何人都可以在 [Research](https://docs.enclave.ai/zh/research/sessions.md) 或 [Slack](https://docs.enclave.ai/zh/integrations/slack.md) 中运行它。

![Settings 中的 Skills 列表，显示每个技能的 /名称、描述、更新人和更新时间](https://mintcdn.com/enclave/yDTc_iq6XhSHDRMv/images/product/skills-list.png?fit=max\&auto=format\&n=yDTc_iq6XhSHDRMv\&q=85\&s=9b4790b8ce738e296966cdd1e0140e38)

## 谁可以管理技能

**Owner** 和 **Admin** 可以添加、编辑和删除技能。拥有 **Skill · Write** 的[自定义角色](https://docs.enclave.ai/zh/admin/roles.md#自定义角色)也可以。其他人可以在 **Settings → Skills** 中查看列表，并使用任何技能。

## 添加技能

1. 打开 **Settings → Skills**，点击 **New skill**。
2. 输入 **Name**，例如 `triage-sla`。使用小写字母、数字、短横线和下划线。输入 `/triage-sla` 即可运行。技能不能与内置命令重名。
3. 输入 **Description**，说明何时使用该技能。Enclave 会读取它来判断请求是否匹配。
4. 编写 **Instructions**：Enclave 要遵循的步骤。`$ARGUMENTS` 会被替换为名称后面输入的内容。如果没有 `$ARGUMENTS`，这些内容会追加到末尾。
5. 点击 **Create skill**。

![New skill 面板，填写了名称、描述和使用 \$ARGUMENTS 的说明](https://mintcdn.com/enclave/yDTc_iq6XhSHDRMv/images/product/skills-new.png?fit=max\&auto=format\&n=yDTc_iq6XhSHDRMv\&q=85\&s=adcc5d8fdd653e8fe7def50e80fac486)

例如，指令为 `List open findings past their SLA for $ARGUMENTS` 时，消息 `/triage-sla payments repositories` 会列出支付相关仓库的 findings。

## 使用技能

* **按名称：** 在 Research 聊天框中输入 `/`。组织的技能显示在内置[斜杠命令](https://docs.enclave.ai/zh/research/sessions.md#斜杠命令)之后。选择一个技能，添加参数后发送。在 Slack 中，输入 `@Enclave /triage-sla payments repositories`。
* **按描述：** 用自己的话提出请求。当请求与某个技能的描述匹配时，Enclave 会按照该技能执行。

![输入 / 后的 Research 聊天框，组织的技能列在内置命令之后](https://mintcdn.com/enclave/yDTc_iq6XhSHDRMv/images/product/skills-slash-menu.png?fit=max\&auto=format\&n=yDTc_iq6XhSHDRMv\&q=85\&s=0f2a740e4a28c44f51856a89190a1a93)

技能不会改变 Enclave 被允许做的事。每个人自己的[权限](https://docs.enclave.ai/zh/admin/roles.md)仍然适用。

## 编辑或删除技能

点击列表中的技能进行修改，或点击 **Delete skill**。会话下次加载该技能时会使用新版本。删除技能后，Enclave 不再使用它。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.