crawl4ai
Skill2 starsChanged 4 months agoMITView on GitHub
Crawl4AI capture - turn web pages, including JavaScript-rendered ones, into LLM-ready markdown or structured CSS/JSON extractions, with batch crawling, screenshots/PDFs, and extraction-quality checks. Use when a task needs page content beyond what a simple fetch or browser read returns, or when deep-research captures raw sources.
- Installs packages
5 other projects use a version of this.
Adopted by
Most recently taken up by
- nek1987/auto-agent-harnesstheir own version, first seen Oct 11, 2026
- inovve/homelab-agent-skillstheir own version, first seen Jul 14, 2026
- brettdavies/crawl4ai-skilltheir own version, first seen Jun 16, 2026
- mj-deving/pai-skillstheir own version, first seen Apr 27, 2026
- durandom/skillstheir own version, first seen Mar 5, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- brettdavies/crawl4ai-skill★ 49same name
- durandom/skills★ 7same name
- nek1987/auto-agent-harness★ 4same name
- inovve/homelab-agent-skills★ 1same name
- mj-deving/pai-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository4 other files it gives its agents.
- advanced-web-searchSkill
- deep-researchSkill
- wiki-ingestSkill
- wiki-lintSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 2 are distinctive, and 7 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
Use this skill to crawl web pages into inspectable markdown or structured JSON.
- Very specific: line 26
If the crwl command is available:
- Very specific: line 32
If the current harness uses a dedicated virtual environment, run the same commands with that environment's Python and crwl executable.
- Distinctive: line 34
If browser setup fails:
- Very specific: line 48
Start from URLs selected by advanced-web-search, browser inspection, or user input.
- Distinctive: line 58
no login wall, CAPTCHA, cookie-only shell, or empty JS shell
- Very specific: line 89
Run scripts with the Python environment that has crawl4ai installed.
- Very specific: line 100
Do not treat result.success or HTTP 200 as enough.
- Very specific: line 101
Create output directories before using -O.
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Crawl4AI
Overview
Use this skill to crawl web pages into inspectable markdown or structured JSON. In this repository, crawl4ai is a required peer for deep-research: search discovers sources, Crawl4AI captures raw/source content, and the research skill synthesizes evidence.
The skill is harness-neutral. Use the local CLI, Python SDK, Docker API, MCP bridge, or an equivalent harness-provided Crawl4AI tool.
Required Setup
Install Crawl4AI in the Python runtime used by the current agent:
python -m pip install -U crawl4ai
crawl4ai-setup
crawl4ai-doctorOfficial project: https://github.com/unclecode/crawl4ai
If the crwl command is available:
crwl crawl https://example.com -o markdown --bypass-cacheIf the current harness uses a dedicated virtual environment, run the same commands with that environment's Python and crwl executable. Do not hardcode another machine's venv path in reusable skills.
If browser setup fails:
python -m playwright install chromiumOn Linux servers that need browser system dependencies:
python -m playwright install --with-deps chromiumCore Workflow
- Start from URLs selected by
advanced-web-search, browser inspection, or user input. - Choose the lightest adequate capture mode:
- simple markdown for normal pages
scan_full_page,wait_for, or longer timeout for dynamic pages- CSS/JSON extraction for repeated structured pages
- screenshot/PDF only when visual evidence matters
- Capture raw markdown/JSON into a durable path such as
research/raw/YYYY-MM-DD/<topic>/. - Inspect extraction quality before using the content:
- non-trivial length
- expected title/headings/entities
- no login wall, CAPTCHA, cookie-only shell, or empty JS shell
- relevant section present, not just boilerplate
- Mark each source as
fetched,partial,blocked,empty, orneeds_review. - Pass raw paths and quality notes back to
deep-researchfor source cards and evidence matrices.
CLI Patterns
# Markdown to a file; create the parent directory first
mkdir -p research/raw/2026-07-05/example
crwl crawl https://example.com -o markdown --bypass-cache -O research/raw/2026-07-05/example/example.md
# Dynamic page
crwl crawl https://example.com -c "wait_for=css:.content,page_timeout=60000" -o markdownMore CLI forms (JSON output, full-page scroll, browser flags, structured extraction) are in references/cli-guide.md.
On Windows consoles, prefer UTF-8 output and -O <file> if rich terminal output causes encoding issues.
Python SDK
For scripted capture, prefer the bundled scripts below. For custom SDK code — browser/run configs, arun_many batches, CSS extraction schemas — read references/sdk-guide.md.
Bundled Scripts
scripts/crawl_url.py- single URL markdown capture with quality checks.scripts/batch_crawler.py- batch URL capture intoresearch/raw/....scripts/extraction_pipeline.py- CSS/JSON structured extraction helper.scripts/google_search.py- Google result-page scraping fallback when normal search tools are unavailable.
Run scripts with the Python environment that has crawl4ai installed.
References
references/cli-guide.mdfor command-line usage.references/sdk-guide.mdfor Python SDK usage.references/quality-checks.mdfor extraction validation.references/windows-notes.mdfor Windows-specific encoding/path notes.
Pitfalls
- Do not treat
result.successor HTTP 200 as enough; inspect the extracted content. - Create output directories before using
-O. result.markdownmay be an object; use.raw_markdownwhen present.markdown-fitcan be empty if filters are too aggressive or the site blocks crawling.- For bot-protected/authenticated sites, expect partial results unless a profile/cookies/session is configured.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

