baoyu-url-to-markdown
Fetch any URL and convert to markdown using Chrome CDP. Supports two modes - auto-capture on page load, or wait for user signal (for pages requiring login). Use when user wants to save a webpage as markdown.
Author
Category
Document ProcessingInstall
Hot:31
Download and extract to your skills directory
Copy command and send to OpenClaw for auto-install:
Download and install this skill https://openskills.cc/api/download?slug=jimliu-skills-baoyu-url-to-markdown&locale=en&source=copy
baoyu-url-to-markdown
Skill Overview
baoyu-url-to-markdown is a web scraping tool based on Chrome CDP. It can convert any URL into a well-formatted Markdown file, supporting both automatic scraping and manual triggering modes.
Use Cases
Core Features
FAQ
What is baoyu-url-to-markdown?
baoyu-url-to-markdown is a command-line tool that uses Chrome CDP (Chrome DevTools Protocol) to open a browser to access a specified URL and convert the web page content into well-formatted Markdown. Compared with traditional crawlers, it can fully execute JavaScript to obtain dynamically rendered content.
How do I use it?
Basic usage:
npx -y bun ${SKILL_DIR}/scripts/main.ts <url> Wait mode (for login pages):
npx -y bun ${SKILL_DIR}/scripts/main.ts <url> --wait Specify the output file:
npx -y bun ${SKILL_DIR}/scripts/main.ts <url> -o output.mdDoes it support pages that require login?
Yes. Start it in wait mode using the
--wait parameter. The tool opens a Chrome browser and waits for you to log in manually or complete page interactions. Once the page is ready, press Enter in the terminal to trigger the scrape. This is the best approach for pages that require login, multi-step verification, or complex interaction flows.