fetch-crawl4ai

fetch-crawl4ai is a skill for Claude Code from 0xmariowu/Autosearch. It costs 56 tokens per session (671 once invoked), scanned A, original, MIT.

A web-fetching skill that uses Crawl4AI, a browser-based crawler, to load pages whose content appears only after JavaScript runs or that resist simple requests.

In plain words
What is it for?
Fetching and extracting text from JavaScript-heavy pages, anti-bot sites, and pages that require waiting for a particular element to appear.
Why use it?
It provides a fallback when a basic page fetch returns empty content, is blocked, or cannot render a dynamic site.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the autosearch plugin — 55 skills, 1 agent shipped together

Good fit Fetching and extracting text from JavaScript-heavy pages, anti-bot sites, and pages that require waiting for a particular element to appear.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/0xmariowu/autosearch/fetch-crawl4ai
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 0xmariowu/Autosearch --skill fetch-crawl4ai
Clone the repo
git clone --depth 1 https://github.com/0xmariowu/Autosearch

Made for: Claude Code.

Or install autosearch, the plugin that ships this one along with the rest of its 55 skills, 1 agent.

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 fetch-crawl4ai

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/0xmariowu/autosearch/fetch-crawl4ai"><img src="https://agentmods.dev/badge/skills/0xmariowu/autosearch/fetch-crawl4ai.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 671 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00056 $0.00671
Opus 5 $0.00028 $0.00336
Sonnet 5 $0.00011 $0.00134
Haiku 4.5 $0.00006 $0.00067

Measured 11d ago against content hash 92994fd85658, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

fetch-crawl4ai 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 11d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (__init__.py, fetch.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Call `fetch.py`'s sync `fetch(url: str, wait_for: str | None = None, timeout_seconds: float = 30.0)` function:
autosearch/skills/tools/fetch-crawl4ai/SKILL.md · 71 lines

How it starts

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

Deep URL fetch through crawl4ai, backed by Playwright and Chromium. Use this as the fallback when fetch-jina fails, refuses a URL, returns an empty page, or cannot see JavaScript-rendered content.

Input Fit

  • JavaScript-heavy SPAs where server HTML is mostly empty.
  • Anti-bot or dynamic sites that block simple HTTP fetchers.
  • Pages that need a CSS selector wait before extraction.
  • Public pages where a local Chromium browser can render the content.

Invocation

Call fetch.py's sync fetch(url: str, wait_for: str | None = None, timeout_seconds: float = 30.0) function:

result = fetch("https://example.com/app", wait_for=".loaded")

Successful calls return:

{
    "ok": True,
    "markdown": "...",
    "title": "Rendered page title",
    "url": "https://example.com/final-url",
    "meta": {
        "status_code": 200,
        "backend": "crawl4ai",
        "browser": "chromium",
        "elapsed_sec": 2.4,
    },
    "source": "https://example.com/app",
}

Failure Modes

  • Missing crawl4ai package returns reason: crawl4ai_unavailable. Install with pip install crawl4ai plus playwright install chromium, or fall back to fetch-jina.
  • Browser or crawl4ai runtime failures return reason: crawl4ai_runtime_error with the error message or stderr tail.
  • DNS, connection, and transport failures return reason: network_error.
  • Slow pages that exceed timeout_seconds return reason: timeout.
  • HTTP 403 or detectable challenge pages return reason: anti_bot_blocked; degrade to fetch-playwright or fetch-firecrawl paid fallback.
  • Successful crawls with empty or too-short Markdown return reason: empty_content.

Limits

  • Requires user opt-in installation: pip install crawl4ai.
  • Requires a Chromium browser installed for Playwright: playwright install chromium.
  • This tool is slower and heavier than fetch-jina; use it only when a simple fetch cannot retrieve the useful content.
  • It does not solve sites that require authentication, strong bot mitigation, paid proxies, or long interactive flows.

Read the full file on GitHub · 71 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 11d ago First seen · 71 lines · 56 tokens per session scan A 92994fd85658

Subscribe to this mod's changes

fetch-crawl4ai is a skill published in the GitHub repository 0xmariowu/Autosearch (44 stars, last pushed 1mo ago), licensed MIT. It adds 56 tokens to every session and 671 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

vaaya

Vaaya is the payment system for agents: one MCP server that lets your agent call paid APIs pay-per-call with no API keys. Web search, scraping, image and video generation, code sandboxes, browser automation, email, phone calls, lead enrichment, live data. Priced in cents per call, billed only on success, and every…

vaaya-ai/vaaya-mcp · 0 tokens

scrape-strategy

Guide mode selection when site scraping is weak, blocked, or low quality. Use when the user asks why scraping failed or how Primr should proceed on a protected site.

blisspixel/primr · 39 tokens

captchasonic-solve

Solve a CAPTCHA using the CaptchaSonic MCP server. Supports all types — PopularCaptcha, reCAPTCHA, Geetest, OCR, AWS WAF, TikTok, Binance, Cloudflare Turnstile, and more. Provide an image (path, URL, or base64) and captcha type.

Captcha-Sonic/Agent-skills · 68 tokens

captchasonic

Solve CAPTCHAs using the CaptchaSonic AI API. Supports reCAPTCHA, Cloudflare Turnstile, Geetest, AWS WAF, TikTok, Binance, OCR, and more. Provides MCP server tools for health checks, balance queries, and captcha solving from any AI agent.

Captcha-Sonic/Agent-skills · 65 tokens

captchasonic-setup

Set up the CaptchaSonic MCP server for the first time. Installs the server, configures environment variables, and verifies connectivity. Use when a user wants to start using CaptchaSonic with their AI agent.

Captcha-Sonic/Agent-skills · 51 tokens

playwright-cli

Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information from web pages.

valarpirai/code-graph · 52 tokens