crawl4ai

crawl4ai is a skill for Claude Code, Codex from citedy/adclaw. It costs 48 tokens per session (1,636 once invoked), scanned A, original, Apache-2.0.

A framework for crawling websites and turning page content into structured data. It combines browser-based handling of JavaScript pages with HTML parsing and cleanup.

In plain words
What is it for?
Scraping products, articles, forms, tables, and other page data, including content returned through web services.
Why use it?
It helps extract useful information from pages whose content is dynamic, messy, or difficult to parse with simple requests.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

Good fit Scraping products, articles, forms, tables, and other page data, including content returned through web services.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/citedy/adclaw/crawl4ai
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add citedy/adclaw --skill crawl4ai
Clone the repo
git clone --depth 1 https://github.com/citedy/adclaw

Made for: Claude Code, Codex.

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/citedy/adclaw/crawl4ai.svg)](https://agentmods.dev/skills/citedy/adclaw/crawl4ai)
Your own site
<a href="https://agentmods.dev/skills/citedy/adclaw/crawl4ai"><img src="https://agentmods.dev/badge/skills/citedy/adclaw/crawl4ai.svg" alt="Measured on agentmods" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,636 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00048 $0.01636
Opus 5 $0.00024 $0.00818
Sonnet 5 $0.00010 $0.00327
Haiku 4.5 $0.00005 $0.00164

Measured 8d ago against content hash 40a6849c196b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 8d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/extract_from_html.py, scripts/scrape_multiple_pages.py, scripts/scrape_single_page.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

src/adclaw/agents/skills/crawl4ai/SKILL.md · 256 lines

How it starts

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

Crawl4ai

Overview

Crawl4ai is an AI-powered web scraping framework designed to extract structured data from websites efficiently. It combines traditional HTML parsing with AI to handle dynamic content, extract text intelligently, and clean and structure data from complex web pages.

When to Use This Skill

Use when Codex needs to:

  • Extract structured data from web pages (products, articles, forms, tables, etc.)
  • Scrape websites with dynamic content or complex JavaScript
  • Clean and normalize extracted data from various HTML structures
  • Work with APIs or web services that return HTML
  • Handle CORS limitations by scraping directly
  • Process web content at scale with reliability

Trigger phrases:

  • "Extract data from this website"
  • "Scrape this page for [specific data]"
  • "Parse this HTML"
  • "Get data from [URL]"
  • "Extract structured information from [website]"
  • "Scrape [website] for [data type]"
  • "Web scrape [URL]"

Quick Start

Basic Usage

from crawl4ai import AsyncWebCrawler, BrowserMode

async def scrape_page(url):
    async with AsyncWebCrawler() as crawler:
        result = await crawler.arun(
            url=url,
            browser_mode=BrowserMode.LATEST,
            headless=True
        )
        return result.markdown, result.clean_html

Extracting Structured Data

from crawl4ai import AsyncWebCrawler, JsonModeScreener
import json

async def extract_products(url):
    async with AsyncWebCrawler() as crawler:
        result = await crawler.arun(
            url=url,
            screenshot=True,
            javascript=True,
            bypass_cache=True
        )
        # Extract product data
        products = []
        for item in result.extracted_content:
            if item['type'] == 'product':
                products.append({
                    'name': item['name'],
                    'price': item['price'],
                    'url': item['url']
                })
        return products

Read the full file on GitHub · 256 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 8d ago First seen · 256 lines · 48 tokens per session scan A 40a6849c196b

Subscribe to this mod's changes

crawl4ai is a skill published in the GitHub repository citedy/adclaw (36 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 48 tokens to every session and 1,636 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.