baoyu-url-to-markdown
Skill by JimLiu
Fetches a web page and converts it to markdown using the baoyu-fetch CLI. It includes site adapters for X/Twitter, YouTube transcripts and Hacker News, and uses Defuddle for generic pages. It suits users who want to save a webpage as markdown.
Install baoyu-url-to-markdown
Built from the published package, never by AI.
git clone --depth 1 https://github.com/JimLiu/baoyu-skills /tmp/baoyu-skills && mkdir -p ~/.claude/skills && cp -r /tmp/baoyu-skills/skills/baoyu-url-to-markdown ~/.claude/skills/baoyu-url-to-markdownRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/JimLiu/baoyu-skills /tmp/baoyu-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/baoyu-skills/skills/baoyu-url-to-markdown ~/.gemini/antigravity-cli/skills/baoyu-url-to-markdownAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install baoyu-url-to-markdown in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
URL to Markdown is an agent skill that fetches a web page and saves it as markdown. It runs the baoyu-fetch CLI, which drives Chrome over the Chrome DevTools Protocol. Built-in adapters cover X/Twitter, YouTube transcripts, Hacker News threads, and generic pages processed with Defuddle. The skill requires Bun.
Users can run headless capture or use an interaction wait mode for pages that need login or CAPTCHA handling. Output can be markdown or JSON, and media such as images and videos can be downloaded next to the markdown file. The skill stores preferences in an EXTEND.md file and asks setup questions on first use. It suits anyone who wants to save a webpage as markdown.
Written from the project's SKILL.md and checked against it.
What it can do
- Site adaptersUses built-in adapters for X/Twitter, YouTube transcripts, Hacker News threads and generic pages.
- Headless captureFetches a URL with headless Chrome and returns markdown to stdout or a file.
- Login and CAPTCHA handlingThe interaction wait mode auto-detects login or CAPTCHA and continues once it is cleared.
- Manual wait modeThe force wait mode pauses until the user presses Enter to continue.
- Media downloadDownloads images and videos to local folders and rewrites links to point to them.
- JSON outputReturns the fetched result as JSON when the json format is selected.
- Debug artifactsWrites document.json, markdown.md, page.html and network.json to a debug directory.
- Quality gateChecks saved markdown after headless runs for low-quality content.
What you need
- Bun runtime
- Chrome or Chromium installed
Try asking
- Save this article as markdown: https://example.com/post
- Get the transcript of this YouTube video as markdown.
- Save this Hacker News thread to a markdown file with its images.
Good to know
- Headless capture is provisional and some sites can return low-quality content with exit code 0.
- Media download requires an output file path.
- Default page load timeout is 30 seconds.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/baoyu-url-to-markdown/SKILL.md, skills/baoyu-url-to-markdown/scripts/lib/adapters/generic/index.ts, skills/baoyu-url-to-markdown/scripts/lib/adapters/hn/index.ts, skills/baoyu-url-to-markdown/scripts/lib/adapters/index.ts, skills/baoyu-url-to-markdown/scripts/lib/adapters/types.ts, skills/baoyu-url-to-markdown/scripts/lib/adapters/x/article.ts, skills/baoyu-url-to-markdown/scripts/lib/adapters/x/index.ts, skills/baoyu-url-to-markdown/scripts/lib/adapters/x/login.ts, skills/baoyu-url-to-markdown/scripts/lib/adapters/x/match.ts. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB -
references/adapters.md3 KB -
references/config/first-time-setup.md2 KB -
references/quality-gate.md2 KB -
scripts/baoyu-fetch122 B
Show all 48 files
-
scripts/bun.lock35 KB -
scripts/lib/adapters/generic/index.ts2 KB -
scripts/lib/adapters/hn/index.ts10 KB -
scripts/lib/adapters/index.ts834 B -
scripts/lib/adapters/types.ts2 KB -
scripts/lib/adapters/x/article.ts12 KB -
scripts/lib/adapters/x/index.ts4 KB -
scripts/lib/adapters/x/login.ts2 KB -
scripts/lib/adapters/x/match.ts297 B -
scripts/lib/adapters/x/payloads.ts2 KB -
scripts/lib/adapters/x/session.ts1 KB -
scripts/lib/adapters/x/shared.ts13 KB -
scripts/lib/adapters/x/single.ts3 KB -
scripts/lib/adapters/x/thread-loader.ts9 KB -
scripts/lib/adapters/x/thread.ts9 KB -
scripts/lib/adapters/x/types.ts600 B -
scripts/lib/adapters/youtube/index.ts898 B -
scripts/lib/adapters/youtube/transcript.ts13 KB -
scripts/lib/adapters/youtube/utils.ts6 KB -
scripts/lib/browser/cdp-client.ts7 KB -
scripts/lib/browser/chrome-launcher.ts6 KB -
scripts/lib/browser/cookie-sidecar.ts3 KB -
scripts/lib/browser/interaction-gates.ts5 KB -
scripts/lib/browser/network-journal.ts7 KB -
scripts/lib/browser/page-snapshot.ts3 KB
And 18 more files on GitHub.
Alternatives to baoyu-url-to-markdown
All alternatives →Box lets an AI assistant search, read, upload, download, move, rename, delete, restore and share Box content. It also manages comments and metadata. It suits people who work with files stored in Box.
Guides AI assistants in using n8n-mcp MCP tools to search nodes, validate configs, browse templates and manage n8n workflows. Aimed at people building n8n workflows through MCP.
Manages citations across the research and writing process. It covers searching Google Scholar and PubMed, converting DOIs, PMIDs and arXiv IDs to BibTeX, and validating bibliographies. It is for researchers building bibliographies for manuscripts or theses.
Exa Search is a skill that guides an AI assistant to use the Exa MCP server for neural search. It covers web pages, code, companies, and people, and is for users who need current information or research during development tasks.
Runs recent community and social trend research over the last 30 days. It suits teams who need to know what people are saying now about a topic or launch.
seo-flow adds the FLOW SEO framework to Claude SEO. It surfaces stage-specific AI prompts from the FLOW knowledge base across the Find, Leverage, Optimize and Win stages. It is for SEO practitioners who want evidence-led prompts.
Compare with box, n8n-mcp-tools-expert or citation-management
baoyu-url-to-markdown: common questions
Does it work on pages that require a login?
The interaction wait mode auto-detects login or CAPTCHA prompts and waits for you to complete them. The default wait is 10 minutes.
Which sites have dedicated handling?
The source lists adapters for X/Twitter, YouTube transcripts and Hacker News threads. Other pages are handled by the generic adapter using Defuddle.
Where are my preferences saved?
Preferences are read from an EXTEND.md file in the project folder, the XDG config folder, or the user home folder, in that order.
How do I install baoyu-url-to-markdown?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is baoyu-url-to-markdown free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is baoyu-url-to-markdown safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to baoyu-url-to-markdown?
Similar skills: box, n8n-mcp-tools-expert, citation-management, exa-search.
