crawl4ai

Automate web crawling and data extraction from JavaScript-heavy sites.

42|13|Updated Dec 3, 2025
One-click install
npx skills add https://github.com/brettdavies/crawl4ai-skill --skill crawl4ai-brettdavies
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: crawl4ai
Source: https://github.com/brettdavies/crawl4ai-skill/tree/main/crawl4ai
Command: npx skills add https://github.com/brettdavies/crawl4ai-skill --skill crawl4ai-brettdavies

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires crawl4ai, packaging, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Crawl4AI enables automated web crawling and data extraction across JS-heavy sites with multi-URL pipelines, returning clean Markdown or JSON for downstream tasks.

Core Features & Use Cases

  • CLI and Python SDK interfaces for quick tasks and automation.
  • JS-enabled crawling, deterministic CSS/JSON extraction, and optional LLM-based extraction.
  • Batch processing, session management, content filtering, and rich outputs (markdown, JSON, links, media).
  • Use cases include building data pipelines from multiple sources, monitoring product pages, and extracting article metadata.

Quick Start

Install the Crawl4AI package, configure browser and crawl settings, then crawl a URL to produce clean Markdown output.

Frequently Asked Questions about crawl4ai

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract structured data from JavaScript-heavy websites?

Web scraping JavaScript-heavy sites requires a crawler that executes JS rendering and supports CSS or LLM-based extraction. Crawl4AI handles JS execution, multi-URL pipelines, and returns clean Markdown or JSON for downstream tasks.

What's the best way to crawl multiple URLs and generate markdown automatically?

Batch processing multiple URLs to generate markdown requires configurable crawl pipelines. Crawl4AI supports multi-URL batch crawling with per-session BrowserConfig and per-crawl CrawlerRunConfig, delivering markdown, JSON, links, and media metadata outputs.

Can I use CSS selectors for deterministic web scraping instead of LLM-based extraction?

Yes, CSS selectors enable deterministic web scraping without relying on LLM-based extraction. Crawl4AI supports CSS-based deterministic extraction alongside optional LLM-based extraction, giving you control over structured data retrieval methods.

Does Crawl4AI support CLI and Python SDK interfaces for automation?

Yes, Crawl4AI provides both CLI and Python SDK interfaces for web scraping automation. The CLI handles quick tasks while the Python SDK enables automation for building end-to-end data pipelines, batch processing, and session management.

How do I configure browser sessions and crawl settings for batch web scraping?

Configuring browser sessions and crawl settings for batch web scraping uses per-session BrowserConfig and per-crawl CrawlerRunConfig. These settings control JS execution, content filtering, session management, and output delivery of markdown, JSON, and media metadata.

Why does web scraping return unstructured content instead of clean markdown?

Web scraping returns unstructured content instead of clean markdown when content filtering and markdown generation are not applied. Crawl4AI includes content filtering and markdown generation during crawling to ensure outputs are clean and structured for downstream pipelines.