Claude Skill MartBrowse skillsQuick linesLearn by videoTerminal guideWhat is a Skill?
← Back to list

Oxylabs Headless Browser

Teaches Claude to drive Oxylabs' remote anti-detect Chrome over CDP with Playwright or Puppeteer for scraping bot-protected sites.

Web & APIIntermediate★ 874⑂ 2AI score 8/10Last updated: Sep 24, 2026

What it does

  • Gives the exact rules for building the wss://USER:PASS@hb.oxylabs.io endpoint and connecting via Playwright connectOverCDP or Puppeteer connect, including the percent-encoding pitfall that causes most 401s.
  • Separates retryable failures (429, 5xx, CDP_BAD_PROXY, early disconnects) from fatal ones (400/401/403) and enforces exponential backoff, password redaction in logs, resource blocking, and browser.close() in finally.
  • Documents account limits (10 sessions/s, 100 concurrent, 5 named sessions, 5 profiles, 10 recordings) and the correct use of session_name, o_profile, and sticky residential IDs.
  • Provides an escalation ladder for DataDome/Cloudflare/Akamai blocks: fresh session → broader geo → mobile device → slower pacing → live VNC inspection → propose persistent profiles to the user.
  • Lists restricted verticals that fail with CDP error 1337 Invalid target.

Who it's for

  • Data-collection engineers with an existing Oxylabs Headless Browser / Unblocker subscription.
  • Anyone whose WebFetch calls fail on JavaScript-rendered or bot-walled pages.
  • Teams letting Claude write scrapers who want guardrails against leaked sessions and blind retry loops.

Examples

  1. "Render this product page from a US IP and extract the price" → minimal Playwright script with ?p_cc=US, images/fonts blocked, hard timeouts.
  2. "I keep hitting a 403 wall" → checks for the X-Error-Description header to tell an Oxylabs-side error from a target block, then walks one rung up the escalation ladder per attempt.
  3. "Keep a logged-in session across daily jobs" → proposes a one-time setup run with o_profile_save=true plus read-only consumer runs, flagging the 5-profile cap.

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/oxylabs/agent-skills/HEAD/skills/headless-browser/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on Claude Skill Mart.
Copy the skills/headless-browser folder from the GitHub repo oxylabs/agent-skills into my ~/.claude/skills/headless-browser/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/oxylabs/agent-skills.git && mkdir -p ~/.claude/skills && cp -r agent-skills/skills/headless-browser ~/.claude/skills/

⚠ This is a third-party skill. Check the source repository before installing.

  1. Open a terminal.
  2. Clone the repo: git clone https://github.com/oxylabs/agent-skills.git
  3. Create the skills directory: mkdir -p ~/.claude/skills
  4. Copy the skill: cp -r agent-skills/skills/headless-browser ~/.claude/skills/
  5. Export your Oxylabs credentials: export OXY_UNBLOCKER_USERNAME=... and export OXY_UNBLOCKER_PASSWORD=... (add them to your shell profile to persist).
  6. Install a CDP client in your project: npm i playwright or pip install playwright.
  7. Restart Claude Code and try: "Use the Oxylabs headless browser to render this URL and extract the data."