scrapfly-browser

scrapfly-browser is a skill for Claude Code, Codex from scrapfly/scrapfly-mcp. It costs 63 tokens per session (2,880 once invoked), scanned A, original, MIT.

A Python interface for controlling a remote browser with Playwright. Playwright is a tool for automating browser actions such as navigation, clicking, typing, and downloads.

In plain words
What is it for?
Use it for login flows, form filling, navigation, JavaScript-heavy sites, file downloads, and browser sessions that must continue across connections.
Why use it?
It lets browser automation run on a managed remote browser rather than requiring a browser environment on your own machine, with options for proxies, locations, and persistent sessions.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for login flows, form filling, navigation, JavaScript-heavy sites, file downloads, and browser sessions that must continue across connections.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/scrapfly/scrapfly-mcp/scrapfly-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 scrapfly/scrapfly-mcp --skill scrapfly-browser
Clone the repo
git clone --depth 1 https://github.com/scrapfly/scrapfly-mcp

Made for: Claude Code, Codex.

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 scrapfly-browser

README.md
[![agentmods](https://agentmods.dev/badge/skills/scrapfly/scrapfly-mcp/scrapfly-browser/github.svg)](https://agentmods.dev/skills/scrapfly/scrapfly-mcp/scrapfly-browser)
Your own site
<a href="https://agentmods.dev/skills/scrapfly/scrapfly-mcp/scrapfly-browser"><img src="https://agentmods.dev/badge/skills/scrapfly/scrapfly-mcp/scrapfly-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 scrapfly-browser

Your own site · 80×15
<a href="https://agentmods.dev/skills/scrapfly/scrapfly-mcp/scrapfly-browser"><img src="https://agentmods.dev/badge/skills/scrapfly/scrapfly-mcp/scrapfly-browser.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,880 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.00063 $0.02880
Opus 5.5 $0.00025 $0.01152
Sonnet 5.5 $0.00013 $0.00576
Haiku 4.5 $0.00006 $0.00288

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

Security

Grade A, and why

scrapfly-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.

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.

from urllib.parse import urlencode
pkg/mcpskills/skills/scrapfly-browser/SKILL.md · 379 lines

How it starts

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

Scrapfly Cloud Browser

Use the Scrapfly Cloud Browser API with Python Playwright to automate remote cloud browsers with built-in proxy rotation, anti-bot fingerprinting, and geo-targeting.

When to use

  • Automating browser interactions on remote cloud browsers (login flows, form filling, navigation)
  • Scraping JavaScript-heavy sites that require full browser automation
  • Bypassing anti-bot protections with managed browser fingerprinting
  • Running Playwright scripts through geo-targeted proxies
  • Maintaining persistent browser sessions across multiple connections
  • Downloading files through browser interactions

Setup

pip install playwright

The API key must be provided via environment variable SCRAPFLY_API_KEY or passed directly in the connection URL.

API Reference

Connection: WebSocket CDP (Chrome DevTools Protocol)

wss://browser.scrapfly.io?api_key=YOUR_API_KEY

Connection Parameters

Parameter Type Default Description
api_key str required Scrapfly API key
proxy_pool str "datacenter" Proxy type: "datacenter" or "residential"
os str random OS fingerprint: "linux", "windows", or "macos"
country str None Proxy country (ISO 3166-1 alpha-2, e.g. "us", "de")
session str None Session ID for browser state persistence
auto_close str "true" Close session on disconnect. Set "false" to keep alive
timeout int 900 Max session duration in seconds. Any positive integer is accepted and values above 1800 are capped at 1800
debug str "false" Enable session video recording
downloads_stream str None "1" returns large downloads as IO stream handles instead of inline base64

Building the Connection URL

import os
from urllib.parse import urlencode

params = {
    "api_key": os.environ["SCRAPFLY_API_KEY"],
    "proxy_pool": "datacenter",
    "os": "linux",
}
BROWSER_WS = f"wss://browser.scrapfly.io?{urlencode(params)}"

Read the full file on GitHub · 379 lines

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 First seen · 379 lines · 63 tokens per session scan A c1c467300e38

Subscribe to this mod's changes

scrapfly-browser is a skill published in the GitHub repository scrapfly/scrapfly-mcp (15 stars, last pushed 3d ago), licensed MIT. It adds 63 tokens to every session and 2,880 once invoked, about $0.0003 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-11-26.

Related

scrapfly-browser compared with skills from other repositories

scrapfly-browser next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
scrapfly-browserscrapfly/scrapfly-mcpSkill153d agoMITA63Claude Code, Codex
camoufox-cliBin-Huang/camoufox-cliSkill36620d agoMITA74Claude Code, Codex
obscurah4ckf0r0day/obscuraSkill38ktodayApache-2.0A100Claude Code, Codex
dev-pain-findertinyfish-io/tinyfish-cookbookSkill2.3k6d agoMITA160Claude Code, Codex
interview-preptinyfish-io/tinyfish-cookbookSkill2.3k6d agoMITA141Claude Code, Codex
tenders-findertinyfish-io/tinyfish-cookbookSkill2.3k6d agoMITA139Claude Code, Codex
use-tinyfishtinyfish-io/tinyfish-cookbookSkill2.3k6d agoMITA77Claude Code, Codex