baoyu-url-to-markdown

Fetches URLs via Chrome DevTools Protocol and converts pages to Markdown.

1|2|Updated Feb 28, 2026
One-click install
npx skills add https://github.com/zhangdszq/vk-skills --skill baoyu-url-to-markdown-zhangdszq
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: baoyu-url-to-markdown
Source: https://github.com/zhangdszq/vk-skills/tree/main/baoyu-url-to-markdown
Command: npx skills add https://github.com/zhangdszq/vk-skills --skill baoyu-url-to-markdown-zhangdszq

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires linkedom, @mozilla/readability, turndown, turndown-plugin-gfm, and includes scripts (resource) components.

What problem does it solve?

Web content from dynamic pages is hard to snapshot; this skill fetches a URL via Chrome DevTools Protocol and converts the HTML to clean Markdown for offline archiving or note-taking.

Core Features & Use Cases

  • Auto-capture on page load or wait-for-user mode to handle lazy-loaded content or login-protected pages.
  • Chrome CDP driven parsing and Markdown conversion with metadata extraction for documentation.
  • Use case: capture long-form articles and save them as portable Markdown with a searchable text body.

Quick Start

Pass a URL to the script to fetch and convert it to Markdown.

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 web page to Markdown for offline archiving?

You convert a web page to Markdown by fetching the URL via Chrome DevTools Protocol and parsing the rendered HTML. This approach captures dynamic content and outputs clean Markdown text, making it ideal for offline archiving and note-taking.

Do I need Chrome installed to convert dynamic web content to Markdown?

Yes, you need a Chrome or Chromium installation accessible in your environment to convert dynamic web content to Markdown. The process relies on the Chrome DevTools Protocol and uses a local browser profile to ensure consistent page captures.

Can I capture login-protected pages when converting URLs to Markdown?

Yes, you can capture login-protected pages when converting URLs to Markdown. The tool supports a wait-for-user mode that pauses execution, allowing you to manually authenticate or handle lazy-loaded content before the page is parsed into Markdown.

What is the best way to extract metadata and text body from web content?

The best way to extract metadata and a searchable text body from web content is using a Chrome CDP-driven parsing workflow. It captures long-form articles directly from the browser and converts them into portable Markdown with metadata for documentation.

Why use Chrome DevTools Protocol instead of standard HTTP requests for Markdown conversion?

You use Chrome DevTools Protocol instead of standard HTTP requests for Markdown conversion to accurately snapshot dynamic pages. Standard requests often miss JavaScript-rendered content, whereas CDP captures the fully loaded DOM and converts the complete HTML to Markdown.