/cc-crawl4ai:crawl4ai <URL> [what to crawl or extract]from Crawl4AI
Crawls, scrapes, and extracts structured data from live websites using Crawl4AI and Trafilatura. Supports single-page scraping, multi-page deep crawls, BM25 query filtering, and JSON extraction via LLM or CSS/XPath.
Ships in Crawl4AI. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use the bundled non-MCP CLI. Every invocation must use the resolved plugin and project placeholders:
"${CLAUDE_PLUGIN_ROOT}/bin/crawl4ai" crawl "URL" --project-root "${CLAUDE_PROJECT_DIR}" --runtime-root "${CLAUDE_PLUGIN_DATA}" [options]
Quote every argument. Never concatenate user input into a shell fragment. The CLI validates parameters and invokes subprocesses without a shell.
"${CLAUDE_PLUGIN_ROOT}/bin/crawl4ai" crawl "https://example.com" \
--project-root "${CLAUDE_PROJECT_DIR}" --runtime-root "${CLAUDE_PLUGIN_DATA}" \
--extractor trafilatura --output-format markdown
Trafilatura supports only a single page and markdown, md, or text. Markdown formatting and tables are retained by default. Add --include-links, --include-images, --no-tables, or --no-include-formatting only when requested. It saves both extracted content and sibling .raw.html.
For query-focused content, add:
--bm25-query "specific search terms" --bm25-threshold 1.0
BM25 runs after Trafilatura when both are selected. A higher threshold returns fewer structural chunks.
Use --output-format markdown (default), markdown-fit, or all. md and md-fit are aliases. --question "..." asks Crawl4AI a natural-language question and may require a configured provider.
Always set a traversal and explicit page cap:
--deep-crawl bfs --max-pages 10
bfs: broad discovery.dfs: follow branches deeply.best-first: prioritize relevant pages.Use --output-format json and exactly one extraction strategy:
--json-extract "Extract product name and price" (requires Crawl4AI LLM provider configuration).--schema-path "/absolute/schema.json" --extraction-config "/absolute/config.yaml".Do not request JSON without an extraction strategy.
--browser-config "key=value,..."--crawler-config "key=value,..."; cache mode is added automatically unless specified.--bypass-cache only when freshness matters.--output-file "path"; relative paths resolve under the project and become absolute before execution.--timeout 120; default is 60 seconds.The full CLI contract is available with:
"${CLAUDE_PLUGIN_ROOT}/bin/crawl4ai" crawl --help
Default artifacts are written under:
${CLAUDE_PROJECT_DIR}/.crawl4ai/outputs/<domain>/<format>/
The command prints paths, not full page contents. Use Read on the relevant extracted artifact only after crawling. Read raw HTML only for debugging. Report the source URL, options used, artifact paths, and concise findings. Never guess page content.
If the runtime is missing, invoke or recommend /cc-crawl4ai:crawl4ai-install. Use /cc-crawl4ai:crawl4ai-status for diagnostics.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub romek-rozen/cc-crawl4ai --plugin cc-crawl4ai5 skills in this plugin
/crawl4ai-clear-cacheRemove project-local Crawl4AI cache and robots data without deleting outputs or installed runtimes./crawl4ai-installInstall or update Crawl4AI, Trafilatura, and browser dependencies in isolated Python virtual environments./crawl4ai-statusCheck Crawl4AI, Trafilatura, and browser setup status for this plugin./crawl4ai-testSmoke-test the complete Crawl4AI to Trafilatura pipeline against example.com.Other plugins' skills for the same job