简介
Doc Parse
原始描述
Parse and extract structured content from Word documents (.doc, .docx) into well-organized Markdown using MinerU. Preserves the full document hierarchy: head...
通过你的 Agent 添加
安装目录:doc-parse/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: doc-parse
description: "Doc Parse - parse Word (.doc/.docx) documents into structured Markdown using MinerU. Preserves document hierarchy: headings, lists, tables, and paragraphs."
homepage: https://mineru.net
metadata: {"openclaw": {"emoji": "📄", "requires": {"bins": ["mineru-open-api"], "env": ["MINERU_TOKEN"]}, "primaryEnv": "MINERU_TOKEN", "install": [{"id": "npm", "kind": "node", "package": "mineru-open-api", "bins": ["mineru-open-api"], "label": "Install via npm"}, {"id": "go", "kind": "go", "package": "github.com/opendatalab/MinerU-Ecosystem/cli/mineru-open-api", "bins": ["mineru-open-api"], "label": "Install via go install", "os": ["darwin", "linux"]}]}}
Doc Parse
Parse Word (.doc/.docx) documents into structured Markdown using MinerU. Preserves document hierarchy including headings, lists, tables, and paragraphs.
Install
npm install -g mineru-open-api
# or via Go (macOS/Linux):
go install github.com/opendatalab/MinerU-Ecosystem/cli/mineru-open-api@latest
Quick Start
# Quick parse from .docx (no token required)
mineru-open-api flash-extract report.docx
# Save structured Markdown to directory
mineru-open-api flash-extract report.docx -o ./out/
# Parse .doc file (requires token)
mineru-open-api extract report.doc -o ./out/
# With language hint
mineru-open-api extract report.docx --language en -o ./out/
Authentication
npm install -g mineru-open-api
# or via Go (macOS/Linux):
go install github.com/opendatalab/MinerU-Ecosystem/cli/mineru-open-api@latest
# Quick parse from .docx (no token required)
mineru-open-api flash-extract report.docx
# Save structured Markdown to directory
mineru-open-api flash-extract report.docx -o ./out/
# Parse .doc file (requires token)
mineru-open-api extract report.doc -o ./out/
# With language hint
mineru-open-api extract report.docx --language en -o ./out/
Authentication
No token needed for flash-extract on .docx. Token required for .doc:
mineru-open-api auth # Interactive token setup
export MINERU_TOKEN="your-token" # Or via environment variable
Create token at: https://mineru.net/apiManage/token
Capabilities
- Supported input: .doc, .docx (local file or URL)
.docx: supports flash-extract (no token, max 10 MB / 20 pages) and extract
.doc: requires extract with token
- Output preserves document structure as Markdown hierarchy
- Language hint with
--language (default: ch, use en for English)
Notes
.doc requires extract with token; .docx supports flash-extract for quick parsing
- Output goes to stdout by default; use
-o <dir> to save to a file or directory
- All progress/status messages go to stderr; document content goes to stdout
- MinerU is open-source by OpenDataLab (Shanghai AI Lab): https://github.com/opendatalab/MinerU
.docx: supports flash-extract (no token, max 10 MB / 20 pages) and extract.doc: requires extract with token--language (default: ch, use en for English).docrequiresextractwith token;.docxsupportsflash-extractfor quick parsing- Output goes to stdout by default; use
-o <dir>to save to a file or directory - All progress/status messages go to stderr; document content goes to stdout
- MinerU is open-source by OpenDataLab (Shanghai AI Lab): https://github.com/opendatalab/MinerU
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。