agent-browser

agent-browser is a skill for Claude Code from oxylabs/agent-skills. It costs 156 tokens per session (4,047 once invoked), scanned A, original, MIT.

A connection method for controlling remote Chrome browsers through Playwright, Puppeteer, or another Chrome control library. The browsers run on Oxylabs rather than on the developer's computer and can use proxies, locations, saved sessions, recording, and live inspection.

In plain words
What is it for?
Use it for browser automation such as opening pages, interacting with sites, and inspecting automated sessions through Chrome's remote-control protocol.
Why use it?
It lets browser-driven jobs run remotely when a local browser is unsuitable or unavailable. Remote sessions and location options help with testing or collecting pages from different regions.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the oxylabs plugin — 5 skills shipped together

Good fit Use it for browser automation such as opening pages, interacting with sites, and inspecting automated sessions through Chrome's remote-control protocol.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/oxylabs/agent-skills/agent-browser
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add oxylabs/agent-skills --skill agent-browser
Clone the repo
git clone --depth 1 https://github.com/oxylabs/agent-skills

Made for: Claude Code.

Or install oxylabs, the plugin that ships this one along with the rest of its 5 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for agent-browser

README.md
[![agentmods](https://agentmods.dev/badge/skills/oxylabs/agent-skills/agent-browser/github.svg)](https://agentmods.dev/skills/oxylabs/agent-skills/agent-browser)
Your own site
<a href="https://agentmods.dev/skills/oxylabs/agent-skills/agent-browser"><img src="https://agentmods.dev/badge/skills/oxylabs/agent-skills/agent-browser/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for agent-browser

Your own site · 80×15
<a href="https://agentmods.dev/skills/oxylabs/agent-skills/agent-browser"><img src="https://agentmods.dev/badge/skills/oxylabs/agent-skills/agent-browser.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 156 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,047 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00156 $0.04047
Opus 5.5 $0.00062 $0.01619
Sonnet 5.5 $0.00031 $0.00809
Haiku 4.5 $0.00016 $0.00405

Measured 4d ago against content hash 3c39a3abf5cc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

agent-browser scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/playwright_scrape.js, scripts/playwright_scrape.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

`new URL()` or `urllib.parse`: they percent-encode the password and authentication fails.
skills/agent-browser/SKILL.md · 224 lines

How it starts

The opening of the file, as written. The whole thing — 224 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Oxylabs Agent Browser

Remote Chrome sessions in a managed browser environment with proxy rotation and geo-targeting built in. Nothing runs locally: you connect over a WebSocket, drive the browser with the CDP library you already use, and close the session when done. This file holds the rules; the detail lives next to it: scripts/ (copyable templates), parameters.md, errors.md, examples.md, targets.md, challenges.md.

1. Connect

Item Value
Endpoint wss://USERNAME:[email protected]
Credentials OXY_AB_USERNAME / OXY_AB_PASSWORD
Options URL query parameters only, e.g. ?p_cc=US&session_name=job-42 (see parameters.md)
Browser engine Default engine with the oxyfp_win browser profile; p_src=oxybrowser selects the new engine (see parameters.md)
Libraries Playwright chromium.connectOverCDP (recommended), Puppeteer puppeteer.connect, any CDP client
Dashboard / support https://hb.oxylabs.io/dashboard · [email protected]

Rules that prevent the most common 401:

  • Use wss://. Plain ws:// is accepted but sends your password unencrypted.
  • Build the URL by string concatenation with the raw password. Do not pass the finished URL through new URL() or urllib.parse: they percent-encode the password and authentication fails.
  • Use the full username exactly as shown in the dashboard, including any suffix such as _ab12.
  • A password containing : cannot be sent in the URL. Ask for a new password or send the Authorization: Basic header yourself (see examples.md).
  • Authentication is checked before parameters: fix a 401 before looking at anything else.

2. Quick start

Minimal shape (Playwright, JavaScript):

const { chromium } = require("playwright");
const url = `wss://${process.env.OXY_AB_USERNAME}:${process.env.OXY_AB_PASSWORD}@hb.oxylabs.io?p_cc=US`;
const browser = await chromium.connectOverCDP(url, { timeout: 60000 });
try {
  const page = await browser.contexts()[0].newPage(); // default context: backed by the device configuration, proxy, o_profile
  await page.goto("https://example.com", { waitUntil: "domcontentloaded", timeout: 30000 });
  console.log(await page.content());
} finally {
  await browser.close(); // always: an unclosed session keeps its concurrency slot
}

Read the full file on GitHub · 224 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago Changed · +44 lines · +41 tokens per session 3c39a3abf5cc
  2. 20d ago First seen · 180 lines · 115 tokens per session scan A 90e3bbdce3a6

Subscribe to this mod's changes

agent-browser is a skill published in the GitHub repository oxylabs/agent-skills (876 stars, last pushed 5d ago), licensed MIT. It adds 156 tokens to every session and 4,047 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-01.

Related

Other skills, from other repositories

safari-extension-control-workflow

Guide macOS Safari integration decisions across Safari Web Extensions, Safari Web Inspector Extensions, Safari App Extensions, SafariServices APIs, content blockers, extension messaging, and app-to-Safari control surfaces. Use when the user wants a Mac app to extend, message, open, inspect, debug, or coordinate with…

gaelic-ghost/socket · 91 tokens

safari-mcp-workflow

Inspect a scoped live site in Safari through Safari Technology Preview's local MCP server. Use for Safari-specific DOM, console, network, screenshot, accessibility, performance, interaction, responsive, or print-media evidence.

gaelic-ghost/socket · 48 tokens

nexus-browser-fleet

Headless browser fleet orchestration and management. Use when you need to coordinate multiple headless browser instances for automated web auditing, scraping, or testing at scale using tools like Pinchtab. Detects and corrects unstable fleets that fail audit coverage.

Shuwanito/SkillsMP · 56 tokens

add-tavily-tool

Add Tavily Search and Extract as keyless remote MCP tools for selected NanoClaw agent groups. Use when installing Tavily web search or URL extraction without an API key.

nanocoai/nanoclaw · 41 tokens

skill-zhihu-answer

An automation workflow for publishing original answers on Zhihu, a Chinese question-and-answer website. It can search for suitable questions, check whether an answer can be posted, and publish the response through a browser.

ZJU-REAL/Easel · 142 tokens

skill-xhs-publisher

A browser-based publisher for posting image-and-text notes or videos to Xiaohongshu, a Chinese social media platform. It supports saved login sessions and checks that uploads and publishing complete.

ZJU-REAL/Easel · 106 tokens