Skip to content

baoyu-url-to-markdown

Fetch any URL and convert to clean markdown using Chrome CDP with intelligent fallback conversion.

— (0 ratings) 31.1K downloads jimliu
$ npx skills add https://github.com/jimliu/baoyu-skills --skill baoyu-url-to-markdown

Skills can run code on your computer. Review the source before installing. This listing is community-made and isn't affiliated with Anthropic.

About this skill

Summary

Fetch any URL and convert to clean markdown using Chrome CDP with intelligent fallback conversion.

  • Supports two capture modes: auto-capture on page load or wait-for-user-signal for login-required and lazy-loading pages
  • Saves rendered HTML snapshot alongside markdown output with YAML front matter including metadata, URL, title, and capture timestamp
  • Upgraded Defuddle-based conversion pipeline with automatic fallback to legacy HTML-to-Markdown extractor; falls back to hosted defuddle.md API if local browser capture fails entirely
  • Handles web components via shadow DOM materialization and extracts YouTube transcripts when available
  • Optional media download: automatically saves images and videos to local directories and rewrites markdown links to relative paths

URL to Markdown

User Input Tools

When this skill prompts the user, follow this tool-selection rule (priority order):

  1. Prefer built-in user-input tools exposed by the current agent runtime — e.g., AskUserQuestion, request_user_input, clarify, ask_user, or any equivalent.
  2. Fallback: if no such tool exists, emit a numbered plain-text message and ask the user to reply with the chosen number/answer for each question.
  3. Batching: if the tool supports multiple questions per call, combine all applicable questions into a single call; if only single-question, ask them one at a time in priority order.

Concrete AskUserQuestion references below are examples — substitute the local equivalent in other runtimes.

CLI Setup

The CLI source is vendored in {baseDir}/scripts/lib; scripts/package.json installs only third-party runtime dependencies.


Installs: 31.1K | GitHub stars: 28.0K | First seen: Jan 22, 2026

Related skills

New

Agent workflows

agent-browser

Fast, persistent browser automation with session continuity across sequential agent commands.

New • 1.8M
New

Video

product-launch-video

Turn a product or marketing URL, pasted script, or brief into a product launch / promo video — SaaS promos, feature reveals, product demos, app and company

New • 539.7K
New

Design & UI

brandkit

Premium brand-kit image generation for high-end identity systems, logo concepts, and visual-world presentations.

New • 390.8K