scrapfly-crawler

scrapfly-crawler is a skill for Claude Code, Codex from scrapfly/scrapfly-mcp. It costs 21 tokens per session (3,289 once invoked), scanned A, original, MIT.

A Python interface for starting and managing crawls across whole websites or selected sections. A crawl follows links from a starting URL and can collect page content and structured data in bulk.

In plain words
What is it for?
Use it to discover site pages, collect content across many URLs, extract structured data, download WARC or HAR archives, or build LLM.txt files from documentation.
Why use it?
It removes the need to write your own link discovery, depth limits, page limits, and large-scale crawl management.

Skill for Claude CodeCodex

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

Good fit Use it to discover site pages, collect content across many URLs, extract structured data, download WARC or HAR archives, or build LLM.txt files from documentation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/scrapfly/scrapfly-mcp/scrapfly-crawler
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-crawler
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-crawler

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/scrapfly/scrapfly-mcp/scrapfly-crawler"><img src="https://agentmods.dev/badge/skills/scrapfly/scrapfly-mcp/scrapfly-crawler.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,289 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00021 $0.03289
Opus 5.5 $0.00008 $0.01316
Sonnet 5.5 $0.00004 $0.00658
Haiku 4.5 $0.00002 $0.00329

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

Security

Grade A, and why

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

pkg/mcpskills/skills/scrapfly-crawler/SKILL.md · 346 lines

How it starts

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

Scrapfly Crawler

Use the Scrapfly Crawler API via the Python SDK to schedule and manage site-wide crawl jobs with automatic link discovery, depth control, and structured data extraction.

When to use

  • Crawling entire websites or specific sections
  • Discovering all pages/URLs on a site
  • Collecting content from multiple pages in bulk
  • Extracting structured data at scale across a site
  • Downloading site archives (WARC/HAR format)
  • Building LLM.txt files from crawled documentation

Setup

pip install scrapfly-sdk

The API key must be provided via environment variable SCRAPFLY_API_KEY or passed directly to the client.

SDK Imports

from scrapfly import ScrapflyClient, CrawlerConfig, Crawl

Additional imports for webhooks:

from scrapfly import (
    webhook_from_payload,
    CrawlerLifecycleWebhook,
    CrawlerUrlDiscoveredWebhook,
    CrawlerUrlFailedWebhook,
)

CrawlerConfig Parameters

Parameter Type Default Description
url str required Starting URL for the crawl
page_limit int None Maximum number of pages to crawl
max_depth int None Maximum link traversal depth from start URL
max_duration int None Maximum crawl duration in seconds
exclude_paths list[str] None URL path patterns to skip (supports *, max 100). Mutually exclusive with include_only_paths
include_only_paths list[str] None Only crawl URLs matching these path patterns (supports *, max 100). Mutually exclusive with exclude_paths
ignore_base_path_restriction bool False Allow crawling any path on the same domain, not just the seed URL's base path
follow_external_links bool False Follow links to external domains
allowed_external_domains list[str] None Whitelist of external domains when follow_external_links=True (supports *, max 250)
headers dict None Custom HTTP headers as JSON object
delay int 100 ms (API) Pause after each page for each worker. Use 1–15000 ms for a custom pause. Omit it or pass 0 for the API default. Workers can still send requests in parallel.
user_agent str None Custom User-Agent string (ignored when unblocker=True)
max_concurrency int None Maximum concurrent crawl requests
rendering_delay int None Wait time in ms after page load before extraction (0-25000). 0 disables browser rendering
use_sitemaps bool False Discover URLs from sitemap.xml when available
respect_robots_txt bool None (API default true) Respect robots.txt rules and Disallow directives. The SDK omits the parameter unless explicitly set
ignore_no_follow bool False Ignore rel="nofollow" attributes on links
cache bool False Enable cache layer for crawled pages
cache_ttl int None Cache time-to-live in seconds (0-604800)
cache_clear bool False Force refresh of cached pages
content_formats list[str] None Content formats to extract: html, clean_html, markdown, text
extraction_rules dict None Custom extraction rules for structured data
unblocker bool False Enable the Unblocker anti-bot bypass with browser rendering. asp is the permanently supported deprecated alias; when both are supplied, asp wins
proxy_pool str None Proxy pool to use (e.g., public_residential_pool)
country str None Proxy country selection (ISO code)
webhook_name str None Name of webhook configured in dashboard
webhook_events list[str] None Events to subscribe to (e.g., crawler_started, crawler_url_visited, crawler_finished)
max_api_credit int None Maximum API credits to spend on this crawl. A crawl that reaches it ends successfully (state.stop_reason is max_api_credit) and keeps the pages it visited

Read the full file on GitHub · 346 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. 3d ago Changed 80807c9d003c
  2. 4d ago First seen · 346 lines · 21 tokens per session scan A cf9e46753701

Subscribe to this mod's changes

scrapfly-crawler is a skill published in the GitHub repository scrapfly/scrapfly-mcp (15 stars, last pushed 3d ago), licensed MIT. It adds 21 tokens to every session and 3,289 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.

Related

scrapfly-crawler compared with skills from other repositories

scrapfly-crawler next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
scrapfly-crawlerscrapfly/scrapfly-mcpSkill153d agoMITA21Claude 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