New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Schema-driven browser scraping for JavaScript-heavy pages, SPAs, and batch crawls via the Crawl4AI CLI and SDK.

skills.sh installs
1.2K
GitHub stars
51
last updated
Jul 14, 2026
View on GitHub

What it does

  • Covers JS-rendered pages, SPAs, login-gated content, infinite scroll, multi-URL concurrency, and sitemap crawling with the crwl CLI or Python SDK
  • Includes reusable CSS and JSON extraction schemas, markdown filters (filter_bm25.yml, filter_pruning.yml), and scripts such as generate_schema.py and extract_with_schema.py
  • Runs LLM-free extraction from saved schemas, using an LLM only once to derive each schema or for one-off irregular content
  • Designed for automated web data pipelines; static pages are routed to fetch-web or defuddle to avoid the roughly 2-second browser startup cost

Install

$ npx -y skills add brettdavies/crawl4ai-skill --skill crawl4ai -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Crawl4AI

Verified against crawl4ai VERSION. PEP 723 pins in scripts/*.py and tests/*.py floor at that version.

Overview

Crawl4AI wraps a headless browser (Playwright) plus a markdown-aware content pipeline. Use it when defuddle/curl can't reach the content — JavaScript-rendered pages, login-gated content, infinite scroll, multi-URL concurrency, repeatable schema-based extraction.

This skill exposes both interfaces of the underlying library:

  • CLI (crwl) — quick, scriptable commands: CLI Guide
  • Python SDK — full programmatic control: SDK Guide

Invoked with a URL argument

When the user runs /crawl4ai <url> with a single URL and no further qualifier, treat it as the JS-heavy fetch case and default to:

crwl <url> -c "wait_until=networkidle,page_timeout=60000" -o markdown

Details

Repository
github.com/brettdavies/crawl4ai-skill
Categories
Browser Automation & Scraping, CLI & Terminal
First seen
May 16, 2026