Web crawling and scraping tool with LLM-optimized output. 网页爬虫爬取工具 | Web crawler, web scraper, spider. DuckDuckGo search, site crawling, dynamic page scrapin...
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install crawl4ai-skill或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install crawl4ai-skill⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/crawl4ai-skill/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: crawl4ai-skill description: "Web crawling and scraping tool with LLM-optimized output. 网页爬虫爬取工具 | Web crawler, web scraper, spider. DuckDuckGo search, site crawling, dynamic page scraping. 智能搜索爬取 | Free, no API key required." version: 1.1.0 author: Lancelin license: MIT-0 repository: https://github.com/lancelin111/crawl4ai-skill homepage: https://github.com/lancelin111/crawl4ai-skill pypi: crawl4ai-skill issues: https://github.com/lancelin111/crawl4ai-skill/issues tags: - web-scraping - web-crawling - crawler - scraper - spider - search - markdown - llm - token-optimization - duckduckgo - crawl - scrape - 爬虫 - 爬取 - 网页抓取 requires: bins: - crawl4ai-skill ---
Web Crawling 网页爬虫 | Web Scraping 网页爬取 | LLM 优化输出
智能网页爬虫和爬取工具,支持搜索、全站爬取、动态页面抓取。Free web crawler and scraper with LLM-optimized Markdown output.
---
pip install crawl4ai-skill
# Search the web with DuckDuckGo
crawl4ai-skill search "python web scraping"
# Scrape a single web page
crawl4ai-skill crawl https://example.com
# Crawl entire website / spider
crawl4ai-skill crawl-site https://docs.python.org --max-pages 50
---
# Crawl documentation site with spider
crawl4ai-skill crawl-site https://docs.fastapi.com --max-pages 100
爬虫效果 | Crawler Output:
# Search and scrape top results
crawl4ai-skill search-and-crawl "Vue 3 best practices" --crawl-top 3
JavaScript 渲染的页面爬取(雪球、知乎等):
# Scrape JavaScript-heavy pages
crawl4ai-skill crawl https://xueqiu.com/S/BIDU --wait-until networkidle --delay 2
---
| 命令 Command | 说明 Description | |------|------| | search | Web search 网页搜索 | | crawl | Web scraping 单页爬取 | | crawl-site | Web crawling 全站爬虫 | | search-and-crawl | Search + scrape 搜索并爬取 |
# Web Search 搜索
--num-results 10 # Number of results
# Web Scraping 爬取
--format fit_markdown # Output format
--output result.md # Output file
--wait-until networkidle # Wait strategy for dynamic pages
--delay 2 # Additional wait time (seconds)
--wait-for ".selector" # Wait for specific element
# Web Crawling 爬虫
--max-pages 100 # Max pages to crawl
--max-depth 3 # Max crawl depth
---
智能提取,节省 80% Token。Smart extraction, save 80% tokens.
crawl4ai-skill crawl https://example.com --format fit_markdown
保留完整结构。Preserve full structure.
crawl4ai-skill crawl https://example.com --format raw_markdown
---
✅ 免费爬虫 Free Crawler - 无需 API key,开箱即用 ✅ 智能爬取 Smart Scraper - 自动去噪,提取核心内容 ✅ 全站爬虫 Site Crawler - 支持 sitemap,递归爬取 ✅ 动态爬取 Dynamic Scraping - JavaScript 渲染页面支持 ✅ 搜索集成 Search Integration - DuckDuckGo 搜索内置
---
安装 Crawl4ai Skill 后,可以对 AI 说这些话来触发它
Help me get started with Crawl4ai Skill
Explains what Crawl4ai Skill does, walks through the setup, and runs a quick demo based on your current project
Use Crawl4ai Skill to web crawling and scraping tool with LLM-optimized output
Invokes Crawl4ai Skill with the right parameters and returns the result directly in the conversation
What can I do with Crawl4ai Skill in my data & analytics workflow?
Lists the top use cases for Crawl4ai Skill, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/crawl4ai-skill/ 目录(个人级,所有项目可用),或 .claude/skills/crawl4ai-skill/(项目级)。重启 AI 客户端后,用 /crawl4ai-skill 主动调用,或让 AI 根据上下文自动发现并使用。
Crawl4ai Skill 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Crawl4ai Skill 可免费安装使用。请查阅仓库了解许可证信息。
Web crawling and scraping tool with LLM-optimized output. 网页爬虫爬取工具 | Web crawler, web scraper, spider. DuckDuckGo search, site crawling, dynamic page scrapin...
Crawl4ai Skill 属于「Data & Analytics」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my data & analytics tasks using Crawl4ai Skill
Identifies repetitive steps in your workflow and sets up Crawl4ai Skill to handle them automatically