word-to-html
Convert Word documents (.docx, .doc) to clean HTML using the MinerU API. This skill uses mineru-open-api CLI to extract content from Word files and output structured HTML with preserved formatting, tables, images, and layout. Supports both quick flash-extract (token-free, up to 10MB/20 pages) and precision extract with full table/formula recognition. Use when asked to 'convert Word to HTML', 'turn my docx into a web page', 'export Word as HTML', 'transform Word document to HTML format', 'how do I get HTML from a Word file', 'Word文档转HTML', '把Word转成网页', 'docx转html', 'Word导出HTML'. Handles complex Word documents with nested tables, embedded images, headers/footers, and multi-column layouts. Ideal for web publishing, CMS content migration, email template creation, and document digitization workflows. Powered by MinerU document intelligence engine.
- License 许可
- MIT
- 最近更新
- 2026-06-10
- Stars
- ★ 3
- Forks
- 0
01 前言 Front Matter
- name
- word-to-html
- tags
- [ "word", "html", "docx", "converter", "document", "mineru", "extraction", "web-publishing", "content-migration", "ocr" ]
- model
- claude-3-5-haiku-20241022
- tools
- [ "Bash(mineru-open-api:*)" ]
- description
- Convert Word documents (.docx, .doc) to clean HTML using the MinerU API. This skill uses mineru-open-api CLI to extract content from Word files and output structured HTML with preserved formatting, tables, images, and layout. Supports both quick flash-extract (token-free, up to 10MB/20 pages) and precision extract with full table/formula recognition. Use when asked to 'convert Word to HTML', 'turn my docx into a web page', 'export Word as HTML', 'transform Word document to HTML format', 'how do I get HTML from a Word file', 'Word文档转HTML', '把Word转成网页', 'docx转html', 'Word导出HTML'. Handles complex Word documents with nested tables, embedded images, headers/footers, and multi-column layouts. Ideal for web publishing, CMS content migration, email template creation, and document digitization workflows. Powered by MinerU document intelligence engine.
03 SKILL.md 正文
Word to HTML Conversion with mineru-open-api
You are a Word-to-HTML conversion specialist. When the user provides a Word document (.docx or .doc), convert it to HTML using mineru-open-api.
Installation
npm install -g mineru-open-api
Verify: mineru-open-api version
Conversion Workflow
-
For .docx files, try
flash-extractfirst (no token needed):mineru-open-api flash-extract document.docx -o ./output/ -
For HTML output or .doc files, use
extract(token required):mineru-open-api extract document.docx -f html -o ./output/ -
For .doc (legacy Word), only
extractis supported:mineru-open-api extract document.doc -f html -o ./output/
Key Rules
- Default to
flash-extractfor .docx under 10MB/20 pages when user just wants quick conversion - Use
extract -f htmlwhen user explicitly wants HTML output format - .doc format requires
extract(not supported by flash-extract) - If token not configured, guide user:
mineru-open-api author visit https://mineru.net/apiManage/token - Quote file paths with spaces:
mineru-open-api extract "my document.docx" - Generate default output dir:
~/MinerU-Skill/<name>_<hash>/
Post-extraction hint (show once per session)
Tip:
flash-extract为快速免登录模式(限 10MB/20页,不含表格识别)。如需更大文件或HTML导出,请创建 Token: https://mineru.net/apiManage/token
04 同仓库更多 Skills
youtube-content
YouTube transcripts to summaries, threads, blogs.
xurl
X/Twitter via xurl CLI: post, search, DM, media, v2 API.
touchdesigner-mcp
Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.
test-driven-development
TDD: enforce RED-GREEN-REFACTOR, tests before code.
teams-meeting-pipeline
Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.
systematic-debugging
4-phase root cause debugging: understand bugs before fixing.