Install
openclaw skills install web-fetch-as-markdownFetches web pages from specific URLs and converts them to clean, structured Markdown via trusted APIs, enabling Agents to parse and extract data more effectively.
openclaw skills install web-fetch-as-markdownFetches any web URL and converts it to clean, structured Markdown — stripping ads, navigation, and clutter to leave only readable content, making it far easier for Agents to parse and extract data compared to raw HTML.
This skill uses reputable third-party APIs to facilitate conversion. Always be transparent with the user about which service is being used.
https://markdown.new/: Official Cloudflare edge conversion service. Highly reliable for general sites, especially Cloudflare-hosted ones, and optimized for token reduction.https://r.jina.ai/<url>: Jina AI's official Reader API. Excellent for parsing clean markdown from complex pages when the primary service fails.https://markdownforagents.com/r?url=<url>: General-purpose converter returning Markdown with YAML frontmatter. Only use when primary services are unreachable, and after informing the user.When tasked with fetching a URL, follow this strict sequence:
Attempt Primary Service: Construct the URL by prepending the target to the primary service:
https://markdown.new/https://example.com/article
Use the built-in WebFetch tool or equivalent to retrieve the content.
Graceful Fallback to Jina: If the primary service fails, times out, or returns a domain safety warning (e.g., "Unable to verify if domain is safe"), gracefully fall back to Jina Reader:
https://r.jina.ai/https://example.com/article
User Consent for Unverified Services: If both Cloudflare and Jina are unreachable (e.g., due to regional network policies), prompt the user:
"The primary markdown conversion services (Cloudflare & Jina) are currently unreachable. Would you like me to attempt fetching via
markdownforagents.com, or would you prefer to provide the content locally?" Do not proceed tomarkdownforagents.comwithout explicit user approval.
Final Limitation Handling: If all API routes fail or are denied by the user, inform the user that the content cannot be fetched automatically due to network or security constraints. Do not attempt to use curl with silent flags or suggest network workarounds.
User Intent (Chinese):
User Intent (English):
System Scenarios: