Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
appautomaton avatar

Html To Markdown

  • 5 installs
  • 18 repo stars
  • Updated May 17, 2026
  • appautomaton/webmaton

html-to-markdown is a Claude skill that converts a URL or HTML into clean Markdown with metadata by wrapping browser capture and an HTML-to-Markdown converter.

About

html-to-markdown converts a URL or raw HTML into clean Markdown along with metadata, links, images and quality signals. It wraps nodriver for browser capture of JS-heavy pages and markmaton for the HTML-to-Markdown conversion in one shell pipeline. A developer uses it when an agent or content task needs page text as structured Markdown. It defaults to headless capture but recommends a plain fetch for static articles and server-rendered docs.

  • Turns a URL or raw HTML into clean Markdown plus metadata, links, images and quality signals
  • Falls back to headless browser capture for JS-heavy pages, plain fetch for static docs
  • Outputs a JSON envelope by default; --output-format markdown for raw body only

Html To Markdown by the numbers

  • 5 all-time installs (skills.sh)
  • Ranked #1,723 of 2,715 Automation & Workflows skills by installs in the Skillselion catalog
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
At a glance

html-to-markdown capabilities & compatibility

Capabilities
nodriver browser · playwright cli
Use cases
web scraping
Runs
Runs locally
Pricing
Free
From the docs

What html-to-markdown says it does

Convert a URL or HTML into clean Markdown with metadata using markmaton.
SKILL.md
Prefer a simple fetch over browser capture for static articles, wikis, and server-rendered docs.
SKILL.md
npx skills add https://github.com/appautomaton/webmaton --skill html-to-markdown

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs5
repo stars18
Last updatedMay 17, 2026
Repositoryappautomaton/webmaton

What it does

Capture a web page and convert its rendered HTML into clean Markdown with metadata for an agent or content pipeline.

Who is it for?

capture-a-web-page tasks where browser-rendered HTML or structured Markdown is needed

Skip if: static articles, wikis, and server-rendered docs where a simple fetch is enough

When should I use this skill?

you need a URL or HTML turned into clean Markdown plus metadata, links and images

What you get

A JSON envelope with a Markdown body plus metadata, links, images and quality signals.

  • clean Markdown body
  • page metadata
  • link and image inventory

By the numbers

  • default capture timeout of 10s

Files

SKILL.mdMarkdownGitHub ↗

HTML to Markdown

Composes with

  • Use for — capture-a-web-page tasks where browser-rendered HTML or structured Markdown is needed.
  • Wraps — nodriver (CDP-based headless browser capture for JS-heavy pages, with Playwright Chromium discovery) and markmaton (HTML→Markdown with main-content extraction, metadata, and link/image inventory). See references/integration-patterns.md for browser-vs-fetch guidance.
  • Outputs — JSON envelope by default (markdown body + metadata + links + images + quality signals). Use --output-format markdown when only the raw Markdown body is needed.

Converts a URL or HTML into clean Markdown plus metadata, links, images, and quality signals.

From a URL

Capture the page and convert in one pipeline:

uv run --script scripts/capture_html.py <url> \
  | uv run --script scripts/markmaton_convert.py --from-capture --output-format json

The capture script outputs a JSON envelope by default. --from-capture reads it and extracts html, url, final_url, and content_type automatically — no context lost, URL typed once.

  • Add --wait-selector <css> or --wait-text <string> to the capture step for pages that need a readiness signal.
  • Prefer a simple fetch over browser capture for static articles, wikis, and server-rendered docs.

From HTML

uv run --script scripts/markmaton_convert.py --html-file page.html \
  --url <url> --output-format json

Or from stdin:

echo "$html" | uv run --script scripts/markmaton_convert.py --url <url>

Pass --url when available — it improves link resolution and canonical metadata.

Key defaults

  • Output: json. Use --output-format markdown for raw Markdown only.
  • Main-content extraction: on. Use --full-content to disable.
  • Capture: always headless. Timeout 10s, override with --timeout.
  • Browser discovery: user's Chrome → user's Chromium → Playwright's Chromium.

References

Read only when needed:

  • references/usage.md — full CLI reference for both scripts
  • references/integration-patterns.md — browser vs fetch guidance, contracts, parser defaults

Related skills

FAQ

Does it handle JavaScript-rendered pages?

Yes, it uses nodriver for CDP-based headless browser capture of JS-heavy pages, and recommends a plain fetch for static or server-rendered docs.

What does it output?

A JSON envelope by default with the Markdown body plus metadata, links, images and quality signals; use --output-format markdown for the raw Markdown body only.

Automation & Workflowsintegrationsbackend

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.