Use ONLY when the user explicitly says: 'use the skill web-to-markdown ...' (or 'use a skill web-to-markdown ...'). Converts webpage URLs to clean Markdown by c
复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-web-to-markdown-0278789d1ab8 ,按照其中的说明把「web-to-markdown」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
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>'--wait-ms <milliseconds>--headful (debug)--no-sandbox (sometimes required in containers/CI)--user-data-dir <dir> (login/session; use a dedicated profile directory)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.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/) then run one web2md command per URL using --out ./out/ls -la <path> and wc -c <path>).--wait-until networkidle2--wait-until domcontentloaded --wait-ms 2000, then add --wait-for 'main' (or another stable selector) if needed.