OpenClaw

Install the Markdown Anything skill for OpenClaw to convert PDF, DOCX, images, and 25+ file formats to Markdown.

OpenClaw is an open-source AI agent that runs on your machine and acts autonomously via messaging apps like WhatsApp, Telegram, Slack, and Signal. Install the markdown-anything skill from ClawHub to give your agent file-to-Markdown conversion.

Install

Install the Skill

npx clawhub@latest install adiologydev/markdown-anything

Set Your API Token

Add your Markdown Anything API token to your OpenClaw environment. You can generate a token from Settings > API Tokens in your workspace dashboard.

.env
MDA_API_TOKEN=mda_your_token_here

Start a New Session

Restart your OpenClaw session so it picks up the new skill. Then ask your agent to convert a file:

  • "Convert this PDF to Markdown"
  • "Extract text from this image"
  • "How many Markdown Anything credits do I have?"

Options

Set these environment variables to change the default conversion behavior:

VariableDescription
MDA_ENHANCED_AI=trueUse Enhanced AI for scanned documents, images, and audio (costs extra credits)
MDA_INCLUDE_METADATA=trueInclude document metadata (title, author, page count) in the response
MDA_OPTIMIZE_TOKENS=trueOptimize Markdown output for LLM token efficiency

You need a paid plan for API access. View plans.

Next Steps