> 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/headless-browser/ai-workflows/agent-skills.md).

# Agent Skills

Oxylabs Agent Skills (`skills.md`) teach LLMs and AI coding assistants how to configure and interact with Oxylabs products.

Agent Skills for Oxylabs Headless Browser will help your model control remote headless browser sessions via Chrome DevTools Protocol (CDP), configure browser fingerprints, handle proxy rotation, and manage Playwright or Puppeteer automation without syntax or parameter hallucinations.

## Installation

### Claude Code (plugin marketplace)

Inside Claude Code, run the following commands:

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

This installs all 5 skills as a single plugin:

* [`skills/proxies`](https://github.com/oxylabs/agent-skills/blob/main/skills/proxies/SKILL.md)
* [`skills/web-unblocker`](https://github.com/oxylabs/agent-skills/blob/main/skills/web-unblocker/SKILL.md)
* [`skills/web-scraper-api`](https://github.com/oxylabs/agent-skills/blob/main/skills/web-scraper-api/SKILL.md)
* [`skills/headless-browser`](https://github.com/oxylabs/agent-skills/blob/main/skills/headless-browser/SKILL.md)
* [`skills/video-data`](https://github.com/oxylabs/agent-skills/blob/main/skills/video-data/SKILL.md)

To update skills, run this command:

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

### Other agents (generic)

For other agents and custom environments, load the repository into your project workspace via the standard skills CLI:

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

## Configuration

All Oxylabs Agent Skills authenticate via environment variables defined in a `.env` file. To use Headless Browser skills, add these keys to your `.env` file:

| Variable          | Description                            |
| ----------------- | -------------------------------------- |
| `OXY_HB_USERNAME` | Your Headless Browser user `username`. |
| `OXY_HB_PASSWORD` | Your Headless Browser user `password`. |

## How to use

Once the skill is active in your workspace, you can prompt your AI assistant to build automated browser interactions using Oxylabs Headless Browser.

* **Example 1:** "Write a Python script using `playwright` to connect via CDP to Oxylabs Headless Browser, navigate to a dynamic JavaScript site, and extract the rendered HTML."
* **Example 2:** "Create a Node.js script using `puppeteer` that initializes an adaptive Firefox browser session via Oxylabs Headless Browser from `US` geo-location."
* **Example 3:** "Generate a browser automation routine that opens `example.com`, interacts with dynamic elements on the page, and saves a full-page screenshot."

## More Oxylabs Agent Skills

Learn more about Agent Skills for other Oxylabs solutions:

* [Proxies](/products/proxies/residential-proxies/agent-skills.md)
* [Web Scraper API](/products/web-scraper-api/solutions-for-ai-workflows/agent-skills.md)
* [Web Unblocker](/products/web-unblocker/agent-skills.md)
* [Video Data](/products/proxies/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/headless-browser/ai-workflows/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.
