Agent skill · Design & Presentation

mineru-pdf-parser

用 MinerU 将复杂PDF文档转换为LLM友好的Markdown/JSON格式。适用于:(1) PDF转Markdown/JSON,(2) 提取PDF中的文本、表格、公式、图像,(3) 解析学术论文、技术文档、商业报告,(4) 为RAG应用准备文档数据,(5) 批量处理PDF。触发关键词:"PDF解析"、"PDF转Markdown"、"提取PDF表格/公式"、"MinerU"、"parse PDF"等。不用于:PDF的阅读/填表/签名/拆分合并(用宿主pdf工具)、Word/PPT等非PDF格式解析、只需读几页内容的场景(直接读即可,不必转换)。

staruhubgithub.com/staruhubGitHub ↗
claude-codeships scriptsMIT
Install
npx skills add staruhub/ClaudeSkills --skill Geek-skills-mineru-pdf-parser --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 5
SKILL.md size: 3 KB
Bundled scripts: yes
Version: 1.1.0
Path: skills/Geek-skills-mineru-pdf-parser/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 659
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# MinerU PDF Parser 将复杂PDF文档转换为机器可读的Markdown/JSON格式,适用于LLM和RAG应用。 ## 安装 ```bash # 推荐使用uv安装 pip install uv uv pip install -U "mineru[all]" # 下载模型(首次使用) mineru-models-download ``` ## 快速使用 ### 命令行 ```bash # 解析单个PDF mineru -p input.pdf -o output_dir # 批量解析 mineru -p pdf_folder/ -o output_dir # 指定解析模式 mineru -p input.pdf -o output_dir --backend vlm # VLM模式(高精度) mineru -p input.pdf -o output_dir --backend pipeline # Pipeline模式(快速) mineru -p input.pdf -o output_dir --backend hybrid # 混合模式(平衡) ``` ### Python API ```python from mineru import MinerU mineru = MinerU() result = mineru.parse("document.pdf") # 获取输出 markdown = result.to_markdown() json_data = result.to_json() ``` 详细API见 [references/api_reference.md](references/api_reference.md) ## 解析模式选择 | 模式 | 特点 | 适用场景 | |------|------|----------| | `pipeline` | 快速、资源少 | 简单文档、纯文本PDF | | `vlm` | 高精度、复杂布局 | 学术论文、公式表格文档 | | `hybrid` | 平衡速度精度 | 通用场景 | ## 输出文件 - `{filename}.md` - Markdown正文 - `{filename}_content_list.json` - 结构化JSON - `images/` - 提取的图像 - `{filename}_middle.json` - 中间结果(调试) 格式详情见 [references/output_formats.md](references/output_formats.md) ## 最佳实践 ### 学术论文 ```bash mineru -p paper.pdf -o output --backend vlm ``` ### 批量处理 ```python fro

What's inside
Steps it walks through
  1. 安装
  2. 快速使用
  3. 命令行
  4. Python API
  5. 解析模式选择
  6. 输出文件
  7. 最佳实践
  8. 学术论文
  9. 批量处理
  10. RAG数据准备
  11. 启用GPU加速
  12. 验收标准(解析任务完成前自查)
  13. 已知陷阱
  14. 脚本
Ships with 4 files
  • references/api_reference.md
  • references/best_practices.md
  • references/output_formats.md
  • scripts/mineru_parse.py
Commands it runs
pip install uv
uv pip install -U "mineru[all]"
mineru-models-download
mineru -p input.pdf -o output_dir
mineru -p pdf_folder/ -o output_dir
mineru -p input.pdf -o output_dir --backend vlm      # VLM模式(高精度)
mineru -p input.pdf -o output_dir --backend pipeline # Pipeline模式(快速)
mineru -p input.pdf -o output_dir --backend hybrid   # 混合模式(平衡)
mineru -p paper.pdf -o output --backend vlm
More from ClaudeSkills
All skills →
gaokao-expert资深高考命题专家助手,提供专业的命题指导和评审服务。适用于创作高考试题、评审试题质量、分析试卷结构、了解命题趋势等场景。结合文档工具提取解压文件,使用网络搜索了解当年最新命题趋势,使用分析工具评估题目…Othera-share-analystA股分析研究助手,提供行情数据获取与技术面/基本面分析框架(仅供研究参考,不构成投资建议)。适用于:(1) 获取A股行情和历史数据,(2)…Otherseedream-imagegen用 ByteDance Seedream 4.0 API(经 Segmind)生成 AI 图像。当用户要从文字描述生成营销素材、海报、产品图、概念图、社交媒体配图等高质量图像,且环境配有…Backend & APIuniversity-exam-prep大学备考苏格拉底式学习助手,专为应对"面向课本和PPT考试"设计。当用户说"帮我复习"、"准备考试"、"备考"、"期末复习"、"模拟学习"、"突击复习"等时触发。核心特点:(1)强制要求用户上传课本/…Design & Presentationpodcast-generator用火山引擎 Podcast AI 模型生成中文双人对话播客。当用户要把文章、报告、话题文本转成播客音频、生成对话式音频内容时使用,需要环境具备火山引擎 APP_ID 和 ACCESS_KEY。支持…Media & Videoc-drive-cleanerWindows C盘清理和磁盘空间管理。当用户说C盘满了、磁盘空间不足、清理临时文件/缓存/回收站/系统日志、查找大文件、分析磁盘占用时使用。仅适用于 Windows…Other
About this skill
What does the mineru-pdf-parser skill do?

用 MinerU 将复杂PDF文档转换为LLM友好的Markdown/JSON格式。适用于:(1) PDF转Markdown/JSON,(2) 提取PDF中的文本、表格、公式、图像,(3) 解析学术论文、技术文档、商业报告,(4) 为RAG应用准备文档数据,(5) 批量处理PDF。触发关键词:"PDF解析"、"PDF转Markdown"、"提取PDF表格/公式"、"MinerU"、"parse PDF"等。不用于:PDF的阅读/填表/签名/拆分合并(用宿主pdf工具)、Word/PPT等非PDF格式解析、只需读几页内容的场景(直接读即可,不必转换)。

How do I install it?

Run `npx skills add staruhub/ClaudeSkills --skill Geek-skills-mineru-pdf-parser --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From staruhub/ClaudeSkills, a repository with 659 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going