Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add Nebutra/MinerU-Skill/plugin install mineruWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/nebutra/mineru-skill/mineru)<a href="https://agentmods.dev/skills/nebutra/mineru-skill/mineru"><img src="https://agentmods.dev/badge/skills/nebutra/mineru-skill/mineru/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/nebutra/mineru-skill/mineru"><img src="https://agentmods.dev/badge/skills/nebutra/mineru-skill/mineru.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket pass
- Snyk warn
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00096 | $0.00533 |
| Opus 5 | $0.00048 | $0.00267 |
| Sonnet 5 | $0.00019 | $0.00107 |
| Haiku 4.5 | $0.00010 | $0.00053 |
Grade A, and why
mineru scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
MinerU PDF Parser
Parse PDF, Office, and image documents into structured Markdown via the MinerU API.
Quick Start
# Zero-config: no token, no install (free Agent API)
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/mineru.py" ./document.pdf --output ./output/
# Pipe Markdown back to an agent
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/mineru.py" ./document.pdf --stdout
# Power mode: token unlocks large files / batch / extra formats
export MINERU_TOKEN="..." # https://mineru.net/apiManage/token
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/mineru.py" ./pdfs/ --output ./output/ --workers 8 --resume
Features
- Auto-routing: free Agent API by default, auto-upgrades to the Standard API (token) for large/batch/extra-format jobs
- Multi-modal: PDF, images, Word, PPT, Excel, HTML
- High-performance OCR:
--ocrwith language selection (--lang) - Formula & table recognition: LaTeX formulas, structured tables
- Multi-format export: Markdown (default), plus DOCX / HTML / LaTeX
- AI-Native output:
--stdout(Markdown) and--json(machine status) - Batch + resume: parallel workers with
--resume - Zero dependencies: standard library only
Authentication
A token is optional — the Agent API works without one. Set a token to unlock the Standard API (≤ 200 MB / ≤ 200 pages, batch, DOCX/HTML/LaTeX):
export MINERU_TOKEN="your-token-here" # https://mineru.net/apiManage/token
Official API docs: https://mineru.net/apiManage/docs
What ships with it
29 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- references/api_reference.md 5.4 KB
- references/comparison.md 20 KB
- references/integrations.md 6.0 KB
- scripts/__init__.py 64 B runs code
- scripts/chunking.py 2.7 KB runs code
- scripts/local_engine.py 1.9 KB runs code
- scripts/mineru_mcp.py 6.4 KB runs code
- scripts/mineru.py 81 KB runs code
- scripts/sinks/__init__.py 2.2 KB runs code
- scripts/sinks/_http.py 2.6 KB runs code
- scripts/sinks/_md.py 8.3 KB runs code
- scripts/sinks/airtable.py 1.7 KB runs code
- scripts/sinks/base.py 2.9 KB runs code
- scripts/sinks/coda.py 2.3 KB runs code
- scripts/sinks/confluence.py 2.1 KB runs code
- scripts/sinks/dingtalk.py 2.1 KB runs code
- scripts/sinks/feishu.py 4.6 KB runs code
- scripts/sinks/linear.py 2.4 KB runs code
- scripts/sinks/local.py 3.9 KB runs code
- scripts/sinks/notion.py 4.8 KB runs code
- scripts/sinks/onenote.py 2.2 KB runs code
- scripts/sinks/roam.py 3.9 KB runs code
- scripts/sinks/siyuan.py 4.4 KB runs code
- scripts/sinks/slack.py 3.3 KB runs code
- scripts/sinks/ticktick.py 1.6 KB runs code
- scripts/sinks/wecom.py 2.4 KB runs code
- scripts/sinks/wps.py 3.9 KB runs code
- scripts/sinks/yuque.py 2.1 KB runs code
- scripts/splitter.py 2.1 KB runs code
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 11d ago First seen · 49 lines · 96 tokens per session scan A 0b4b837659cc
mineru is a skill published in the GitHub repository Nebutra/MinerU-Skill (113 stars, last pushed 1mo ago), licensed MIT. It adds 96 tokens to every session and 533 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
mineru-pdf
High-accuracy PDF content extraction using MinerU (Shanghai AI Lab). Use this whenever the user needs to extract text, formulas, tables, or images from a complex PDF — especially academic papers, multi-column layouts, scanned documents, or any PDF where pypdf produces garbled /Cxx formula output. Trigger on: "MinerU"…
mineru-pdf
Instructions for extracting text, formulas, tables, and images from difficult PDF files with MinerU, a document-reading tool. It is intended for papers, multi-column layouts, and scanned documents where basic PDF readers may produce poor results.
Генерация PDF из Markdown с точным академическим форматированием через Pandoc и LaTeX
A document workflow that turns Markdown text into PDF files using Pandoc and a custom LaTeX template. It applies specified academic page settings such as 14-point text, 1.5 line spacing, and A4 paper.
pdf-parsing
A PDF-processing guide for converting PDF documents into local Markdown files and extracting their images with structai.readpdf. It also covers MinerU parsing caches and proxy retries.
markdown-to-pdf
A Markdown-to-PDF skill that uses Python to convert Markdown documents into PDF files.
latex-compiling
A workflow for compiling LaTeX documents into PDF files with latexmk and pdflatex, while keeping source code, temporary files, caches, and output separate.