跳到正文
cccskills
免费在 GitHub 公开

mineru

Parse PDFs, Office files, images, and HTML into Markdown/structured outputs with MinerU. Use when SciForge or Codex needs document parsing/OCR for scientific papers, supplementary files, PDFs, scanned documents, tables, formulas, or URL/local-file parsing through MinerU standard or Agent lightweight APIs.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(4)

  • SKILL.md2.5 KB
  • agents/openai.yaml186 B
  • references/api.md2.7 KB
  • scripts/mineru_parse.py11.8 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

MinerU

Use MinerU to turn PDFs, Office files, images, and HTML into Markdown and structured outputs for downstream research workflows.

Choose API Mode

  • Prefer standard mode for scientific papers and reproducible project work. It requires MINERU_API_KEY, supports files up to 200 MB / 200 pages, batch upload, pipeline / vlm / MinerU-HTML, tables, formulas, and zip outputs.
  • Use agent mode for quick, small, non-sensitive parsing. It needs no token, is IP-rate-limited, supports a single file or URL, returns Markdown only, and is intended for lightweight agent workflows.

Do not store API keys in skill files, source code, logs, or committed .env files. Read standard API credentials from MINERU_API_KEY.

Quick Commands

Use the bundled CLI:

python .codex/skills/mineru/scripts/mineru_parse.py standard-file path/to/paper.pdf --output-dir outputs/results/mineru/paper --model-version vlm --extra-format html
python .codex/skills/mineru/scripts/mineru_parse.py standard-url https://example.com/paper.pdf --output-dir outputs/results/mineru/paper --model-version vlm
python .codex/skills/mineru/scripts/mineru_parse.py agent-file path/to/small.pdf --output-dir /tmp/mineru-small
python .codex/skills/mineru/scripts/mineru_parse.py agent-url https://example.com/small.pdf --output-dir /tmp/mineru-small

For local files in standard mode, the CLI requests a signed upload URL, uploads the file, polls the batch result, downloads the result zip, and extracts it.

For standard URL mode, the CLI submits the URL task, polls it, downloads the result zip, and extracts it.

For agent mode, the CLI downloads the returned Markdown file.

Recommended Defaults

  • Use --model-version vlm for scientific papers with formulas, tables, and figures.
  • Use --model-version MinerU-HTML only for HTML source files.
  • Use --pages to limit expensive or slow parses during tests.
  • Keep raw PDFs and downloaded zips in ignored local folders; commit only extracted, reviewed Markdown/metadata when appropriate.

Resources

  • scripts/mineru_parse.py: deterministic CLI wrapper for MinerU API calls.
  • references/api.md: concise API reference extracted from the local MinerU HTML documentation.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Submit protein folding tasks to the AlphaFold3 C550 inference platform. Use when the user needs to run AlphaFold3 predictions with pre-prepared JSON input files on the AI4S Kubernetes cluster.

中文简介正在准备中。当前显示原文说明。

AGI4Sci/SciForge832026年9月3日 更新

Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a CONTEXT.md, or recording or editing an ADR.

中文简介正在准备中。当前显示原文说明。

AGI4Sci/SciForge832026年9月3日 更新

A relentless interview to sharpen a plan or design, which also creates docs (ADR's and glossary) as we go.

中文简介正在准备中。当前显示原文说明。

AGI4Sci/SciForge832026年9月3日 更新

grilling

免费

Grill the user relentlessly about a plan, decision, or idea. Use when the user wants to stress-test their thinking, or uses any 'grill' trigger phrases.

中文简介正在准备中。当前显示原文说明。

AGI4Sci/SciForge832026年9月3日 更新

Implement tasks from an OpenSpec change. Use when the user wants to start implementing, continue implementation, or work through tasks.

中文简介正在准备中。当前显示原文说明。

AGI4Sci/SciForge832026年9月3日 更新

Archive a completed change in the experimental workflow. Use when the user wants to finalize and archive a change after implementation is complete.

中文简介正在准备中。当前显示原文说明。

AGI4Sci/SciForge832026年9月3日 更新

查看 AGI4Sci 的全部技能

报告此技能的问题