Scrapling
Tommy-yw/RunbookHermes
Web scraping with Scrapling - HTTP fetching, stealth browser automation, Cloudflare bypass, and spider crawling via CLI and Python.
使用 scrapling 进行网页抓取和数据提取。根据目标网站特征自动选择最佳 Fetcher, 生成并执行 Python 脚本完成任务。Use when: (1) 抓取/爬取网页内容或数据(scrape, crawl, fetch page, extract data) (2) 需要绕过 Cloudflare/WAF 等反爬保护 (3) 登录后抓取受保护页面 (4) 解析已有 HTML…
$ npx skills add Cedriccmh/claude-code-skill-scrapling --skill scrapling -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Cedriccmh/claude-code-skill-scrapling scrapling --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
Claude Code skills documentation · loads skills from .claude/skills/
Install the "scrapling" agent skill from https://github.com/Cedriccmh/claude-code-skill-scrapling/tree/master into .claude/skills/scrapling/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "scrapling", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Cedriccmh/claude-code-skill-scrapling --skill scrapling -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Cedriccmh/claude-code-skill-scrapling scrapling --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "scrapling" agent skill from https://github.com/Cedriccmh/claude-code-skill-scrapling/tree/master into .agents/skills/scrapling/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "scrapling", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Cedriccmh/claude-code-skill-scrapling --skill scrapling -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Cedriccmh/claude-code-skill-scrapling scrapling --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "scrapling" agent skill from https://github.com/Cedriccmh/claude-code-skill-scrapling/tree/master into .cursor/skills/scrapling/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "scrapling", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Cedriccmh/claude-code-skill-scrapling --skill scrapling -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Cedriccmh/claude-code-skill-scrapling scrapling --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "scrapling" agent skill from https://github.com/Cedriccmh/claude-code-skill-scrapling/tree/master into .gemini/skills/scrapling/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "scrapling", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install Cedriccmh/claude-code-skill-scrapling scraplingInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add Cedriccmh/claude-code-skill-scrapling --skill scrapling -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "scrapling" agent skill from https://github.com/Cedriccmh/claude-code-skill-scrapling/tree/master into .github/skills/scrapling/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "scrapling", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Cedriccmh/claude-code-skill-scrapling --skill scrapling -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install Cedriccmh/claude-code-skill-scrapling scrapling --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "scrapling" agent skill from https://github.com/Cedriccmh/claude-code-skill-scrapling/tree/master into .opencode/skills/scrapling/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "scrapling", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
scrapling使用 scrapling 进行网页抓取和数据提取。根据目标网站特征自动选择最佳 Fetcher, 生成并执行 Python 脚本完成任务。Use when: (1) 抓取/爬取网页内容或数据(scrape, crawl, fetch page, extract data) (2) 需要绕过 Cloudflare/WAF 等反爬保护 (3) 登录后抓取受保护页面 (4) 解析已有 HTML…
Scrapling is an agent skill from Cedriccmh/claude-code-skill-scrapling. 使用 scrapling 进行网页抓取和数据提取。根据目标网站特征自动选择最佳 Fetcher, 生成并执行 Python 脚本完成任务。Use when: (1) 抓取/爬取网页内容或数据(scrape, crawl, fetch page, extract data) (2) 需要绕过 Cloudflare/WAF 等反爬保护 (3) 登录后抓取受保护页面 (4) 解析已有 HTML 提取结构化数据 (5) 用户提供 URL 并要求获取页面内容或特定元素 (6) 批量采集多个页面
Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 18 other files, including reference files (for example `README.md`, `references/api-quick-ref.md` and `references/cookie-vault.md`).
It sits in Data & Analytics, covering Web scraping. It works with Cloudflare and Python. The repository describes itself as: Claude Code skill for web scraping with scrapling - auto Fetcher selection, Cloudflare bypass, site patterns. The licence is MIT.
Read from SKILL.md and the folder at commit 85dd89f. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
Bash(python*)Bash(pip*)Bash(uv*)Bash(scrapling*)From allowed-tools in the SKILL.md frontmatter.
Ships script files (Python), which the agent can run.
Shell commands in SKILL.md call:
uvpythonFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use uv, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Scrapling loads about 1.1k tokens when it runs, and up to ~6.4k if it reads all its reference files. Until then it costs about 64 tokens; SKILL.md has 224 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from Cedriccmh/claude-code-skill-scrapling at commit 85dd89f, republished under its MIT licence (© Cedriccmh). 224 words, ~1,096 tokens.
.claude/skills/scrapling/SKILL.md (or your agent's skills folder). This skill also uses 15 other files; get the full folder from GitHub.python -c "import scrapling; print(scrapling.__version__)"按项目使用的包管理器执行(pip / uv 等价命令见 references/maintenance.md):
scrapling[fetchers] + scrapling install项目根存在
uv.lock或pyproject.toml含[tool.uv],优先用uv(uv add/uv run scrapling install);否则用pip。
先查阅 references/security.md,确认授权、robots.txt / ToS、Prompt injection、cookie 保存与 redaction 边界。
简单文本 / Markdown / selector 抽取优先用 Scrapling CLI quick path,并默认加 --ai-targeted:
scrapling extract get "https://example.com/article" article.md --ai-targeted
scrapling extract fetch "https://example.com/app" app.md --ai-targeted --network-idle
scrapling extract stealthy-fetch "https://protected.example.com" page.md --ai-targeted --solve-cloudflareCLI 无法满足复杂登录、多页流程、结构化字段或复用代码时,再生成 Python 脚本。
目标网站 →
│
├─ 已有 HTML 字符串/文件,只需解析?
│ → Selector(纯解析,无网络请求)
│ → 模板: parse_only.py
│
├─ 静态页面,无 JS 渲染,无反爬?
│ → Fetcher(最快,基于 curl_cffi)
│ → 模板: basic_fetch.py
│
├─ 需要登录(HTTP 表单,非 JS 登录)?
│ → FetcherSession(保持会话 cookie)
│ → 模板: session_login.py
│
├─ 有 Cloudflare / WAF 保护?
│ → StealthyFetcher(Camoufox 浏览器,自动过 CF)
│ → 模板: stealth_cloudflare.py
│
├─ SPA 应用(React/Vue),需要 JS 渲染?
│ → DynamicFetcher(Playwright 浏览器)
│ → 基于模板即时生成
│
└─ 不确定?
→ 先用 Fetcher 试,403/空内容 → 升级到 StealthyFetcher复杂 crawl / Spider / adaptive scraping / MCP / proxy rotation 等高级能力,不在本轻量 skill 内展开;先查 references/upstream-map.md,再按 upstream 官方文档补充。
1. 检查版本(步骤 0)
2. 安全预检(步骤 1)
3. 查阅 references/site-patterns.md;如果存在 references/site-patterns.local.md,也先查本地 overlay
4. 简单抽取 → 优先 CLI quick path + --ai-targeted
5. 复杂流程 → 用决策树选择 Fetcher,读取对应模板,替换参数,生成完整脚本
6. 执行脚本 / CLI → 返回最小必要结果
7. **沉淀经验(必做)**:
- 新通用站点类型 → 去敏感化后追加到 references/site-patterns.md
- 私有站点 / 公司站点 / 登录态细节 → 追加到 references/site-patterns.local.md(不提交)
- 用户明确授权保存真实 cookie → 保存到 references/cookie-vault.local.md(不提交,必须 redact 输出)
- **完成抓取后必须检查**:是否有新的 cookie 或 site pattern 需要保存,以及是否属于 local overlay--ai-targeted。references/cookie-vault.md,只写本地 references/cookie-vault.local.md,且必须先获用户授权。references/site-patterns.md,只写本地 references/site-patterns.local.md。robots_txt_obey = True。| Fetcher 类型 | Cookie 格式 | 示例 |
|---|---|---|
| Fetcher / FetcherSession | dict | {'name': 'value', 'token': 'abc'} |
| StealthyFetcher / DynamicFetcher | list[dict] | [{'name': 'n', 'value': 'v', 'domain': '.site.com', 'path': '/'}] |
浏览器 Fetcher cookie 必填字段: name, value, domain, path
| Fetcher 类型 | 超时单位 | 示例 |
|---|---|---|
| Fetcher / FetcherSession | 秒 | timeout=30 |
| StealthyFetcher / DynamicFetcher | 毫秒 | timeout=60000 |
| 模板 | 文件 | 何时读取 |
|---|---|---|
| 基础 HTTP 抓取 | templates/basic_fetch.py | 目标为静态页面,无反爬 |
| Cloudflare 绕过 | templates/stealth_cloudflare.py | 目标有 CF/WAF 保护 |
| Session 登录 | templates/session_login.py | 需 HTTP 表单登录后抓取 |
| 纯 HTML 解析 | templates/parse_only.py | 已有 HTML 字符串,只需提取数据 |
| 文件 | 何时读取 |
|---|---|
references/security.md | 每次抓取前先查阅 — 授权、Prompt injection、cookie / token、site pattern local overlay 规则 |
references/site-patterns.md | 每次抓取前先查阅 — 检查目标站点是否有已记录的模式 |
references/api-quick-ref.md | 生成脚本时查阅 — Fetcher/Selector 方法签名和参数 |
references/troubleshooting.md | 执行报错时查阅 — 按错误信息查找原因和解决方案 |
references/cookie-vault.md | 需要登录 cookie 时查阅 — 只存模板 / 字段名;真实值用 references/cookie-vault.local.md |
references/maintenance.md | 安装/升级/依赖问题时查阅 — 安装层级和验证命令 |
references/upstream-map.md | 需要 CLI quick path、官方 skill 对齐、Spider / adaptive / MCP / proxy 等高级能力时查阅 |
© Cedriccmh, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 15 other files (references) in the repository root of Cedriccmh/claude-code-skill-scrapling.
Open the folder on GitHubat commit 85dd89f
Scrapling next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Scrapling this skillCedriccmh/claude-code-skill-scrapling | 443 | — | ~1.1k | Automated safety check: Pass | MIT | |
| ScraplingTommy-yw/RunbookHermes | 546 | 4 repos | ~2.3k | Automated safety check: Pass | MIT | |
| Scraplingarchibate/dotfiles-opencode | 108 | 1 repos | ~4.9k | Automated safety check: Warn | BSD-3-Clause | |
| Producthunt Launchesbrowser-act/skills | 6.1k | — | ~2.6k | Automated safety check: Pass | MIT | |
| Crawl4AI Web Scrapingsmallnest/goclaw | 598 | 1 repos | ~2.5k | Automated safety check: Pass | MIT | |
| Boss Zhipin Scrapereatmoreduck/boss-zhipin-scraper | 1.5k | — | ~2.6k | Automated safety check: Pass | MIT |
Tommy-yw/RunbookHermes
Web scraping with Scrapling - HTTP fetching, stealth browser automation, Cloudflare bypass, and spider crawling via CLI and Python.
archibate/dotfiles-opencode
Scrape web pages using Scrapling with anti-bot bypass (like Cloudflare Turnstile), stealth headless browsing, spiders framework, adaptive scraping, and JavaScript rendering.
browser-act/skills
Scrape Product Hunt daily/weekly/monthly/yearly leaderboard launches with full product details, maker profiles, and website contact info.
smallnest/goclaw
Scrapes sites, handles JavaScript-heavy pages and extracts structured data with Crawl4AI, through its crwl CLI or Python SDK, including schema-based extraction without an LLM.
eatmoreduck/boss-zhipin-scraper
Scrape BOSS直聘 (job listing site) via Chrome CDP. An agent skill from eatmoreduck/boss-zhipin-scraper.
yusukebe/ax
Use the ax CLI instead of curl + throwaway parsing scripts whenever you fetch a URL, explore an unknown web page, or extract structured data from HTML.
Works with
Categories
使用 scrapling 进行网页抓取和数据提取。根据目标网站特征自动选择最佳 Fetcher, 生成并执行 Python 脚本完成任务。Use when: (1) 抓取/爬取网页内容或数据(scrape, crawl, fetch page, extract data) (2) 需要绕过 Cloudflare/WAF 等反爬保护 (3) 登录后抓取受保护页面 (4) 解析已有 HTML…. Scrapling is an agent skill from Cedriccmh/claude-code-skill-scrapling.
Scrapling fits situations like: 抓取/爬取网页内容或数据(scrape; 需要绕过 Cloudflare/WAF 等反爬保护; 解析已有 HTML 提取结构化数据; 用户提供 URL 并要求获取页面内容或特定元素.
Run `npx skills add Cedriccmh/claude-code-skill-scrapling --skill scrapling -a claude-code`. Or copy the skill folder (the Cedriccmh/claude-code-skill-scrapling repository) into .claude/skills/scrapling in your project. Claude Code loads it when a task matches its description.
Run `npx skills add Cedriccmh/claude-code-skill-scrapling --skill scrapling -a codex`. Or copy the skill folder (the Cedriccmh/claude-code-skill-scrapling repository) into .agents/skills/scrapling in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Cedriccmh/claude-code-skill-scrapling --skill scrapling -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/scrapling, .gemini/skills/scrapling, .github/skills/scrapling and .opencode/skills/scrapling in your project.
Going by SKILL.md and its folder, Scrapling needs Python for the scripts in its folder and the command-line tools its instructions call (uv and python). Our summary lists: Python 3. Its frontmatter pre-approves these tools: Bash(python*), Bash(pip*), Bash(uv*), Bash(scrapling*).
SKILL.md contains no URLs. Its commands use uv, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Scrapling is published under the MIT licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.1k tokens (SKILL.md is roughly 4.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 5.3k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Scrapling: Scrapling (Tommy-yw/RunbookHermes, 546 stars), Scrapling (archibate/dotfiles-opencode, 108 stars), Producthunt Launches (browser-act/skills, 6.1k stars) and Crawl4AI Web Scraping (smallnest/goclaw, 598 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Cedriccmh (a GitHub user) maintains it in Cedriccmh/claude-code-skill-scrapling, which has 443 GitHub stars. The repository was last updated on June 18, 2026.
Source: Cedriccmh/claude-code-skill-scrapling on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.