fetch-as-markdown
Installation
SKILL.md
Fetch As Markdown Skill
This skill allows fetching any web page, rendering it using a headless browser (Playwright) to ensure client-side content is loaded, and converting the resulting HTML into clean Markdown using markpaste.
Usage
node agents/skills/fetch-as-markdown/scripts/fetch-as-markdown.ts <URL>
Example:
node agents/skills/fetch-as-markdown/scripts/fetch-as-markdown.ts https://example.com
The script will output the converted markdown to stdout.