Document to Markdown Converter for Openclaw

A high-performance CLI tool and AI agent skill that transforms Word, PowerPoint, and Excel files into clean Markdown format using the MinerU Open API.

tanis90
v1.0.0
Mar 24, 2026
0
859
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install document-to-markdown

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install document-to-markdown using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Document to Markdown Converter?

The Document to Markdown skill is a powerful utility designed for developers and AI agents who need to bridge the gap between legacy office formats and modern Markdown workflows. By leveraging the MinerU Open API, this tool provides a seamless way to extract structured text from complex document types without the friction of manual copy-pasting or complex parsing libraries. This is an essential addition to any Openclaw Skills collection for users working with RAG (Retrieval-Augmented Generation) or automated content pipelines.

What sets this skill apart is its zero-config philosophy. It requires no API keys, no signups, and no authentication for standard document extraction. Whether you are dealing with local files or remote URLs, the skill ensures that document structures, headers, and tables are preserved, making the content immediately ready for AI analysis or static site generation.

Document to Markdown Converter Use Cases

  • Extracting clean text from legacy corporate reports in .docx format for AI summarization.
  • Converting .pptx slide decks into Markdown to create searchable documentation or blog posts.
  • Transforming Excel spreadsheets into Markdown tables for quick data visualization and review.
  • Automating the ingestion of remote documents by providing a direct URL to the conversion engine.
  • Simplifying the pre-processing stage for LLM-based research agents within the Openclaw Skills ecosystem.

How Document to Markdown Converter Works

  1. The user provides a path to a local file or a direct URL to an office document (DOCX, PPTX, XLS, or XLSX).
  2. The skill invokes the mineru-open-api flash-extract command, which securely streams the document to the MinerU cloud engine.
  3. The cloud API processes the document structure, identifying text blocks, lists, and tabular data.
  4. The processed content is converted into standard Markdown and returned to the local CLI or the calling AI agent.
  5. The output is either displayed in the terminal or saved to a specified directory for further use.

Document to Markdown Converter Setup

You can install the necessary components for this Openclaw Skills integration using your preferred package manager:

# Install via npm
npm install -g mineru-open-api

# Or install via uv
uv tool install mineru-open-api

# Or install via Go (Darwin/Linux)
go install github.com/opendatalab/MinerU-Ecosystem/cli/mineru-open-api@latest

After installation, verify the setup by running:

mineru-open-api flash-extract --help

Document to Markdown Converter Data Schema & Taxonomy

The skill follows a straightforward input-output schema designed for high interoperability with other Openclaw Skills.

Attribute Specification
Supported Formats .docx, .pptx, .xls, .xlsx
Input Methods Local file path or Public URL
Output Format Standard Markdown (.md)
File Size Limit Max 10MB per document (Flash mode)
Page Limit Max 20 pages per document (Flash mode)
Data Privacy Real-time processing; no persistent storage after extraction

Document to Markdown Converter Advanced Features

  • Direct URL Support: Process documents hosted on the web without needing to download them locally first.
  • Batch Processing: Direct output to specific directories using the -o flag for high-volume conversion tasks.
  • Precision Mode: Access the extract command for documents up to 200MB or 600 pages (requires account authentication).
  • Multi-Language Support: Automatically handles documents in various languages, adhering to the user's response context.
  • Integration Ready: Designed to work as a primary data-fetching layer for AI agents within the Openclaw Skills framework.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Requires
Bins mineru-open-api
Github Stars: 0
forks: 0

Featured*