scrapling

scrapling is a skill for Claude Code, Codex from amanning3390/hermeshub. It costs 68 tokens per session (1,000 once invoked), scanned A, original, MIT.

A Python library for collecting information from websites, including pages that change their HTML structure or use anti-bot protections such as Cloudflare.

In plain words
What is it for?
Use it to collect website data, select elements with CSS or XPath, explore pages from a command line, debug extraction, or connect web extraction to AI tools through its MCP server.
Why use it?
Ordinary web scrapers often break when a site changes its layout or blocks automated requests. Scrapling can adapt to changed page structures and offers different ways to fetch pages, including browser-based fetching.

Skill for Claude CodeCodex

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

Good fit Use it to collect website data, select elements with CSS or XPath…

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

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 scrapling

README.md
[![agentmods](https://agentmods.dev/badge/skills/amanning3390/hermeshub/scrapling.svg)](https://agentmods.dev/skills/amanning3390/hermeshub/scrapling)
Your own site
<a href="https://agentmods.dev/skills/amanning3390/hermeshub/scrapling"><img src="https://agentmods.dev/badge/skills/amanning3390/hermeshub/scrapling.svg" alt="Measured on agentmods" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,000 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.00068 $0.01000
Opus 5 $0.00034 $0.00500
Sonnet 5 $0.00014 $0.00200
Haiku 4.5 $0.00007 $0.00100

Measured 7d ago against content hash 15fc8c101065, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

scrapling 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 7d 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.

3. **Developer Tools** — Interactive IPython shell, CLI extraction commands, curl-to-Scrapling conversion, and an MCP server for AI agent integration.
skills/scrapling/SKILL.md · 93 lines

How it starts

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

Scrapling

Undetectable, adaptive, high-performance Python library for web data extraction. The first scraping library that automatically learns from website changes and survives structure updates.

When to Use

  • Extracting data from websites that change their HTML structure frequently
  • Bypassing anti-bot protections (Cloudflare Turnstile, WAFs, fingerprinting)
  • High-performance web data collection at scale
  • Replacing brittle BeautifulSoup/Scrapy selectors with adaptive element tracking
  • AI-assisted data extraction via the built-in MCP server (Claude/Cursor integration)
  • Interactive web exploration and debugging via the CLI shell

How It Works

Scrapling combines three capabilities:

  1. Smart Fetching — Three fetcher tiers for different protection levels:

    • Fetcher — Fast HTTP with TLS fingerprinting and stealth headers
    • StealthyFetcher — Modified Firefox with fingerprint spoofing, bypasses Cloudflare
    • DynamicFetcher — Full Playwright browser automation in stealth mode
  2. Adaptive Parsing — Tracks elements via similarity algorithms. When a website changes its structure, Scrapling automatically relocates the elements you need instead of breaking.

  3. Developer Tools — Interactive IPython shell, CLI extraction commands, curl-to-Scrapling conversion, and an MCP server for AI agent integration.

Quick Start

pip install "scrapling[all]" && scrapling install
from scrapling.fetchers import StealthyFetcher

url = 'https://example.com'
page = StealthyFetcher.get(url, headless=True)  # Adaptive stealth fetching
products = page.css('.product', adaptive=True)   # Survives site changes

for product in products:
    print(product.css_first('.title').text)
    print(product.css_first('.price').text)

Features

  • Adaptive element tracking — Auto-relocates elements after site structure changes via similarity algorithms
  • Three fetcher tiers — Static HTTP, stealth Firefox, full Playwright browser automation
  • Anti-bot bypass — Defeats Cloudflare Turnstile, WAFs, TLS fingerprinting, and browser detection
  • Blazing fast — Outperforms Parsel, Scrapy, and BeautifulSoup in benchmarks
  • CSS + XPath selectors — Plus text/regex search, BeautifulSoup-style navigation, auto-selector generation
  • Async support — All fetchers support async/await
  • Persistent sessions — FetcherSession, StealthySession, DynamicSession (sync and async)
  • Interactive shellscrapling shell for live exploration, curl conversion, browser previews
  • CLI extractionscrapling extract get URL output.md --css-selector
  • MCP server — AI integration for Claude, Cursor, and other MCP-compatible agents
  • Docker readydocker pull pyd4vinci/scrapling (includes all browsers)

Read the full file on GitHub · 93 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. 7d ago First seen · 93 lines · 68 tokens per session scan A 15fc8c101065

Subscribe to this mod's changes

scrapling is a skill published in the GitHub repository amanning3390/hermeshub (35 stars, last pushed 2mo ago), licensed MIT. It adds 68 tokens to every session and 1,000 once invoked, about $0.0003 per session on Opus 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-08-30.

Related

Other skills, from other repositories

opencli-sitemap-author

Use when creating or maintaining OpenCLI site sitemaps: agent-facing navigation, page-state, action, workflow, API-reference, pitfall, and fallback knowledge for a website. Use after browser exploration discovers durable site context, when a sitemap is stale, or when promoting local site knowledge into the repo.

jackwener/OpenCLI · 67 tokens

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

interactive-login

How to complete browser/interactive logins (aws / gh / glab / gcloud). The platform backgrounds the login poller so it survives the human's browser round-trip — and when that does NOT work.

yc-software/qm · 46 tokens

pinchtab-mcp

Use this skill when a task requires browser automation through PinchTab's MCP server connected to a remote browser instance. Covers navigation, element interaction, data extraction, form filling, multi-step flows, and session management via MCP tools.

pinchtab/pinchtab · 52 tokens

azure-messaging-webpubsub-java

Build real-time web applications with Azure Web PubSub SDK for Java. Use when implementing WebSocket-based messaging, live updates, chat applications, or server-to-client push notifications.

microsoft/skills · 43 tokens

google-safe-browsing

Prevent and fix Google Safe Browsing "Dangerous site" flags. Use when launching a public web app, buying/picking a domain, building a login or signup page, or when any site shows a red "Dangerous site" / "Deceptive site" warning in Chrome, Brave, Safari, Firefox, or Edge. Triggers on "dangerous site", "deceptive…

davidondrej/skills · 105 tokens