softaworks/agent-toolkit-web-to-markdown
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 calling the local web2md CLI (Puppeteer + Readability), suitable for JS-rendered pages.
This is a copy. The original lives at softaworks/web-to-markdown.
npx skills add https://github.com/softaworks/agent-toolkit --skill web-to-markdown
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)1) Confirm the user explicitly invoked the skill (use the skill web-to-markdown).
2) Validate URL(s) start with http:// or https://.
3) Ensure web2md is installed:
command -v web2md~/workspace/softaworks/projects/web2md):cd ~/workspace/softaworks/projects/web2md && npm install && npm run build && npm linkcd ~/workspace/softaworks/projects/web2md && npm install && npm run build && npm install -g .4) Convert:
web2md '<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/5) Validate output:
ls -la <path> and wc -c <path>).6) Return:
--wait-until networkidle2--wait-until domcontentloaded --wait-ms 2000, then add --wait-for 'main' (or another stable selector) if needed.Take softaworks/agent-toolkit-web-to-markdown from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.
The instructions reference npm.
Without those the skill loads but fails at the first command.