scrapling

scrapling is a skill for Claude Code, Codex from cloveric/tarocub. It costs 161 tokens per session (1,573 once invoked), scanned A, original, MIT.

A web-scraping tool for fetching pages that ordinary requests cannot read because of bot protection or JavaScript-rendered content. It supports simple HTTP fetching, browser-based rendering, stealth fetching, and multi-page crawling.

In plain words
What is it for?
Use it to scrape protected or dynamic public websites, render JavaScript pages, or crawl many pages while respecting site rules and terms.
Why use it?
It provides fallback methods when a normal web extractor returns an empty page or is blocked. It is for reading pages, not logging in or clicking through interactive workflows.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/cloveric/tarocub/scrapling
Any agent
npx skills add cloveric/tarocub --skill scrapling
Clone the repo
git clone --depth 1 https://github.com/cloveric/tarocub

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/cloveric/tarocub/scrapling.svg)](https://agentmods.dev/skills/cloveric/tarocub/scrapling)
Your own site
<a href="https://agentmods.dev/skills/cloveric/tarocub/scrapling"><img src="https://agentmods.dev/badge/skills/cloveric/tarocub/scrapling.svg" alt="Measured on agentmods" height="20"></a>
Per session 161 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,573 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00161 $0.01573
Opus 5 $0.00081 $0.00787
Sonnet 5 $0.00032 $0.00315
Haiku 4.5 $0.00016 $0.00157

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

Security

Grade A, and why

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

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.

skills/scrapling/SKILL.md · 100 lines

How it starts

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

Scrapling — anti-bot web scraping (CLI)

Scrapling fetches web pages with anti-bot bypass, stealth (headless) browser automation, JS rendering, and a spider framework. Three strategies: HTTP (light, no browser), dynamic (runs JS in a browser), stealth (Cloudflare / anti-bot). The scrapling command is on PATH. Run scrapling extract <sub> --help for exact flags.

Educational/research use. Respect robots.txt and each site's Terms of Service.

When to use Scrapling (vs the bot's other web tools)

The bot has several ways to read the web — use the lightest that works, escalate only when it fails:

  1. Search / "what's the latest" / don't know the URLweb_search.
  2. A normal public pageweb_extract (light, no browser). Default for plain pages.
  3. X/Twitter, or any page that needs YOUR login → the x-fetch skill (it uses the logged-in Chrome). Scrapling has no login session, so it cannot reach private/logged-in content.
  4. Multi-step interaction (log in, click through a flow, fill a form, take a screenshot) → the agent-browser skill. Scrapling is fetch-and-extract, NOT interaction.
  5. Reach for Scrapling when any of these is true:
    • web_extract came back blocked / a login or captcha wall / a Cloudflare page / suspiciously empty / clearly not the real content → that is the signal to escalate. Do not accept the garbage as the answer.
    • The page is JS-rendered and web_extract returns an empty shell.
    • You already know the site is anti-bot or dynamic (you were told, or it's a known protected site) → go straight to Scrapling; don't waste a doomed web_extract first.
    • You need to crawl many pages / extract structured fields at scale.

Match the weight to the task. Inside Scrapling, prefer the light HTTP get for plain pages; only use stealthy-fetch (opens a headless browser, +5–15s, hundreds of MB) when actually blocked, and fetch (also a browser) when JS rendering is actually needed.

Read the full file on GitHub · 100 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 · 100 lines · 0 tokens per session scan A e6d71c1e7b45

Subscribe to this mod's changes

scrapling is a skill published in the GitHub repository cloveric/tarocub (4 stars, last pushed 4d ago), licensed MIT. It adds 161 tokens to every session and 1,573 once invoked, about $0.0008 per session on Opus 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-08-31.

Related

Other skills, from other repositories

pr-screenshots

Capture Playwright screenshots and embed them in GitHub PR descriptions.

bradygaster/squad · 17 tokens

shogun-screenshot

スクリーンショットの取得・加工を行う。ローカルスクショから最新画像を取得、 PlaywrightでWebページをキャプチャ、画像のトリミング・リサイズ、機微情報を黒塗りマスキング。 記事執筆、レポート作成、UI確認、画像加工時に起動。 「スクショ」「スクリーンショット」「画面キャプチャ」「最新のスクショ」「画像加工」「トリミング」「マスク」「写メ」「写メ撮った」「スクショ撮った」で起動。 Do NOT use for: 画像生成(shogun-imagegenを使え)。.

yohey-w/multi-agent-shogun · 149 tokens

browser_scripts

Visual browser automation script editor & manager for TubeCLI.

tubecreate/tubecli · 0 tokens

browser-use

Automates browser interactions for social media management across Instagram, LinkedIn, and X. Handles posting, DMs, connection requests, lead scraping, and monitoring. Use when the user needs to navigate, interact with, or extract data from approved websites.

wanikua/danghuangshang · 53 tokens

pentest-client-advanced

Advanced client-side attacks — CORS misconfiguration, WebSocket security, clickjacking, postMessage abuse, CSS injection, and browser storage vulnerabilities.

jd-opensource/JoySafeter · 36 tokens

openviking

OpenViking 集成 — 浏览器自动化与 Web 搜索工具.

wanikua/danghuangshang · 19 tokens