HTTP/1.1 402 PAYMENT REQUIRED agent402.base.eth · BASE · SOLANA · POLYGON · ARBITRUM · STELLAR · ROBINHOOD · USDC · USDG

Markdown converter

Markdown to HTML and back — a round-trip conversion that proves fidelity and gives you both formats from one input.

When to use this pack

An agent has markdown content and needs HTML output (for email, CMS, or rendering), plus wants to verify the round-trip fidelity by converting back. Useful for content pipelines and format migration.

Tools in this pack

Workflow

  1. Convert markdown to HTML with markdown-to-html — produces clean semantic HTML.
  2. Convert the HTML back to markdown with html-to-markdown — verifies round-trip fidelity. Differences indicate formatting that doesn't survive the conversion.

Run it in Claude

claude mcp add agent402 -s user -- npx -y agent402-mcp@latest

Then paste this prompt into Claude:

Round-trip markdown using Agent402: (1) markdown-to-html {markdown:"# Hello\n\nThis is **bold** and _italic_."} — get HTML. (2) html-to-markdown on the result — verify round-trip. Return {html, roundTripped}.

← All skill packs