baoyu-url-to-markdown
仓库创建 2026年2月2日最近提交 1 天前SkillHot 收录 20 天前
▸ 精选理由
适合网页归档、知识库收集与可读化保存。
▸ 风险提示
通过真实浏览器加载外部 URL,可能需要登录凭据并触发自动化检测。
这个 Skill 做什么
用 Chrome CDP 抓取任意网页并转换为干净的 Markdown。
用 Chrome CDP 抓取任意网页并转换成干净的 Markdown,可以选择页面加载即抓或等你登录/触发后再抓取。适合想把网页内容保存为可编辑的 Markdown、尤其是需要保留 JS 渲染后内容的场景。优势是基于真实浏览器渲染抓取,能还原动态页面并去除多余样式和广告噪音。
▸ 展开 SKILL.md 英文原文
Fetch any URL and convert to markdown using Chrome CDP. Supports two modes - auto-capture on page load, or wait for user signal (for pages requiring login). Use when user wants to save a webpage as markdown.
4.2k
Stars
417
Forks
40
仓库内 Skill
+1.0k
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/anbeime/skill/main/skills/content-creation-publisher/baoyu-url-to-markdown/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/anbeime/skill/main/skills/content-creation-publisher/baoyu-url-to-markdown/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# URL to Markdown
Fetches any URL via Chrome CDP and converts HTML to clean markdown.
## Script Directory
**Important**: All scripts are located in the `scripts/` subdirectory of this skill.
**Agent Execution Instructions**:
1. Determine this SKILL.md file's directory path as `SKILL_DIR`
2. Script path = `${SKILL_DIR}/scripts/<script-name>.ts`
3. Replace all `${SKILL_DIR}` in this document with the actual path
**Script Reference**:
| Script | Purpose |
|--------|---------|
| `scripts/main.ts` | CLI entry point for URL fetching |
## Preferences (EXTEND.md)
Use Bash to check EXTEND.md existence (priority order):
```bash
# Check project-level first
test -f .baoyu-skills/baoyu-url-to-marvia SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有