Fetches a URL and saves the main content as a Markdown file.
Pipeline: fetch() → Readability (main content extraction) → Turndown (HTML → Markdown)
Uses the same extraction engine as OpenClaw's built-in web_fetch tool, but saves the full output to disk without any AI involvement.
tsx webfetch.ts <url> [--output <path>]Output defaults to /tmp/webfetch-output.md.
tsx webfetch.ts https://example.com/article
tsx webfetch.ts https://example.com/article --output /tmp/article.mdnpm install- Node.js 18+
tsx(npm i -g tsx)