Markdown.new Skill
/install markdown-convert
Markdown.new
Use this skill to convert public URLs into LLM-ready Markdown via markdown.new.
Path Resolution (Critical)
- Resolve relative paths like
scripts/...andreferences/...from the skill directory, not workspace root. - If current directory is unknown, use an absolute script path.
python3 ~/.codex/skills/markdown-new/scripts/markdown_new_fetch.py 'https://example.com'
cd ~/.codex/skills/markdown-new
python3 scripts/markdown_new_fetch.py 'https://example.com'
Avoid this pattern from an arbitrary workspace root:
python3 scripts/markdown_new_fetch.py 'https://example.com'
Workflow
- Validate the input URL is public
httporhttps. - Run
scripts/markdown_new_fetch.pywith--method autofirst. - Re-run with
--method browserif output misses JS-rendered content. - Enable
--retain-imagesonly when image links are required. - Capture response metadata (
x-markdown-tokens,x-rate-limit-remaining, and JSON metadata when present) for downstream planning.
Quick Start
Commands below assume current directory is the skill root (~/.codex/skills/markdown-new).
python3 scripts/markdown_new_fetch.py 'https://example.com' > page.md
python3 scripts/markdown_new_fetch.py 'https://example.com' --method browser --retain-images --output page.md
python3 scripts/markdown_new_fetch.py 'https://example.com' --deliver-md
Method Selection
auto: default. Let markdown.new use its fastest successful pipeline.ai: force Workers AI HTML-to-Markdown conversion.browser: force headless browser rendering for JS-heavy pages.
Use auto first, then retry with browser only when needed.
Delivery Mode
- Use
--deliver-mdto force file output in.mdformat. - In delivery mode, content is wrapped as:
\x3Curl>...markdown...\x3C/url>
- If
--outputis omitted, the script auto-generates a filename from the URL.
API Modes
- Prefix mode:
https://markdown.new/https://example.com?method=browser&retain_images=true
- POST mode:
POST https://markdown.new/- JSON body:
{"url":"https://example.com","method":"auto","retain_images":false}
Prefer POST mode for automation and explicit parameters.
Limits And Safety
- Treat
429as rate limiting (documented limit: 500 requests/day/IP). - Convert only publicly accessible pages.
- Respect
robots.txt, terms of service, and copyright constraints. - Do not treat markdown.new output as guaranteed complete for every page; verify critical extractions.
References
references/markdown-new-api.md
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install markdown-convert - After installation, invoke the skill by name or use
/markdown-convert - Provide required inputs per the skill's parameter spec and get structured output
What is Markdown.new Skill?
Convert public web pages into clean Markdown with markdown.new for AI workflows. Use when tasks require URL-to-Markdown conversion for summarization, RAG ing... It is an AI Agent Skill for Claude Code / OpenClaw, with 19021 downloads so far.
How do I install Markdown.new Skill?
Run "/install markdown-convert" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Markdown.new Skill free?
Yes, Markdown.new Skill is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Markdown.new Skill support?
Markdown.new Skill is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Markdown.new Skill?
It is built and maintained by joelchance (@joelchance); the current version is v1.0.0.