← Back to Skills Marketplace
joelchance

Markdown.new Skill

by joelchance · GitHub ↗ · v1.0.0
cross-platform ✓ Security Clean
19021
Downloads
41
Stars
32
Active Installs
1
Versions
Install in OpenClaw
/install markdown-convert
Description
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...
README (SKILL.md)

Markdown.new

Use this skill to convert public URLs into LLM-ready Markdown via markdown.new.

Path Resolution (Critical)

  • Resolve relative paths like scripts/... and references/... 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

  1. Validate the input URL is public http or https.
  2. Run scripts/markdown_new_fetch.py with --method auto first.
  3. Re-run with --method browser if output misses JS-rendered content.
  4. Enable --retain-images only when image links are required.
  5. 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-md to force file output in .md format.
  • In delivery mode, content is wrapped as:
    • \x3Curl>
    • ...markdown...
    • \x3C/url>
  • If --output is 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 429 as 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
Usage Guidance
Install only if you are comfortable sending target URLs and fetched page content to markdown.new. Use it for public, non-sensitive pages, avoid URLs with secrets or private query parameters, do not override --api-url unless you trust the endpoint, and choose output filenames that will not overwrite important files.
Capability Analysis
Type: OpenClaw Skill Name: markdown-convert Version: 1.0.0 The `scripts/markdown_new_fetch.py` script contains two significant vulnerabilities. The `--api-url` argument allows the agent to send the target URL's content to an arbitrary endpoint, posing an SSRF/data exfiltration risk if an attacker can control this parameter via prompt injection. Additionally, the `--output` argument allows writing the converted markdown to an arbitrary file path, which could lead to arbitrary file writes if an attacker can manipulate the agent's input. While these are critical vulnerabilities, there is no clear evidence of intentional malicious design (e.g., hardcoded malicious domains, exfiltration of local secrets, or persistence mechanisms); the script's core function is legitimate. Therefore, it is classified as suspicious due to these exploitable capabilities.
Capability Assessment
Purpose & Capability
The network request to markdown.new and optional local Markdown output directly match the stated purpose of converting public web pages for AI workflows.
Instruction Scope
The artifacts disclose markdown.new use and say to convert only public HTTP/HTTPS URLs, but they should more plainly warn that submitted URLs and page content are sent to a third party.
Install Mechanism
No hidden installer or automatic execution is present; the README includes manual copy commands that remove an existing skill directory before reinstalling, which is common but should be run deliberately.
Credentials
Network access and writing output files are proportionate for the conversion workflow, provided users avoid private URLs, secrets in query strings, and careless output paths.
Persistence & Privilege
The skill does not request elevated privileges, create background persistence, read credentials, or modify unrelated system state; file writes occur only through explicit output options or shell redirection.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install markdown-convert
  3. After installation, invoke the skill by name or use /markdown-convert
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Version 1.0.0 — Initial Release - Introduced the "markdown-new" skill for converting public web pages into clean, portable Markdown using markdown.new. - Added clear workflow and documentation for command-line usage, including method selection (auto/ai/browser) and image retention options. - Included handling for relative path resolution, rate limits, and conversion failures. - Provided detailed guidance for API usage, delivery mode, and critical safety considerations. - Added supporting files: README.md, agents/openai.yaml, references/markdown-new-api.md, scripts/markdown_new_fetch.py.
Metadata
Slug markdown-convert
Version 1.0.0
License
All-time Installs 37
Active Installs 32
Total Versions 1
Frequently Asked Questions

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.

💬 Comments