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.
npx skills add scrapfly/scrapfly-mcp --skill scrapfly-scrapergit clone --depth 1 https://github.com/scrapfly/scrapfly-mcpWrote 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.
[](https://agentmods.dev/skills/scrapfly/scrapfly-mcp/scrapfly-scraper)<a href="https://agentmods.dev/skills/scrapfly/scrapfly-mcp/scrapfly-scraper"><img src="https://agentmods.dev/badge/skills/scrapfly/scrapfly-mcp/scrapfly-scraper/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.
<a href="https://agentmods.dev/skills/scrapfly/scrapfly-mcp/scrapfly-scraper"><img src="https://agentmods.dev/badge/skills/scrapfly/scrapfly-mcp/scrapfly-scraper.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00020 | $0.02981 |
| Opus 5.5 | $0.00008 | $0.01192 |
| Sonnet 5.5 | $0.00004 | $0.00596 |
| Haiku 4.5 | $0.00002 | $0.00298 |
Grade A, and why
scrapfly-scraper scanned grade A with 0 findings 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 3d 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 329 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Scrapfly Scraper
Use the Scrapfly Scraper API to collect web page data with proxy rotation, anti-bot bypass, JavaScript rendering, and JavaScript scenarios for browser control.
When to use
- Scraping web pages (HTML, JSON, text, markdown)
- Bypassing anti-bot protections (Cloudflare, DataDome, PerimeterX, Kasada, and more)
- Collecting data through rotating proxies with geo-targeting
- Rendering JavaScript-heavy pages with headless browsers
- Control the browser using JavaScript scenario for common actions (waiting for selectors, clicking, filling elements, etc.)
- Session-reuse for session-presited scraping
- Capturing browser XHR call data
Setup
pip install scrapfly-sdk
The API key must be provided via environment variable SCRAPFLY_API_KEY or passed directly to the client.
API Reference
Endpoint: https://api.scrapfly.io/scrape
The HTTP method is forwarded to the upstream URL.
To retrieve data from a web page or an API, use the GET method, which is the default method.
If the API resource like an API requries other methods, like POST. You can use it via the method parameter of the ScrapeConfig
ScrapflyClient
from scrapfly import ScrapflyClient, ScrapeConfig, ScrapeApiResponse
import os
client = ScrapflyClient(key=os.environ["SCRAPFLY_API_KEY"])
ScrapeConfig Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
url |
str | required | Target URL to scrape |
method |
str | "GET" |
HTTP method: GET, POST, PUT, PATCH, HEAD, OPTIONS |
headers |
dict | None | Custom HTTP headers |
cookies |
dict | None | Custom cookies (merged into headers["cookie"]) |
body |
str | None | Raw request body for POST/PUT/PATCH; used when you pre-encode payload |
data |
dict | None | Form/JSON data for POST/PUT/PATCH; encoded according to Content-Type when body is not provided |
timeout |
int | None | Request timeout in ms (default ~150,000ms) |
retry |
bool | True | Auto-retry on network failures |
country |
str | None | Proxy country: an ISO 3166-1 alpha-2 code ("us"), a comma-separated list ("us,ca") or exclusions ("-us": any country of the pool but those) |
proxy_pool |
str | "public_datacenter_pool" |
Proxy pool: "public_datacenter_pool" or "public_residential_pool" |
session |
str | None | Session ID to persist cookies/fingerprint across requests |
session_sticky_proxy |
bool | None (API default true when session is set) |
Keep the same proxy IP for a given session. The SDK omits the parameter unless explicitly set |
unblocker |
bool | False | Enable the Unblocker anti-bot bypass. asp is the permanently supported deprecated alias; when both are supplied, asp wins |
render_js |
bool | False | Enable headless browser JavaScript rendering (+5 credits) |
rendering_wait |
int | None | Wait time in ms after page load (requires render_js=True) |
rendering_stage |
str | "complete" |
Browser readiness stage: "complete" or "domcontentloaded" (requires render_js=True) |
wait_for_selector |
str | None | CSS/XPath selector to wait for (requires render_js=True) |
js |
str | None | JavaScript code to execute in the browser (auto-encoded) |
js_scenario |
list | None | List of browser actions (click, fill, scroll, wait, etc.) |
auto_scroll |
bool | None | Automatically scroll page during rendering for lazy-loaded content (requires render_js=True) |
screenshots |
dict | None | Capture screenshots: {"fullpage": "png"} or {"selector": ".element"} (requires render_js=True) |
screenshot_flags |
list[str] | None | Screenshot options: "load_images", "dark_mode", "block_banners", "high_quality", "print_media_format" |
format |
str | "raw" |
Output format: "raw", "clean_html", "json", "markdown", "text" |
format_options |
list[str] | None | Format modifiers (markdown only): "no_images", "no_links", "only_content" |
extract |
dict | None | Raw extraction spec to apply on the response (encoded and sent as extract) |
extraction_template |
str | None | Name of a saved server-side extraction template |
extraction_ephemeral_template |
dict | None | Inline JSON extraction template used once (ephemeral:) |
extraction_prompt |
str | None | Natural language instructions for Extraction API |
extraction_model |
str | None | LLM model name to use for Extraction API |
cache |
bool | False | Enable response caching |
cache_ttl |
int | None | Cache time-to-live in seconds |
cache_clear |
bool | False | Clear any existing cached response when cache=True |
dns |
bool | False | Collect DNS records and timings in result.dns (slower) |
ssl |
bool | False | Collect SSL certificate details in result.ssl (slower) |
debug |
bool | False | Enable debug recording and extra metadata |
raise_on_upstream_error |
bool | True | Raise exceptions for upstream 4xx/5xx HTTP responses |
correlation_id |
str | None | Custom ID for request tracking across systems |
tags |
list[str] | None | Custom tags for request organization and analytics |
lang |
list[str] | None | Accept-Language values, e.g. ["en-US", "en"] |
os |
str | None | Choose a browser operating system such as "win", "mac", or "linux" |
webhook |
str | None | Named webhook for async scrape completion callbacks |
cost_budget |
int | None | Max credits to spend on unblocker retries and extra features |
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.
- 3d ago Changed efc0e7b9519f
- 4d ago First seen · 329 lines · 20 tokens per session scan A 5504f02470ee
scrapfly-scraper is a skill published in the GitHub repository scrapfly/scrapfly-mcp (15 stars, last pushed 3d ago), licensed MIT. It adds 20 tokens to every session and 2,981 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-26.
scrapfly-scraper compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| scrapfly-scraperscrapfly/scrapfly-mcp | Skill | 15 | 3d ago | MIT | A | 20 | Claude Code, Codex |
| camoufox-cliBin-Huang/camoufox-cli | Skill | 366 | 20d ago | MIT | A | 74 | Claude Code, Codex |
| obscurah4ckf0r0day/obscura | Skill | 38k | today | Apache-2.0 | A | 100 | Claude Code, Codex |
| dev-pain-findertinyfish-io/tinyfish-cookbook | Skill | 2.3k | 6d ago | MIT | A | 160 | Claude Code, Codex |
| interview-preptinyfish-io/tinyfish-cookbook | Skill | 2.3k | 6d ago | MIT | A | 141 | Claude Code, Codex |
| tenders-findertinyfish-io/tinyfish-cookbook | Skill | 2.3k | 6d ago | MIT | A | 139 | Claude Code, Codex |
| use-tinyfishtinyfish-io/tinyfish-cookbook | Skill | 2.3k | 6d ago | MIT | A | 77 | Claude Code, Codex |