Claude Code Plugins

Community-maintained marketplace

Feedback
12
0

渲染网页 URL,去噪提取正文并输出为 Markdown(默认)或其他格式/原始 HTML,以减少 Token。

Install Skill

1Download skill
2Enable skills in Claude

Open claude.ai/settings/capabilities and find the "Skills" section

3Upload to Claude

Click "Upload skill" and select the downloaded ZIP file

Note: Please verify skill by going through its instructions before using it.

SKILL.md

name fetch-url
description 渲染网页 URL,去噪提取正文并输出为 Markdown(默认)或其他格式/原始 HTML,以减少 Token。

在当前文件所在目录运行:./scripts/fetch_url.py URL(仅支持 http / https)。

默认自动探测本地 Chromium 系浏览器路径;未探测到时需安装 Playwright 浏览器:

uv run playwright install chromium

参数:

  • --output:将输出写入文件(默认 stdout)。
  • --timeout-ms:Playwright 导航超时(毫秒,默认 60000)。
  • --browser-path:指定本地 Chromium 系浏览器路径(默认自动探测)。
  • --output-format:输出格式(默认 markdown),支持 csvhtmljsonmarkdownraw-htmltxtxmlxmlteiraw-html 直接输出渲染后的 HTML(不经 trafilatura)。

示例:

./scripts/fetch_url.py https://example.com --output ./page.md --timeout-ms 60000

Reference:`scripts/fetch_url.py`