Agent skill

Mineru

by Nebutra in Nebutra/MinerU-Skill

An AI-Native skill for parsing PDF / Office / image files into Markdown with MinerU — a fast, zero-config document parser for AI agents.

MITAuto-check passedDocuments & Office

Install Mineru

skills CLI
$ npx skills add Nebutra/MinerU-Skill --skill mineru -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Nebutra/MinerU-Skill mineru --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Nebutra/MinerU-Skill.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/mineru .claude/skills/mineru && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
mineru
GitHub stars
123
Token cost
~504 tokens
SKILL.md length
111 words
Files
30 (incl. scripts, references)
Skills in repo
2
Repo updated
First seen
Licence
MIT

At a glance

An AI-Native skill for parsing PDF / Office / image files into Markdown with MinerU — a fast, zero-config document parser for AI agents.

  • Converting PDF/Word/PPT/Excel/image documents
  • SKILL.md covers Quick Start, Features and Authentication
  • Runs Python scripts from its folder; calls python3; reaches mineru.net; needs MINERU_TOKEN
  • Extracting text/tables/formulas

What it does

Mineru is an agent skill from Nebutra/MinerU-Skill. An AI-Native skill for parsing PDF / Office / image files into Markdown with MinerU — a fast, zero-config document parser for AI agents. Works with NO token via the Agent API and auto-upgrades to the Standard API (token) for large files, batches, and DOCX/HTML/LaTeX export. Use when converting PDF/Word/PPT/Excel/image documents, extracting text/tables/formulas, running OCR, or batch processing.

Its SKILL.md is about 500 tokens, which your agent loads only when the skill is triggered. The skill folder holds 32 other files, including scripts and reference files (for example `references/api_reference.md`, `references/comparison.md` and `references/integrations.md`).

It sits in Documents & Office, covering LaTeX, PDF and Word documents. It works with LaTeX, Microsoft Word, Microsoft Excel and Python. The repository describes itself as: AI-Native document parser: PDF, Office & images → clean Markdown with LaTeX, tables & OCR. Zero-dependency CLI & skill for Claude Code, Cursor & AI agents. The licence is MIT.

When your agent uses it

  • Converting PDF/Word/PPT/Excel/image documents
  • Extracting text/tables/formulas
  • Batch processing

Example prompts

  • “/mineru”

Requirements

  • Python 3
  • A credential in MINERU_TOKEN

What it can do on your machine

Read from SKILL.md and the folder at commit 02433d8. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 14 files in scripts/ (Python, from the files we listed), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • mineru.net

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • MINERU_TOKEN

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Mineru loads about 504 tokens when it runs, and up to ~8.7k if it reads all its reference files. Until then it costs about 101 tokens; SKILL.md has 111 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~101
When it runs · the whole SKILL.md, loaded when a task matches
~504
With references · SKILL.md plus every file in references/, read only if the agent opens them
~8.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from Nebutra/MinerU-Skill at commit 02433d8, republished under its MIT licence (© Nebutra). 111 words, ~504 tokens.

