web-fetch-cce

web-fetch-cce is a skill for Claude Code, Codex from luochang212/cc-enhance. It costs 84 tokens per session (1,084 once invoked), scanned A, original, MIT.

A strategy for extracting readable content from web pages, including pages that need JavaScript to load or resist automated access.

In plain words
What is it for?
Use it to read article text, crawl pages, extract structured content, handle JavaScript-rendered sites, and try browser automation when simpler fetching fails.
Why use it?
It provides fallback methods when a normal page fetch does not contain the content or is blocked. The methods range from a built-in fetch to browser-based extraction.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to read article text, crawl pages, extract structured content, handle JavaScript-rendered sites, and try browser automation when simpler fetching fails.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/luochang212/cc-enhance/web-fetch-cce
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 luochang212/cc-enhance --skill web-fetch-cce
Clone the repo
git clone --depth 1 https://github.com/luochang212/cc-enhance

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 web-fetch-cce

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/luochang212/cc-enhance/web-fetch-cce"><img src="https://agentmods.dev/badge/skills/luochang212/cc-enhance/web-fetch-cce.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 84 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,084 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.00084 $0.01084
Opus 5 $0.00042 $0.00542
Sonnet 5 $0.00017 $0.00217
Haiku 4.5 $0.00008 $0.00108

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

Security

Grade A, and why

web-fetch-cce 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.

skills/web-fetch-cce/SKILL.md · 86 lines

How it starts

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

来自 cc-enhance-cce 后缀表示此技能由 cc-enhance 项目安装,避免与本地同名技能冲突。

Web Fetch

搜索拿到 URL 之后,把页面内容提取为 Claude 可读的格式。

工具选择

工具 适用场景 格式
WebFetch 静态页面、文档、博客 HTML → Markdown
Crawl4AI JS 渲染、反爬、结构化提取 Playwright → Markdown / JSON
原生 Playwright Crawl4AI 超时/被检测时的降级 inner_text 纯文本

策略

  1. 优先 WebFetch。内置、<1s、零依赖。覆盖 90% 的页面。
  2. Crawl4AI 处理 JS 重/反爬页。Markdown 质量好,magic=True 解微信。
  3. 原生 Playwright 兜底。当 Crawl4AI 超时(阮一峰)或被检测时,手动控制 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

Python 环境检测

按以下顺序检查,任一项满足即可跳过安装:

  1. conda --version → 已有 conda,直接用 conda 创建环境
  2. uv --version → 已有 uv,用 uv venv && uv pip install
  3. python3 --version → 已有 python3,用 venv + pip

若都没有,按优先级推荐安装:

  • 首选Miniconda — 跨平台、环境隔离好
  • 备选uv — 轻量快速、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

Read the full file on GitHub · 86 lines

Files

What ships with it

2 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. 10d ago First seen · 86 lines · 84 tokens per session scan A 021c05b3dc86

Subscribe to this mod's changes

web-fetch-cce is a skill published in the GitHub repository luochang212/cc-enhance (7 stars, last pushed 3mo ago), licensed MIT. It adds 84 tokens to every session and 1,084 once invoked, about $0.0004 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-31.

Related

Other skills, from other repositories

agent-browser

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a…

ReflexioAI/claude-smart · 108 tokens

playwright

Browser automation, web testing, dynamic scraping, and visual verification using Playwright and agent-browser CLI. Supports DOM snapshots with @eN element references, form interactions, and screenshot validations.

Sdinzsh/PowerHou53 · 40 tokens

opencli-sitemap-author

Use when creating or maintaining OpenCLI site sitemaps: agent-facing navigation, page-state, action, workflow, API-reference, pitfall, and fallback knowledge for a website. Use after browser exploration discovers durable site context, when a sitemap is stale, or when promoting local site knowledge into the repo.

jackwener/OpenCLI · 67 tokens

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

interactive-login

How to complete browser/interactive logins (aws / gh / glab / gcloud). The platform backgrounds the login poller so it survives the human's browser round-trip — and when that does NOT work.

yc-software/qm · 46 tokens

pinchtab-mcp

Use this skill when a task requires browser automation through PinchTab's MCP server connected to a remote browser instance. Covers navigation, element interaction, data extraction, form filling, multi-step flows, and session management via MCP tools.

pinchtab/pinchtab · 52 tokens