零门槛 PDF 智能解析为 Markdown
简介
MinerU 开源 PDF 解析工具,零门槛提取文本、表格、公式为 Markdown,适合学术/办公文档快速结构化,10MB/20页免费额度。
原始描述
PDF to Markdown converter - extract text, tables and formulas from PDF files to clean Markdown. Use when converting PDF documents, extracting PDF content, pa...
通过你的 Agent 添加
安装目录:pdf2md/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: pdf2md
description: "PDF to Markdown converter - extract text, tables and formulas from PDF files to clean Markdown. Use when converting PDF documents, extracting PDF content, parsing PDF text, or summarizing PDF reports."
homepage: https://mineru.net
metadata: {"openclaw":{"emoji":"📄","requires":{"bins":["mineru-open-api"]},"install":[{"id":"brew","kind":"brew","tap":"tanis90/mineru-open","formula":"mineru-cli","bins":["mineru-open-api"],"label":"Install via Homebrew (macOS/Linux)","os":["darwin","linux"]},{"id":"curl","kind":"download","url":"https://cdn-mineru.openxlab.org.cn/open-api-cli/install.sh","label":"Install via curl (macOS/Linux)","os":["darwin","linux"]},{"id":"irm","kind":"download","url":"https://cdn-mineru.openxlab.org.cn/open-api-cli/install.ps1","label":"Install via PowerShell (Windows)","os":["win32"]}]}}
PDF to Markdown - Extract Text, Tables, Formulas from PDF
Convert PDF files to clean Markdown using MinerU Open API. No API key required.
Quick Start
# Convert a local PDF to Markdown
mineru-open-api flash-extract report.pdf
# Convert a PDF from URL (no download needed)
mineru-open-api flash-extract https://cdn-mineru.openxlab.org.cn/demo/example.pdf
# Save to file
mineru-open-api flash-extract report.pdf -o ./output/
# Convert specific pages
mineru-open-api flash-extract report.pdf --pages 1-10
Language Rule
# Convert a local PDF to Markdown
mineru-open-api flash-extract report.pdf
# Convert a PDF from URL (no download needed)
mineru-open-api flash-extract https://cdn-mineru.openxlab.org.cn/demo/example.pdf
# Save to file
mineru-open-api flash-extract report.pdf -o ./output/
# Convert specific pages
mineru-open-api flash-extract report.pdf --pages 1-10
You MUST reply to the user in the SAME language they use. This is non-negotiable.
Capabilities
- Extracts text, tables, and formulas from PDF
- Supports both local files and URLs directly
- Page range selection with
--pages
- Language hint with
--language (default: ch, use en for English)
- No API key, no signup, no authentication
- Max 10MB / 20 pages per document
When to Use
- User asks to "read", "extract", "convert", or "parse" a PDF
- User shares a PDF file or PDF link and asks for its content
- User wants to summarize or analyze a PDF document
- User needs PDF content in Markdown format
Install
--pages--language (default: ch, use en for English)- User asks to "read", "extract", "convert", or "parse" a PDF
- User shares a PDF file or PDF link and asks for its content
- User wants to summarize or analyze a PDF document
- User needs PDF content in Markdown format
Install
MinerU Open API CLI is an open-source tool by OpenDataLab. Install from the official site: https://mineru.net
# macOS / Linux
curl -fsSL https://cdn-mineru.openxlab.org.cn/open-api-cli/install.sh | sh
# Windows (PowerShell)
irm https://cdn-mineru.openxlab.org.cn/open-api-cli/install.ps1 | iex
CLI Reference
Run mineru-open-api flash-extract --help for all available options.
Data Privacy
flash-extract uploads the document to MinerU's cloud API for processing and returns the result. No account or API key is required.
- Documents are processed in real-time and are not stored after extraction.
- For details, see https://mineru.net
Notes
- Output is Markdown only; images/tables/formulas may be replaced with placeholders
- For larger files (up to 200MB/600 pages) or precision extraction with full assets, use
mineru-open-api extract (requires auth via mineru-open-api auth)
flash-extract uploads the document to MinerU's cloud API for processing and returns the result. No account or API key is required.- Output is Markdown only; images/tables/formulas may be replaced with placeholders
- For larger files (up to 200MB/600 pages) or precision extraction with full assets, use
mineru-open-api extract(requires auth viamineru-open-api auth)
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。