Agent skill

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, Hacker News threads, and generic pages via Defuddle. Handles login/CAPTCHA via interaction wait modes. Use when user wants to save a webpage as markdown.

JimLiugithub.com/JimLiuGitHub ↗
claude-codecodexships scriptsMIT
Install
npx skills add JimLiu/baoyu-skills --skill baoyu-url-to-markdown --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 48
SKILL.md size: 8 KB
Bundled scripts: yes
Version: 1.61.0
Path: skills/baoyu-url-to-markdown/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 24,562
Language: TypeScript
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# URL to Markdown Fetches any URL via `baoyu-fetch` CLI (Chrome CDP + site-specific adapters) and converts it to clean 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 **Important**: The CLI source is vendored in `{baseDir}/scripts/lib`. `scripts/package.json` installs only third-party runtime dependencies. **Agent Execution Instructions**: 1. Determine this SKILL.md file's directory path as `{baseDir}` 2. Resolve `${BUN}` runtime: if `bun` installed → `bun`; else suggest installing Bun 3. If `{baseDi

What's inside
Steps it walks through
  1. User Input Tools
  2. CLI Setup
  3. Preferences (EXTEND.md)
  4. First-Time Setup ⛔ BLOCKING
  5. Supported Keys
  6. Usage
  7. Options
  8. Agent Quality Gate
  9. Output Path Generation
  10. Adapters & Media
  11. Environment Variables
  12. Extension Support
Ships with 24 files
  • references/adapters.md
  • references/config/first-time-setup.md
  • references/quality-gate.md
  • scripts/baoyu-fetch
  • scripts/bun.lock
  • scripts/lib/adapters/generic/index.ts
  • scripts/lib/adapters/hn/index.ts
  • scripts/lib/adapters/index.ts
  • scripts/lib/adapters/types.ts
  • scripts/lib/adapters/x/article.ts
  • scripts/lib/adapters/x/index.ts
  • scripts/lib/adapters/x/login.ts
  • scripts/lib/adapters/x/match.ts
  • scripts/lib/adapters/x/payloads.ts
  • scripts/lib/adapters/x/session.ts
  • scripts/lib/adapters/x/shared.ts
  • scripts/lib/adapters/x/single.ts
  • scripts/lib/adapters/x/thread-loader.ts
  • scripts/lib/adapters/x/thread.ts
  • scripts/lib/adapters/x/types.ts
  • scripts/lib/adapters/youtube/index.ts
  • scripts/lib/adapters/youtube/transcript.ts
  • scripts/lib/adapters/youtube/utils.ts
  • scripts/lib/browser/cdp-client.ts
first 24 of 48
Commands it runs
Save to file
Save with media download
Wait for interaction (login/CAPTCHA) — auto-detect and continue
Wait for interaction — manual control (Enter to continue)
JSON output
Force specific adapter
More from baoyu-skills
All skills →
About this skill
What does the baoyu-url-to-markdown skill do?

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, Hacker News threads, and generic pages via Defuddle. Handles login/CAPTCHA via interaction wait modes. Use when user wants to save a webpage as markdown.

How do I install it?

Run `npx skills add JimLiu/baoyu-skills --skill baoyu-url-to-markdown --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From JimLiu/baoyu-skills, a repository with 24,562 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going