01 / negotiate
Markdown-native
Ask for the format agents actually need before touching messy HTML.
Fetch any page as clean Markdown, ready for humans, scripts, and the next agent in your workflow.
Native Markdown first. Smart fallbacks second. HTML conversion when there is no other way.
$
npx pagemd https://example.com
read
$
npx pagemd --json <url>
automate
$
npx pagemd <url> <url>
batch
01 / negotiate
Ask for the format agents actually need before touching messy HTML.
02 / convert
Turn ordinary web pages into focused Markdown without browser noise.
03 / discover
Find skills and machine-readable resources through the well-known endpoint.
$
npx skills add https://pagemd.pages.dev
$
npx skills add
https://github.com/AskLunaBot/pagemd/tree/main/docs/.well-known/agent-skills
$
curl
https://pagemd.pages.dev/.well-known/agent-skills/index.json
Install the skill from the standard endpoint. It teaches agents to use pagemd whenever webpage content is needed, instead of manually parsing HTML.
Read SKILL.md →