Skip to content
freestylefly avatar

Canghe Url To Markdown

Fetches any URL through Chrome CDP and converts the rendered page into clean markdown files.

CCM score
58 of 100
skills.sh installs
517
GitHub stars
477
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers two capture modes: auto-capture on page load by default, or --wait mode for pages that need login or lazy loading
  • Includes a CLI entry point (scripts/main.ts) with -o for output path and --timeout for page load limits
  • Writes YAML front matter with url, title, description, author, published, and captured_at fields
  • Designed for saving login-required pages, paywalled content, or JavaScript-heavy sites as markdown

Install

$ npx -y skills add freestylefly/canghe-skills --skill canghe-url-to-markdown -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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:

ScriptPurpose
scripts/main.tsCLI entry point for URL fetching

Preferences (EXTEND.md)

Use Bash to check EXTEND.md existence (priority order):

# Check project-level first
test -f .canghe-skills/canghe-url-to-markdown/EXTEND.md && echo "project"

# Then user-level (cross-platform: $HOME works on macOS/Linux/WSL)
test -f "$HOME/.canghe-skills/canghe-url-to-markdown/EXTEND.md" && echo "user"

Details

Repository
github.com/freestylefly/canghe-skills
Categories
Browser Automation & Scraping, Writing & Content
First seen
Jun 3, 2026

Questions

What does the canghe-url-to-markdown skill do?

canghe-url-to-markdown fetches any URL through Chrome CDP and converts the HTML into clean markdown. It saves the result with YAML front matter holding the url, title, description, author, published and captured_at fields.

How do I install canghe-url-to-markdown?

Run npx -y skills add freestylefly/canghe-skills --skill canghe-url-to-markdown -y inside your project. After that, canghe-url-to-markdown lets the agent save any webpage as a markdown file.

When should I use the wait mode of canghe-url-to-markdown?

canghe-url-to-markdown has a --wait option that pauses until you confirm the page is ready, which suits login-required pages, lazy loading and paywalls. Auto mode, the default, captures the page once network activity goes idle and suits public static pages.

Where does canghe-url-to-markdown sit among browser automation skills?

canghe-url-to-markdown is listed in the Browser Automation and Scraping category on Claude Marketplaces. Its own focus is turning a single URL into markdown, with the option to capture pages that need a logged-in session.

More from freestylefly/canghe-skills

All 18

Similar to Canghe Url To Markdown

More Browser Automation & Scraping