baoyu-url-to-markdown

Fetch web pages and convert them to structured Markdown via Chrome CDP.

3|Updated Jun 27, 2026
One-click install
npx skills add https://github.com/XinAloha/skills --skill baoyu-url-to-markdown-xinaloha
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: baoyu-url-to-markdown
Source: https://github.com/XinAloha/skills/tree/main/productivity/url-to-markdown
Command: npx skills add https://github.com/XinAloha/skills --skill baoyu-url-to-markdown-xinaloha

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @mozilla/readability, chrome-launcher, defuddle, jsdom, remark-gfm, remark-parse, turndown, turndown-plugin-gfm, unified, ws, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill solves the problem of messy, unreadable web content by fetching any URL and converting it into clean, usable Markdown, complete with site-specific optimizations for platforms like X, YouTube, and Hacker News.

Core Features & Use Cases

  • Intelligent Extraction: Uses site-specific adapters to handle complex layouts, transcripts, and threaded comments.
  • Media Handling: Optionally downloads images and videos locally, rewriting links to keep your markdown self-contained.
  • Interaction Support: Handles login-protected content or CAPTCHAs by allowing manual interaction within a controlled browser session.

Quick Start

Use the baoyu-url-to-markdown skill to fetch the content of the provided URL and save it as a markdown file.

Frequently Asked Questions about baoyu-url-to-markdown

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert a webpage to markdown for content archiving?

Converting a webpage to markdown for content archiving involves fetching the URL and transforming the HTML into structured text. This skill uses Chrome CDP and site-specific adapters to extract clean markdown from complex layouts and threaded comments.

Can I extract YouTube transcripts and X threads into markdown?

Yes, you can extract YouTube transcripts and X threads into markdown. The skill uses intelligent extraction with site-specific adapters to handle complex layouts and threaded comments from platforms like X, YouTube, and Hacker News.

How do I scrape login-protected web content into a markdown file?

Scraping login-protected web content into markdown is possible through interaction support. The skill allows manual interaction within a controlled browser session to handle logins or CAPTCHAs before extracting the content.

Does this web scraping tool download images locally when extracting markdown?

Yes, this web scraping tool can download images locally when extracting markdown. It includes media handling features that optionally download images and videos, rewriting links to keep your markdown files self-contained.

What is the best way to automate extracting clean text from messy HTML?

The best way to automate extracting clean text from messy HTML is using a pipeline with Readability and Turndown. This skill leverages those libraries alongside unified and jsdom to fetch arbitrary pages and output structured markdown.

Why does web scraping fail on dynamic websites and how is it handled here?

Web scraping fails on dynamic websites due to JavaScript rendering and complex layouts, which standard parsers cannot execute. This skill handles dynamic pages by launching Chrome CDP to fully render the site before applying extraction adapters.