baoyu-url-to-markdown
Fetch any URL and convert to markdown using baoyu-fetch CLI (Chrome CDP with site-specific adapters). Built-in adapters for X/Twitter, YouTube transcripts, Hacker News threads, and generic pages via Defuddle. Handles login/CAPTCHA via interaction wait modes. Use when user wants to save a webpage as markdown.
Security Assessment
About baoyu-url-to-markdown
The baoyu-url-to-markdown skill is designed to fetch any webpage and convert its content into clean, structured markdown format. It leverages the baoyu-fetch CLI, which uses Chrome DevTools Protocol (CDP) along with site-specific adapters to accurately extract content from various types of web pages. This skill addresses the common challenge of saving online content in a readable, offline-friendly format while preserving the structure and important elements of the original page. By automating the conversion process, it eliminates manual copy-pasting and formatting, which can be time-consuming and error-prone, especially for content-heavy pages.
FAQ
How do I run the baoyu-url-to-markdown skill?
You execute the skill via the baoyu-fetch CLI. Determine the skill's base directory and run the CLI script located at scripts/vendor/baoyu-fetch/src/cli.ts using either bun or npx, depending on which is installed on your system.
Which types of webpages are supported?
The skill includes built-in adapters for X/Twitter, YouTube transcripts, Hacker News threads, and generic pages through Defuddle. It can handle login and CAPTCHA challenges via interaction wait modes.
What should I do if EXTEND.md is missing?
If EXTEND.md is not found, you must perform the first-time setup by answering a set of questions about media handling, output directory, and where to save preferences. The skill will not proceed with conversion until this setup is complete.
Can I configure where downloaded media is saved?
Yes. During first-time setup or by editing EXTEND.md, you can choose whether to always download media, ask each time, or never download. Media is saved in local imgs/ and videos/ directories if downloaded.
What are the system requirements for running this skill?
You need either bun or npx installed to run the CLI. The skill is compatible with macOS, Linux, WSL, Git Bash, and PowerShell environments for Windows.
All Files
48 filesInstall baoyu-url-to-markdown
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
jimliu/baoyu-skills