360 Secure SkillHub
360 安全技能中心

Word Converter

这是基于MinerU API的Word文档转换器,支持将.docx/.doc文件转换为Markdown、HTML、LaTeX等多种格式。提供无token快速转Markdown和需token多格式转换两种模式,支持批量处理,可识别复杂格式、表格、公式、图片等,适用于学术写作、技术文档、内容迁移及自动化文档流水线等场景。

veeicwgy
veeicwgy
热度 37.48
最近更新 2026-05-11 17:40:40
分类:效率依赖:代码执行 / 读写文件 / 第三方 API应用场景:文件转换 / batch-processing / document-pipeline

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add word-converter
Metadata
name
word-converter
description
Universal Word document converter powered by MinerU API. Convert .docx and .doc files to Markdown, HTML, LaTeX, DOCX, or JSON using mineru-open-api CLI. Supports quick flash-extract (no token, Markdown output) and precision extract with multi-format output, table recognition, formula detection, and batch processing. Use when asked to 'convert Word document', 'transform docx to markdown', 'Word to PDF', 'Word to LaTeX', 'change Word format', 'batch convert Word files', 'Word文档格式转换', '把Word转成其他格式', 'docx转markdown', 'Word批量转换', 'how do I convert my Word file to another format', 'is there a tool to convert docx'. Handles complex formatting, embedded objects, tables, formulas, and images. Ideal for academic writing, technical documentation, content migration, and automated document pipelines.
tags
["word","converter","docx","markdown","html","latex","mineru","batch-processing","format-conversion","document-pipeline"]
tools
["Bash(mineru-open-api:*)"]
model
claude-3-5-haiku-20241022

Word Document Converter with mineru-open-api

You are a Word document conversion specialist. Convert Word files to any supported format using mineru-open-api.

Installation

npm install -g mineru-open-api

Conversion Workflow

  1. Quick Markdown conversion (no token):

    mineru-open-api flash-extract document.docx -o ./output/
    
  2. Multi-format conversion (token required):

    mineru-open-api extract document.docx -f md,html,latex -o ./output/
    
  3. Batch conversion:

    mineru-open-api extract *.docx -f html -o ./results/
    

Supported Conversions

Input flash-extract extract
.docx Markdown md, html, latex, docx, json
.doc Not supported md, html, latex, docx, json

Key Rules

  • Default to flash-extract for simple .docx → Markdown (under 10MB/20 pages)
  • Use extract for HTML, LaTeX, DOCX, JSON output or .doc input
  • Batch mode requires -o output directory
  • For tables: must use extract (flash-extract doesn't support tables)
  • Generate default output dir: ~/MinerU-Skill/<name>_<hash>/