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

# 让 Agent 自动安装

> 复制本页指令，让 Agent 自动安装并配置 NewAPIs Skills。

将下面的完整指令复制给你的 Agent：

```text theme={null}
请为当前用户安装并验证 NewAPIs Skills：
1. 检查 Node.js 版本，要求 Node.js 18 或更高版本。
2. 执行：npx skills add https://docs.newapi.si
3. 确认已发现并安装 newapi-image、newapi-video、newapi-music。
4. NEWAPI_BASE_URL 未配置时使用 https://api.newapi.si。
5. NEWAPI_API_KEY 未配置时，只提示我在本机安全设置，不要让我把密钥发到聊天中。
6. 使用任意 NewAPIs Skill 的 models 命令调用 /v1/models 验证安装。
7. 不要把 API Key 写入仓库、日志、Skill 文件或回复正文。
8. 未获得确认时，不要提交会产生费用的媒体生成任务。
```


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