{"uid":"cap_EeGemydeVByIqS_vTa_ul","slug":"aiskills402-html-to-markdown-skill-file-342b7137","name":"AISkills402: HTML to Markdown Skill File","description":"HTML to Markdown: Same Page, Nothing Invented — Converts HTML into CommonMark Markdown and answers with the Markdown only, no wrapper fence. Headings become ATX headings, links keep their address byte for byte (title included), images keep their source and alt text, lists keep nesting and an ordered list keeps the number it begins with, code blocks keep their text and indentation, tables become pipe tables with literal pipes escaped, entities are decoded once so the text reads as a browser show…","url":"https://api.aiskills402.com/v1/skills/html-to-markdown/file?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"file":{"name":"SKILL.md","content":"<the SKILL.md file>","encoding":"utf-8"},"name":"HTML to Markdown: Same Page, Nothing Invented","skill":"html-to-markdown","sha256":"<sha256 of SKILL.md>","receipt":{"tx":"0x<settlement transaction>","settled":true},"version":"1.0.0","redownload":{"url":"<api>/v1/purchases/<token>","token":"<64 hex chars>"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_P3RUphQ4Fic0l5PZRkW2D","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Purchases and downloads the HTML-to-Markdown SKILL.md file for AI agents via x402 micropayment in USDC on Base","exampleAgentPrompt":"Buy me the HTML to Markdown SKILL.md from AISkills402 using my USDC on Base — I want the file content, the SHA256 hash, and the redownload token so I can save it.","exampleUseCases":[{"title":"Equip agent with HTML conversion skill","prompt":"Get me the HTML to Markdown skill file from AISkills402 so my agent knows exactly how to convert web pages to clean Markdown without inventing anything — pay the $0.01 USDC fee and save the redownload token."},{"title":"Audit skill file integrity","prompt":"Download the html-to-markdown SKILL.md from AISkills402 and give me the SHA256 hash so I can verify the file matches what I already have cached."},{"title":"Onboard new agent with conversion capability","prompt":"My new agent needs to convert HTML documents to Markdown — buy the html-to-markdown SKILL.md from AISkills402 and hand me back the file content and the version number so I can log it."}],"resultDescription":"Returns a JSON object containing: the SKILL.md file name and UTF-8 text content (instructions for HTML-to-Markdown conversion), the skill identifier ('html-to-markdown'), a SHA256 hash of the file for integrity verification, the version string (e.g. '1.0.0'), a payment receipt with the Base blockchain settlement transaction hash and settled status, and a redownload URL and token for future free re-downloads.","failureModes":["Payment not settled — x402 payment header missing or USDC balance insufficient, returns 402 Payment Required","Invalid HTTP method — only GET and HEAD are accepted, other methods return 405","Network or API downtime — service unavailable, returns 503","Malformed request headers — missing or invalid header format returns 400","Blockchain settlement delay — payment submitted but not yet confirmed, receipt may show settled:false"],"whenToPreferThis":"Choose this endpoint when an AI agent needs a tested, standardized SKILL.md instruction file specifically for HTML-to-Markdown conversion, and you want a one-time purchase model with permanent ownership and free redownloads. Prefer this over building a custom prompt when you want a community-tested, versioned skill definition that an agent can follow reliably. Best suited for agents operating on Base with USDC via the x402 micropayment protocol.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-27T19:21:20.959Z","isFirstParty":false,"canonicalSlug":"aiskills402-html-to-markdown-skill-file-342b7137"}