> For the complete documentation index, see [llms.txt](https://developers.oxylabs.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.oxylabs.io/products/cn/dai-li/residential-proxies/agent-skills.md).

# Agent Skills

Oxylabs Agent Skills（`skills.md`）教会 LLM 和 AI 编码助手如何配置并与 Oxylabs 产品交互。

适用于 Oxylabs 代理的 Agent Skills 将帮助你的模型生成准确的连接字符串，处理入口节点，并应用地理定位参数，而不会出现语法或参数幻觉。

## 安装

### Claude Code（插件市场）

在 Claude Code 中，运行以下命令：

```
/plugin marketplace add oxylabs/agent-skills
/plugin install oxylabs@oxylabs-agent-skills
```

这会将全部 5 个技能作为单个插件安装：

* [`skills/代理`](https://github.com/oxylabs/agent-skills/blob/main/skills/proxies/SKILL.md)
* [`skills/网页解除封锁器`](https://github.com/oxylabs/agent-skills/blob/main/skills/web-unblocker/SKILL.md)
* [`skills/网页抓取 API`](https://github.com/oxylabs/agent-skills/blob/main/skills/web-scraper-api/SKILL.md)
* [`skills/无头浏览器`](https://github.com/oxylabs/agent-skills/blob/main/skills/headless-browser/SKILL.md)
* [`skills/视频数据`](https://github.com/oxylabs/agent-skills/blob/main/skills/video-data/SKILL.md)

要更新技能，请运行此命令：

```
/plugin marketplace update oxylabs-agent-skills
```

### 其他代理（通用）

对于其他代理和自定义环境，请通过标准 skills CLI 将仓库加载到你的项目工作区：

```
npx skills add https://github.com/oxylabs/agent-skills.git
```

## 配置

所有 Oxylabs Agent 技能都通过在一个中定义的环境变量进行身份验证 `.env` 文件。要使用代理技能，请将这些键添加到你的 `.env` 文件：

| 变量                | 描述                     |
| ----------------- | ---------------------- |
| `OXY_DC_USERNAME` | 你的 Oxylabs 代理用户 `用户名`. |
| `OXY_DC_PASSWORD` | 你的 Oxylabs 代理用户 `密码`.  |

## 如何使用

一旦该技能在你的工作区中激活，你就可以提示你的 AI 助手使用 Oxylabs 代理构建自定义解决方案。

* **示例 1：** “使用 `requests` 来获取 `target-url.com` 通过 Oxylabs 住宅代理，并使用 `美国` 地理定向。"
* **示例 2：** "使用以下内容创建一个 Node.js 脚本 `axios` ，使其使用我的 Oxylabs 凭证为每个请求轮换代理会话。"

## 支持的代理网络

此技能适用于以下所有代理类型：

* [住宅代理](/products/cn/dai-li/residential-proxies.md)
* [移动代理](/products/cn/dai-li/mobile-proxies.md)
* [数据中心代理](/products/cn/dai-li/datacenter-proxies.md)
* [ISP代理](/products/cn/dai-li/isp-proxies.md)

## 更多 Oxylabs Agent Skills

了解其他 Oxylabs 解决方案的 Agent Skills：

* [网页爬虫API](/products/cn/web-scraper-api/solutions-for-ai-workflows/agent-skills.md)
* [网页解锁器](/products/cn/web-unblocker/agent-skills.md)
* [无头浏览器](/products/cn/headless-browser/ai-gong-zuo-liu/agent-skills.md)
* [视频数据](/products/cn/dai-li/high-bandwidth-proxies.md#agent-skills)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://developers.oxylabs.io/products/cn/dai-li/residential-proxies/agent-skills.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
