Skip to main content

crawl4ai

Use when working with unclecode/crawl4ai or the local Crawl4AI stack: installing, updating, setting up, diagnosing, or using the `crwl` CLI for LLM-ready web crawling, scraping, Markdown extraction, JSON extraction, deep crawling, browser profiles, CDP browser control, screenshots/PDF/MHTML export, or Python `AsyncWebCrawler` workflows. Prefer this for deterministic local web-to-Markdown and crawler workflows. Do not use for generic web search when the host AI has native search.

설치로 이동

소스 정보

저장소
onfire7777/universal-ai-skills-library
최근 소스 활동
2026년 6월 18일 01:50
감지된 SKILL.md 언어
영어
스타
16
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
crawl4ai
description
Use when working with unclecode/crawl4ai or the local Crawl4AI stack: installing, updating, setting up, diagnosing, or using the `crwl` CLI for LLM-ready web crawling, scraping, Markdown extraction, JSON extraction, deep crawling, browser profiles, CDP browser control, screenshots/PDF/MHTML export, or Python `AsyncWebCrawler` workflows. Prefer this for deterministic local web-to-Markdown and crawler workflows. Do not use for generic web search when the host AI has native search.
# Crawl4AI Universal Adapter ## Source - Upstream repository: `https://github.com/unclecode/crawl4ai` - Local source checkout: `%USERPROFILE%\.crawl4ai-source\crawl4ai` - Local runtime/state root: `%USERPROFILE%\.crawl4ai` - Virtual environment: `%USERPROFILE%\.crawl4ai\venv` - User command shims: `%USERPROFILE%\.local\bin` - Primary CLI: `crwl` - Setup command: `crawl4ai-setup` - Doctor command: `crawl4ai-doctor` - Router delegator: `skill-router crawl4ai` - Universal stack source registry: `%USERPROFILE%\.universal-ai-stack\config\source-integrations.json` ## Operating Model Use Crawl4AI as a shared local CLI/Python source integration, not as copied skill bodies or a per-agent install. The universal install uses: - one upstream source checkout for README-grounded reference, - one dedicated Python virtual environment under `%USERPROFILE%\.crawl4ai\venv`, - command shims in `%USERPROFILE%\.local\bin`, - this canonical skill for routing and workflow instructions, - compact `skill-router` wrappers in each AI client. No persistent MCP bridge is required for normal Crawl4AI work. Use direct CLI or Python calls first. ## Safety And State Boundaries Never commit or paste: - `%USERPROFILE%\.crawl4ai` cache, database, profiles, screenshots, HTML, extracted content, browser profile cookies, or generated crawl output, - `%USERPROFILE%\.crawl4ai\venv`, - `%USERPROFILE%\.crawl4ai-source\crawl4ai` as vendored repo content, - API keys used for LLM extraction providers, - private pages, authenticated crawl output, cookies, or profile state. Respect robots.txt, site terms, auth boundaries, and rate limits. Ask before using authenticated profiles, proxies, or anti-bot/undetected workflows. Use host-native web search for search-engine discovery. Use Crawl4AI after a target URL or crawl scope is known and the task needs deterministic page retrieval, Markdown, structured extraction, or browser/profile control. ## Install And Health Check local state: ```powershell skill-router crawl4ai status ``` Update source and reinstall: ```powershell skill-router crawl4ai update ``` Run upstream setup: ```powershell skill-router crawl4ai setup ``` Run the upstream health check: ```powershell skill-router crawl4ai doctor ``` Direct commands are also available: ```powershell crwl --help crawl4ai-setup crawl4ai-doctor ``` ## CLI Workflows Basic crawl to Markdown: ```powershell crwl https://example.com -o markdown ``` Write output to a file: ```powershell crwl https://example.com -o markdown -O .\crawl-output.md ``` Return JSON for agent parsing: ```powershell crwl https://example.com -o json ``` Ask a question about crawled content: ```powershell crwl https://example.com -q "Extract pricing and plan names" -o json ``` Deep crawl a bounded site section: ```powershell crwl https://docs.crawl4ai.com --deep-crawl bfs --max-pages 10 -o markdown ``` Use an explicit subcommand when clarity matters: ```powershell crwl crawl https://example.com -o markdown ``` ## Profiles And Browser Control Profiles can preserve login/session state under `%USERPROFILE%\.crawl4ai`. Use them only when the user explicitly asks for authenticated crawling. Interactive profile manager: ```powershell crwl profiles ``` Crawl with a saved profile: ```powershell crwl https://example.com/dashboard -p my-profile -o json ``` Check or stop the built-in browser: ```powershell crwl browser status crwl browser stop ``` Launch a visible browser window for profile/browser work only when requested: ```powershell crwl browser view --url https://example.com ``` ## Python Workflows Use Python when the task needs custom crawling, repeated calls, extraction strategies, hooks, or integration with another script: ```python import asyncio from crawl4ai import AsyncWebCrawler async def main(): async with AsyncWebCrawler() as crawler: result = await crawler.arun(url="https://example.com") print(result.markdown) asyncio.run(main()) ``` Run Python scripts with the dedicated venv: ```powershell %USERPROFILE%\.crawl4ai\venv\Scripts\python.exe .\script.py ``` ## Router Selection Rules Prefer this skill when the user asks for: - Crawl4AI installation, update, setup, doctor, or debugging, - `crwl` CLI usage, - web page crawling or scraping into Markdown/JSON, - LLM-ready web extraction for RAG or agents, - bounded deep crawling, - browser profiles or CDP control through Crawl4AI, - Python `AsyncWebCrawler` examples or integration. Reject this skill for: - generic web search or current-news lookup, - ordinary browser automation better handled by Browser/Playwright tools, - generic website analysis that does not need crawling/extraction, - unrelated "crawl" language that is not web crawling.
GitHub에서 보기