Summary
网页内容提取策略。当需要读取网页内容、爬取页面、提取文章正文、处理JS渲染页面、或绕过反爬限制时,必须使用此技能。三层工具选择:WebFetch(内置)→ Crawl4AI(JS渲染/反爬)→ 原生 Playwright(兜底降级)。
luochang212/cc-enhance · Archived
网页?
npx skills add luochang212/cc-enhance --skill web-fetch-cce
网页内容提取策略。当需要读取网页内容、爬取页面、提取文章正文、处理JS渲染页面、或绕过反爬限制时,必须使用此技能。三层工具选择:WebFetch(内置)→ Crawl4AI(JS渲染/反爬)→ 原生 Playwright(兜底降级)。
This repository is archived — consider an actively maintained alternative.
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "chec…
617.3K installsToolkit for interacting with and testing local web applications using Playwright. Supports veri…
152.3K installsSuite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern fr…
98.9K installsAudit, diagnose, or optimize website loading and interaction performance, Core Web Vitals, and …
66.3K installsRelated neighbors and high-traction skills in the same topics — useful to compare before installing.
Framework (OSS). Use when implementing or debugging ANY network request, API call, or data fetc…
14.2K installsTurn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use whe…
5.1K installsUse this skill when the user wants to retrieve a URL without a full browser session: fetch HTML…
2.9K installsFetch weather/climate data via Earth2Studio data sources for specific variables and times. Do N…
1.8K installsRetrieves and searches dbt documentation pages in LLM-friendly markdown format. Use when fetchi…
846 installsDeclared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.
main
Files included with this skill beyond the listing page.
SKILL.md
3,512 B
SUMMARY.md
304 B
来自 cc-enhance。
-cce后缀表示此技能由 cc-enhance 项目安装,避免与本地同名技能冲突。
搜索拿到 URL 之后,把页面内容提取为 Claude 可读的格式。
| 工具 | 适用场景 | 格式 |
|---|---|---|
WebFetch |
静态页面、文档、博客 | HTML → Markdown |
| Crawl4AI | JS 渲染、反爬、结构化提取 | Playwright → Markdown / JSON |
| 原生 Playwright | Crawl4AI 超时/被检测时的降级 | inner_text 纯文本 |
WebFetch。内置、<1s、零依赖。覆盖 90% 的页面。magic=True 解微信。wait_until 策略。| WebFetch | Crawl4AI | 原生 Playwright | |
|---|---|---|---|
| 速度 | <1s | 2-4s | 1-5s |
| JS 渲染 | 否 | 是 | 是 |
| 输出质量 | 可用 | 丰富 Markdown | 纯文本 |
| 反爬 | 否 | magic/undetected | 手动注入 |
| 灵活性 | 无 | 中 | 高(wait_until、stealth) |
| 适合 | 90% 日常 | JS 重/反爬页 | Crawl4AI 搞不定时 |
| 依赖 | 用途 | 安装方式 | 磁盘 | 必需 |
|---|---|---|---|---|
| Python 环境 + Crawl4AI | JS 渲染、反爬绕过 | 见下方「Python 环境检测」 | ~300MB | 否 |
| 无(WebFetch 内置) | 静态页面首选,零依赖 | — | 0 | 否 |
按以下顺序检查,任一项满足即可跳过安装:
conda --version → 已有 conda,直接用 conda 创建环境uv --version → 已有 uv,用 uv venv && uv pip installpython3 --version → 已有 python3,用 venv + pip若都没有,按优先级推荐安装:
安装后执行:
中国大陆使用镜像加速(腾讯云 / 阿里云二选一):
# conda
conda create -n crawl4ai python=3.13 -y && conda activate crawl4ai
pip install -i https://mirrors.cloud.tencent.com/pypi/simple/ crawl4ai # 腾讯云
pip install -i https://mirrors.aliyun.com/pypi/simple/ crawl4ai # 阿里云
playwright install chromium
# uv
uv venv && source .venv/bin/activate
uv pip install -i https://mirrors.cloud.tencent.com/pypi/simple/ crawl4ai # 腾讯云
uv pip install -i https://mirrors.aliyun.com/pypi/simple/ crawl4ai # 阿里云
playwright install chromium
# venv
python3 -m venv venv && source venv/bin/activate
pip install -i https://mirrors.cloud.tencent.com/pypi/simple/ crawl4ai # 腾讯云
pip install -i https://mirrors.aliyun.com/pypi/simple/ crawl4ai # 阿里云
playwright install chromium