web-to-markdown by davila7/claude-code-templates
npx skills add https://github.com/davila7/claude-code-templates --skill web-to-markdown将网页转换为干净的 Markdown,通过驱动本地安装的浏览器(通过 web2md 实现)。
除非用户明确地、一字不差地写出类似以下短语,否则此技能绝对不得使用:
use the skill web-to-markdown ...use a skill web-to-markdown ...如果用户没有通过名称明确请求此技能,请停止并请他们重新发出包含 use the skill web-to-markdown 的请求。
puppeteer-core 与 Chromium 系列浏览器(Chrome/Chromium/Brave/Edge)配合效果最佳。web2md。广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
url(或 URL 列表)--print),或--out ./file.md),或--out ./some-dir/ 以根据页面标题自动命名)--chrome-path <path>(如果 Chrome 自动检测失败)--interactive(显示 Chrome 并暂停,以便用户完成人工检查/登录,然后按 Enter 键)--wait-until load|domcontentloaded|networkidle0|networkidle2--wait-for '<css selector>'--wait-ms <milliseconds>--headful(调试用)--no-sandbox(有时在容器/CI 环境中需要)--user-data-dir <dir>(登录/会话;使用专用的配置文件目录)use the skill web-to-markdown)。http:// 或 https:// 开头。web2md:
command -v web2mdnpm install -g web2mdnpm install && npm run build && npm linkweb2md '<url>' --out ./page.mdmkdir -p ./out && web2md '<url>' --out ./out/mkdir -p ./out && web2md '<url>' --interactive --user-data-dir ./tmp/web2md-profile --out ./out/web2md '<url>' --print./out/),然后对每个 URL 使用 --out ./out/ 运行一个 web2md 命令ls -la <path> 和 wc -c <path>)。--wait-until networkidle2--wait-until domcontentloaded --wait-ms 2000 开始,然后根据需要添加 --wait-for 'main'(或其他稳定的选择器)。每周安装数
149
仓库
GitHub 星标数
22.6K
首次出现
2026年1月25日
安全审计
安装于
opencode125
claude-code119
gemini-cli113
codex112
cursor104
github-copilot103
Convert web pages to clean Markdown by driving a locally installed browser (via web2md).
This skill MUST NOT be used unless the user explicitly wrote exactly a phrase like:
use the skill web-to-markdown ...use a skill web-to-markdown ...If the user did not explicitly request this skill by name, stop and ask them to re-issue the request including: use the skill web-to-markdown.
puppeteer-core.web2md.url (or a list of URLs)--print), OR--out ./file.md), OR--out ./some-dir/ to auto-name by page title)--chrome-path <path> (if Chrome auto-detection fails)--interactive (show Chrome and pause so the user can complete human checks/login, then press Enter)--wait-until load|domcontentloaded|networkidle0|networkidle2--wait-for '<css selector>'use the skill web-to-markdown).http:// or https://.web2md is installed:
command -v web2mdnpm install -g web2mdnpm install && npm run build && npm linkweb2md '<url>' --out ./page.md--wait-until networkidle2--wait-until domcontentloaded --wait-ms 2000, then add --wait-for 'main' (or another stable selector) if needed.Weekly Installs
149
Repository
GitHub Stars
22.6K
First Seen
Jan 25, 2026
Security Audits
Gen Agent Trust HubFailSocketPassSnykWarn
Installed on
opencode125
claude-code119
gemini-cli113
codex112
cursor104
github-copilot103
通过 LiteLLM 代理让 Claude Code 对接 GitHub Copilot 运行 | 高级变通方案指南
33,600 周安装
--wait-ms <milliseconds>--headful (debug)--no-sandbox (sometimes required in containers/CI)--user-data-dir <dir> (login/session; use a dedicated profile directory)mkdir -p ./out && web2md '<url>' --out ./out/mkdir -p ./out && web2md '<url>' --interactive --user-data-dir ./tmp/web2md-profile --out ./out/web2md '<url>' --print./out/) then run one web2md command per URL using --out ./out/ls -la <path> and wc -c <path>).