Install
openclaw skills install markdown-anythingConvert PDF, DOCX, XLSX, PPTX, images, audio, and 25+ file formats to clean Markdown using the Markdown Anything API.
openclaw skills install markdown-anythingConvert files to clean, structured Markdown using the Markdown Anything API. Supports PDF, DOCX, XLSX, PPTX, images, audio, and 25+ formats.
Set your API token as an environment variable. Get one from Settings > API Tokens in your Markdown Anything workspace.
MDA_API_TOKEN=mda_your_token_here
Use the mda-convert tool when the user asks to:
Converts a file to Markdown. Run scripts/convert.sh with the file path as the first argument.
Arguments:
$1 — Path to the file to convertOptional environment variables:
MDA_ENHANCED_AI=true — Use Enhanced AI for scanned documents, images, and audio (costs extra credits)MDA_INCLUDE_METADATA=true — Include document metadata in the responseMDA_OPTIMIZE_TOKENS=true — Optimize output for LLM token efficiencyExample:
scripts/convert.sh /path/to/document.pdf
The tool outputs the converted Markdown to stdout.
Check your remaining credit balance. Run scripts/credits.sh with no arguments.
Example:
scripts/credits.sh
https://markdownanything.com/api/v1/convert for processingAuthorization header