Install
openclaw skills install sawana-multicul-official-docs-to-mdxDownload and normalize official documentation pages into local .mdx files at user-specified paths using markdown.new. Use when user asks to fetch docs from a URL, archive official docs locally, sync docs snapshots, or convert docs pages into clean MDX with frontmatter (title, description, sourceUrl, retrievedAt).
openclaw skills install sawana-multicul-official-docs-to-mdxConvert a docs URL into a cleaned local .mdx file at a path the user specifies.
Use this skill when the user wants reproducible, file-based docs snapshots for local knowledge bases, RAG prep, or project docs folders.
Run:
scripts/mdnew_to_mdx.sh <source_url> <output_mdx_path>
Example:
scripts/mdnew_to_mdx.sh \
https://docs.convex.dev/agents/agent-usage \
docs/convex/agent-usage.mdx
https://... form.scripts/mdnew_to_mdx.sh.title, description, sourceUrl, retrievedAt.index.mdx.docs/ exists, docs/index.mdx must exist.title, description, sourceUrl (local://... allowed), retrievedAt.The generated MDX must include frontmatter:
titledescriptionsourceUrlretrievedAt (UTC YYYY-MM-DD)Body is cleaned to remove common docs-site artifacts and excess blank lines.
For behavior details and cleanup rules, read:
references/mdnew_to_mdx.mdUse the bundled script directly:
scripts/mdnew_to_mdx.shbash, curl, awk, mktemp.