crawl4ai

crawl4ai is a skill for Claude Code from romek-rozen/cc-crawl4ai. It costs 47 tokens per session (820 once invoked), scanned A, original, MIT.

A tool for reading live websites, either as compact page text or as structured data. It can handle a single page or, where supported, multiple pages.

In plain words
What is it for?
Use it to scrape pages, crawl sites, ask questions about fresh web content, or extract selected information into JSON.
Why use it?
It removes irrelevant HTML and focuses reading on the content you need, including content matching a search query.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the cc-crawl4ai plugin — 5 skills, 3 agents shipped together

Good fit Use it to scrape pages, crawl sites, ask questions about fresh web content, or extract selected information into JSON.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add romek-rozen/cc-crawl4ai
Claude Code
/plugin install cc-crawl4ai

Made for: Claude Code.

Or install cc-crawl4ai, the plugin that ships this one along with the rest of its 5 skills, 3 agents.

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 crawl4ai

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/romek-rozen/cc-crawl4ai/crawl4ai"><img src="https://agentmods.dev/badge/skills/romek-rozen/cc-crawl4ai/crawl4ai.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 820 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00047 $0.00820
Opus 5 $0.00023 $0.00410
Sonnet 5 $0.00009 $0.00164
Haiku 4.5 $0.00005 $0.00082

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

Security

Grade A, and why

crawl4ai scanned grade A with 0 findings 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 10d ago.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/cc-crawl4ai/skills/crawl4ai/SKILL.md · 90 lines

How it starts

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

Crawl4AI

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.

Choose a mode

Compact single-page scrape (preferred for reading)

"${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.

Regular single-page Crawl4AI output

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.

Bounded multi-page crawl

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 Markdown, Markdown-fit, or all output.
  • Do not combine deep crawl with Trafilatura, BM25, question mode, or JSON extraction.

Structured JSON extraction

Use --output-format json and exactly one extraction strategy:

  • LLM: --json-extract "Extract product name and price" (requires Crawl4AI LLM provider configuration).
  • Deterministic CSS/XPath: --schema-path "/absolute/schema.json" --extraction-config "/absolute/config.yaml".

Read the full file on GitHub · 90 lines

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. 10d ago First seen · 90 lines · 47 tokens per session scan A 9aa2231fa2b5

Subscribe to this mod's changes

crawl4ai is a skill published in the GitHub repository romek-rozen/cc-crawl4ai (12 stars, last pushed 29d ago), licensed MIT. It adds 47 tokens to every session and 820 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. 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

playwright-recording

Record browser interactions as video using Playwright. Use for capturing demo videos, app walkthroughs, and UI flows for Remotion videos. Triggers include recording a demo, capturing browser video, screen recording a website, or creating walkthrough footage.

digitalsamba/claude-code-video-toolkit · 53 tokens

memstack-development-webapp-testing

Use when the user says 'write browser tests', 'test this page', 'playwright test', 'e2e test', 'end to end test', 'browser test', 'test the UI', or needs Playwright-based browser testing for a web application. Do NOT use for unit tests, API tests, or non-browser testing.

cwinvestments/memstack · 75 tokens

browser-tools

Security wrapper over the upstream agent-browser skill, adding URL blocklisting, rate limiting, robots.txt enforcement, and scraping guardrails. Use when automating browser workflows that need safety limits.

yonatangross/orchestkit · 40 tokens

browser-use

An AI-driven browser automation tool that reads web pages, chooses actions, and carries out tasks from a natural-language description. Unlike a fixed script, it can make decisions while interacting with changing pages.

aAAaqwq/AGI-Super-Team · 57 tokens

bb-browser

AI agent browser automation via CDP. Use when you need to access websites that require login, scrape data from platforms (Twitter/X, Reddit, GitHub, Xueqiu, Bilibili, etc.), bypass IP blocks, or fetch structured data from any site the user is logged into. Triggers: bb-browser, browser fetch, login required, scrape…

aAAaqwq/AGI-Super-Team · 109 tokens

playwright-automation

Browser automation and testing with Playwright. Use when testing web applications, automating browser tasks, taking screenshots, or validating UI behavior.

majiayu000/spellbook · 32 tokens