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

# 安装内置技能

`onboard` 命令将随 CLI 附带的智能体技能安装到编码智能体中（Claude Code、Codex、Trae）。

## onboard

将内置智能体技能安装到编码智能体中。

| 标志/参数 | 说明 | 默认值 |
| - | - | - |
| `-a, --agent <ids>` | 逗号分隔的目标：`claude-code`、`codex`、`trae`。 | 无 |
| `--all` | 安装到所有受支持的智能体。 | `false` |
| `-s, --scope <scope>` | 安装范围：`project` \| `global`。 | 无 |
| `-y, --yes` | 非交互模式：使用检测到的智能体与默认范围。 | `false` |

```bash lines theme={null}
agentkit onboard --agent claude-code --scope project
```

## 安装范围与结果

`project` 相对于当前工作目录，`global` 相对于用户主目录。省略 `--scope` 时交互选择；使用 `--yes` 时默认为 `project`。因此在自动化中应明确传入目标与范围：

```bash lines theme={null}
agentkit onboard --agent claude-code --scope project --yes
```

命令完成后列出写入的技能目录。再次安装会覆盖同名技能文件，先保存本地修改。未指定 `--agent` 或 `--all` 时，`--yes` 仅选择本机检测到的客户端；没有检测结果会失败，不会自动安装所有客户端

该命令只复制随 CLI 提供的技能，不安装客户端，也不登录云平台
