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-anythingSet 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.
MDA_API_TOKEN=mda_your_token_hereStart 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:
| Variable | Description |
|---|---|
MDA_ENHANCED_AI=true | Use Enhanced AI for scanned documents, images, and audio (costs extra credits) |
MDA_INCLUDE_METADATA=true | Include document metadata (title, author, page count) in the response |
MDA_OPTIMIZE_TOKENS=true | Optimize Markdown output for LLM token efficiency |
You need a paid plan for API access. View plans.
Next Steps
- Supported Formats — All 25+ supported file types
- Credits & Billing — Plans and credit costs
- API Reference — Full conversion API documentation