← Back to Skills Marketplace
Baoyu Url To Markdown
by
Jim Liu 宝玉
· GitHub ↗
· v1.117.2
· MIT-0
3260
Downloads
0
Stars
62
Active Installs
13
Versions
Install in OpenClaw
/install baoyu-url-to-markdown
Description
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, H...
Usage Guidance
Review before installing if you plan to use this on logged-in or private pages. Avoid debug mode on sensitive sessions unless you are comfortable writing page HTML and network data to disk. Be aware that X/Twitter sessions may be saved in a local plaintext cookie sidecar, and generic conversion may send the target URL to defuddle.md as a fallback. Use a dedicated Chrome profile and avoid private/internal URLs unless those behaviors are acceptable.
Capability Assessment
Purpose & Capability
The core purpose is coherent: fetch a user-supplied URL in Chrome, extract content, optionally save markdown/media, and support site-specific adapters. However, the X/Twitter adapter automatically saves and restores auth cookies in a plaintext sidecar file, and the generic adapter can send the target URL to defuddle.md as a remote fallback; both are sensitive behaviors not clearly surfaced in the main skill instructions.
Instruction Scope
The skill provides user-choice setup for output and media preferences, but the invocation scope is broad and does not require explicit consent before reusing saved X session cookies or before remote fallback sends a target URL to a third-party service.
Install Mechanism
Installation is conventional for this kind of tool: it requires Bun and runs bun install in the vendored scripts directory to install listed npm dependencies. No install-time destructive or obfuscated behavior was found.
Credentials
Network access, Chrome automation, file output, and optional media downloads are proportionate to webpage conversion. Debug mode can write page HTML and a full network journal including bodies to disk, which is useful for troubleshooting but sensitive when used on authenticated pages.
Persistence & Privilege
The skill persists preferences in EXTEND.md and, more significantly, persists X/Twitter auth cookies in x-session-cookies.json under the Chrome profile directory without encryption, permission hardening, or clear user-facing opt-in in the skill text. It also may delete stale Chrome lock files in its own profile directory during launch recovery.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install baoyu-url-to-markdown - After installation, invoke the skill by name or use
/baoyu-url-to-markdown - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.117.2
## 1.117.2 - 2026-05-17
### Documentation
- `baoyu-cover-image`: ban programmatic text repair on generated bitmaps — disallow ImageMagick / Pillow / Canvas / SVG / HTML overlays to cover, rewrite, or replace title/subtitle text; regenerate from a corrected prompt or switch to a lower-text or no-title variant instead
- `baoyu-article-illustrator`, `baoyu-comic`, `baoyu-image-cards`, `baoyu-xhs-images`, `baoyu-infographic`, `baoyu-slide-deck`: sync the same text-repair ban with skill-specific text categories (labels/captions, dialogue/sound effects, titles/body/tags, headings/data values, slide titles/bullets)
v1.115.4
### Documentation
- Image generation backend selection: emphasize Codex `imagegen` as the priority runtime-native tool (invoke via the `Skill` tool with `skill: "imagegen"`) and forbid SVG/HTML/canvas substitution when no raster backend can be resolved — fall through to asking the user instead of silently emitting code-based art. Updated in `docs/image-generation-tools.md` and inlined into `baoyu-article-illustrator`, `baoyu-comic`, `baoyu-cover-image`, `baoyu-image-cards`, `baoyu-infographic`, `baoyu-slide-deck`, and `baoyu-xhs-images`.
v1.109.0
## 1.109.0 - 2026-04-21
### Features
- `baoyu-url-to-markdown`: vendor the `baoyu-fetch` runtime into `scripts/lib` and run it through a local `scripts/baoyu-fetch` CLI so published skill installs are self-contained
### Fixes
- `baoyu-fetch`: extract playable X/Twitter video MP4 variants for single posts and X Articles, choosing the highest-bitrate MP4 and rendering article videos as `[video](...)`
- `sync-clawhub`: publish from the shared release file list so extensionless CLI entrypoints, `bun.lock`, and vendored `scripts/lib` files are uploaded
### Maintenance
- Upgrade `defuddle` to 0.17.0 and `jsdom` to 29.0.2; override `@xmldom/xmldom` to 0.8.13 to keep the Defuddle dependency chain vulnerability-free
v1.103.1
## 1.103.1 - 2026-04-13
### Fixes
- `baoyu-markdown-to-html`: decode HTML entities and strip tags from article summary
- `baoyu-post-to-weibo`: decode HTML entities and strip tags from article summary
v1.103.0
## 1.103.0 - 2026-04-12
### Features
- baoyu-diagram: add multi-diagram mode for article-wide diagram generation
### Fixes
- baoyu-article-illustrator: prevent color names and hex codes from appearing as visible text in generated images
- baoyu-cover-image: prevent color names and hex codes from appearing as visible text in generated images
- baoyu-image-cards: prevent color names from appearing as visible text in generated images
- baoyu-post-to-wechat: decode HTML entities and strip tags from article summary
v1.82.2
**Major update: Migrated to a new vendored `baoyu-fetch` CLI with site-specific adapters, streamlining codebase and usage.**
- CLI rewritten to use `baoyu-fetch` (now under `scripts/vendor/baoyu-fetch/`), supporting adapters for X/Twitter, YouTube, Hacker News, and generic content.
- Legacy scripts and internal parser/converter infrastructure removed and replaced with the new adapter-based system.
- Usage and agent instructions updated for the new CLI entrypoint; old `scripts/main.ts` and friends are gone.
- EXTEND.md preference logic and setup retained with minor documentation clarifications.
- Features such as login/CAPTCHA handling, media download, profile persistence, and debug output now standardized and improved via the new CLI.
v1.82.1
- Removed bun.lock file from scripts directory.
- No changes to core functionality or user-facing features.
- Maintenance update to streamline repository and dependency management.
v1.82.0
## 1.82.0 - 2026-03-24
### Features
- `baoyu-url-to-markdown`: add browser fallback strategy — headless first, automatic retry in visible Chrome on technical failure; new `--browser auto|headless|headed` flag with `--headless`/`--headed` shortcuts
- `baoyu-url-to-markdown`: add content cleaner module for HTML preprocessing before extraction (remove ads, base64 images, scripts, styles)
- `baoyu-url-to-markdown`: support base64 data URI images in media localizer alongside remote URLs
- `baoyu-url-to-markdown`: capture final URL from browser to track redirects for output path generation
- `baoyu-url-to-markdown`: add agent quality gate documentation for post-capture content validation
### Dependencies
- `baoyu-url-to-markdown`: upgrade defuddle ^0.12.0 → ^0.14.0
### Tests
- `baoyu-url-to-markdown`: add unit tests for content-cleaner, html-to-markdown, legacy-converter, media-localizer
v1.76.1
- Internal code update in vendor/baoyu-chrome-cdp (index.ts); user-visible behavior and documentation unchanged.
- No changes to features, usage, or setup.
v1.69.1
## 1.69.1 - 2026-03-16
### Fixes
- `baoyu-chrome-cdp`: tighten chrome auto-connect logic to reduce false positives
v1.63.0
### Features
- Add hosted `defuddle.md` API fallback when local browser capture fails
- Extract YouTube transcript/caption text into markdown output
- Materialize shadow DOM content for better web-component page conversion
- Include language hint in markdown front matter when available
### Refactor
- Split monolithic converter into defuddle, legacy, and shared modules
v1.60.0
## 1.60.0 - 2026-03-11
### Features
- `baoyu-url-to-markdown`: support reusing existing Chrome CDP instances and fix port detection order
### Fixes
- `baoyu-post-to-x`: add missing `fs` import in x-article
### Refactor
- Unify all CDP skills to use shared `baoyu-chrome-cdp` package with vendored copies
- Simplify CLAUDE.md, move detailed documentation to `docs/` directory
- Publish skills directly from synced vendor, removing separate artifact preparation step
v1.0.0
- First public release of baoyu-url-to-markdown: fetch any URL, render with Chrome CDP, and convert to markdown.
- Saves both the clean markdown and a full HTML snapshot for each conversion.
- Supports automatic fallback from Defuddle markdown conversion to legacy parser when needed.
- Two modes available: capture on page load, or wait for user signal (for login-required pages).
- First-time setup requires user input for media handling, output directory, and preference storage; setup enforces explicit user choice.
- Media (images/videos) download and output options can be controlled via CLI arguments or saved preferences.
Metadata
Frequently Asked Questions
What is 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, H... It is an AI Agent Skill for Claude Code / OpenClaw, with 3260 downloads so far.
How do I install Baoyu Url To Markdown?
Run "/install baoyu-url-to-markdown" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Baoyu Url To Markdown free?
Yes, Baoyu Url To Markdown is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Baoyu Url To Markdown support?
Baoyu Url To Markdown is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Baoyu Url To Markdown?
It is built and maintained by Jim Liu 宝玉 (@jimliu); the current version is v1.117.2.
More Skills