Download SKILL.mdSave it as .claude/skills/mineru/SKILL.md (or your agent's skills folder). This skill also uses 29 other files; get the full folder from GitHub.
name
mineru
description
An AI-Native skill for parsing PDF / Office / image files into Markdown with MinerU — a fast, zero-config document parser for AI agents. Works with NO token via the Agent API and auto-upgrades to the Standard API (token) for large files, batches, and DOCX/HTML/LaTeX export. Use when converting PDF/Word/PPT/Excel/image documents, extracting text/tables/formulas, running OCR, or batch processing.
metadata.author
Nebutra
metadata.version
3.3.1
metadata.argument-hint
<pdf-file-or-url>

MinerU PDF Parser

Parse PDF, Office, and image documents into structured Markdown via the MinerU API.

Quick Start

bash
# 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: --ocr with 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):

bash
export MINERU_TOKEN="your-token-here"   # https://mineru.net/apiManage/token

Official API docs: https://mineru.net/apiManage/docs

© Nebutra, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 29 other files (scripts, references) in skills/mineru of Nebutra/MinerU-Skill.

  • SKILL.md
  • references/api_reference.md
  • references/comparison.md
  • references/integrations.md
  • scripts/__init__.py
  • scripts/chunking.py
  • scripts/local_engine.py
  • scripts/mineru.py
  • scripts/mineru_mcp.py
  • scripts/sinks/__init__.py
  • scripts/sinks/_http.py
  • scripts/sinks/_md.py
  • scripts/sinks/airtable.py
  • scripts/sinks/base.py
  • scripts/sinks/coda.py
  • scripts/sinks/confluence.py
  • scripts/sinks/dingtalk.py
  • scripts/sinks/feishu.py
  • … and 12 more

Open the folder on GitHubat commit 02433d8

Compare with similar skills

Mineru next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Mineru compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Mineru this skillNebutra/MinerU-Skill123—~504Automated safety check: PassMIT
Markdown ConverterTeam-Commonly/commonly1.4k—~557Automated safety check: PassApache-2.0
Lexoid CLIoidlabs-com/Lexoid109—~2kAutomated safety check: NotesApache-2.0
Document ConverterBlackBeltTechnology/pi-agent-dashboard315—~999Automated safety check: PassMIT
MarkitdownImCa0/just-laws78114 repos~3.2kAutomated safety check: NotesMIT
PDFzai-org/ZCode7.7k—~18kAutomated safety check: NotesProprietary

Similar skills

  • Markdown Converter

    Team-Commonly/commonly

    Convert binary documents (PDF, DOCX, XLSX, PPTX, HTML, EPUB, images) to clean LLM-friendly Markdown using Microsoft's markitdown Python tool.

    1.4k GitHub stars~557 tokensUpdated yesterday
    Documents & OfficeAuto-check passed
  • Lexoid CLI

    oidlabs-com/Lexoid

    Parse and convert documents (PDFs, images, web pages, DOCX/XLSX/PPTX, audio) from the terminal using the lexoid CLI.

    109 GitHub stars~2k tokensUpdated 3 days ago
    Documents & OfficeAuto-check: notes
  • Document Converter

    BlackBeltTechnology/pi-agent-dashboard

    Convert documents bidirectionally via the pi-doc-engine facade: ingest PDF/DOCX/PPTX/XLSX to provenance-stamped Markdown (with OCR), and produce templated DOCX/PDF from Markdown with diagrams, TOC…

    315 GitHub stars~999 tokensUpdated yesterday
    Documents & OfficeAuto-check passed
  • Markitdown

    ImCa0/just-laws

    Convert files and office documents to Markdown. An agent skill from ImCa0/just-laws.

    781 GitHub starsUsed in 14 repos~3.2k tokens
    Documents & OfficeAuto-check: notes
  • PDF

    zai-org/ZCode

    Professional PDF toolkit covering four production workflows: reports, creative visuals, academic LaTeX, and existing PDF processing.

    7.7k GitHub stars~18k tokensUpdated yesterday
    Documents & OfficeAuto-check: notes
  • Doc Cleaner

    notoriouslab/doc-cleaner

    Convert PDF, DOCX, XLSX, and text files to clean, structured Markdown.

    309 GitHub stars~712 tokensUpdated 1 mo ago
    Documents & OfficeAuto-check passed

More from Nebutra/MinerU-Skill

  • Mineru

    Nebutra/MinerU-Skill

    An AI-Native skill for parsing PDF / Office / image files into clean Markdown with MinerU — a fast, zero-config document parser for AI agents.

    123 GitHub stars~1.4k tokensUpdated 17 days ago
    Auto-check passed

Questions about Mineru

What does Mineru do?

An AI-Native skill for parsing PDF / Office / image files into Markdown with MinerU — a fast, zero-config document parser for AI agents. Mineru is an agent skill from Nebutra/MinerU-Skill. An AI-Native skill for parsing PDF / Office / image files into Markdown with MinerU — a fast, zero-config document parser for AI agents.

When should I use Mineru?

Mineru fits situations like: converting PDF/Word/PPT/Excel/image documents; extracting text/tables/formulas; batch processing.

How do I install Mineru in Claude Code?

Run `npx skills add Nebutra/MinerU-Skill --skill mineru -a claude-code`. Or copy the skill folder (skills/mineru in Nebutra/MinerU-Skill) into .claude/skills/mineru in your project. Claude Code loads it when a task matches its description.

How do I install Mineru in Codex?

Run `npx skills add Nebutra/MinerU-Skill --skill mineru -a codex`. Or copy the skill folder (skills/mineru in Nebutra/MinerU-Skill) into .agents/skills/mineru in your project. Codex loads it when a task matches its description.

Can I use Mineru in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Nebutra/MinerU-Skill --skill mineru -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/mineru, .gemini/skills/mineru, .github/skills/mineru and .opencode/skills/mineru in your project.

What does Mineru need to run?

Going by SKILL.md and its folder, Mineru needs Python for the scripts in its folder, the command-line tools its instructions call (python3) and credentials named MINERU_TOKEN. Our summary lists: Python 3; A credential in MINERU_TOKEN.

Does Mineru access the network?

SKILL.md names 1 domain. In commands or code: mineru.net; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Mineru safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Mineru use?

Mineru is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Mineru use?

About 504 tokens (SKILL.md is roughly 2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 8.2k tokens, read only when the agent opens those files.

What are the alternatives to Mineru?

Skills that share tags, products or a category with Mineru: Markdown Converter (Team-Commonly/commonly, 1.4k stars), Lexoid CLI (oidlabs-com/Lexoid, 109 stars), Document Converter (BlackBeltTechnology/pi-agent-dashboard, 315 stars) and Markitdown (ImCa0/just-laws, 781 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Mineru?

Nebutra (a GitHub organization) maintains it in Nebutra/MinerU-Skill, which has 123 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on September 24, 2026.

Source: Nebutra/MinerU-Skill on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.