Install
openclaw skills install mdoriginBuild, preview, and deploy markdown-first sites with local preview, Cloudflare bundles, and agent-readable raw markdown routes.
openclaw skills install mdoriginUse this skill when you want to work on a markdown-first publishing site powered by mdorigin.
Global install:
npm install -g mdorigin
Project-local install:
npm install --save-dev mdorigin
mdorigin devmdorigin build indexmdorigin build searchmdorigin build cloudflareAccept: text/markdownmdorigin dev --root docs/site
mdorigin build index --root docs/site
mdorigin build search --root docs/site
mdorigin build cloudflare --root docs/site
External binary deploy flow:
mdorigin build cloudflare --root docs/site --binary-mode external
mdorigin sync cloudflare-r2 --dir dist/cloudflare --bucket <bucket-name>
mdorigin init cloudflare --dir . --r2-bucket <bucket-name>
When an agent needs details, prefer the published docs instead of duplicating everything in the skill:
https://mdorigin.jolestar.workers.devhttps://mdorigin.jolestar.workers.dev/README.mdhttps://mdorigin.jolestar.workers.dev/concepts/routing.mdhttps://mdorigin.jolestar.workers.dev/reference/configuration.mdhttps://mdorigin.jolestar.workers.dev/guides/extensions.mdhttps://mdorigin.jolestar.workers.dev/guides/cloudflare.mdExtensionless routes also return markdown when the client sends Accept: text/markdown.
Use search when you need the right doc page before opening it:
https://mdorigin.jolestar.workers.dev/api/search?q=<query>https://mdorigin.jolestar.workers.dev/api/openapi.jsonExamples:
curl 'https://mdorigin.jolestar.workers.dev/api/search?q=cloudflare%20deploy'
curl -H 'Accept: text/markdown' 'https://mdorigin.jolestar.workers.dev/guides/getting-started'