← 返回 Skills 市场
Baoyu Url To Markdown
作者
Jim Liu 宝玉
· GitHub ↗
· v1.117.2
· MIT-0
3260
总下载
0
收藏
62
当前安装
13
版本数
在 OpenClaw 中安装
/install 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...
安全使用建议
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.
能力评估
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.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install baoyu-url-to-markdown - 安装完成后,直接呼叫该 Skill 的名称或使用
/baoyu-url-to-markdown触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
常见问题
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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 3260 次。
如何安装 Baoyu Url To Markdown?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install baoyu-url-to-markdown」即可一键安装,无需额外配置。
Baoyu Url To Markdown 是免费的吗?
是的,Baoyu Url To Markdown 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Baoyu Url To Markdown 支持哪些平台?
Baoyu Url To Markdown 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Baoyu Url To Markdown?
由 Jim Liu 宝玉(@jimliu)开发并维护,当前版本 v1.117.2。
推荐 Skills