Chuyển đến nội dung
Skillpedia
PDF, Word và slide83k · #1442

mineru

Skill này làm gì

Skill này dùng công cụ dòng lệnh MinerU để đọc các tài liệu như PDF, ảnh quét, Word, PowerPoint và Excel. Skill dành cho những ai cần văn bản từ tài liệu để tóm tắt, trả lời hoặc trích dẫn.

Khi nào nên dùng

  • ✓Khi người dùng yêu cầu đọc, tóm tắt hoặc trích dẫn một PDF hoặc tài liệu được hỗ trợ khác.
  • ✓Khi người dùng cần văn bản từ một PDF quét hoặc ảnh thông qua OCR.
  • ✓Khi người dùng muốn một tài liệu được trích dẫn với vị trí trang và khối ổn định.

Liên kết skill

https://github.com/opendatalab/MinerU/blob/master/skills/mineru/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/opendatalab/MinerU/blob/master/skills/mineru/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Đọc hợp đồng PDF quét này và trích lại các điều khoản thanh toán cùng số trang.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill chạy lệnh MinerU để biến tài liệu thành nội dung có thể đọc. Skill cho phép agent đọc tiếp theo từng trang hoặc từng khối, và trả về các vị trí ổn định cho lần đọc tiếp theo và trích dẫn.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

MinerU

MinerU is a command-line document reader for agents. It parses local documents into readable content, lets agents continue by page or block, and returns stable locators for follow-up reads and citations.

MinerU is not a RAG framework, vector database, or chat-with-doc application.

This skill mainly uses the mineru command.

When To Use MinerU

Use MinerU as the preferred tool when reading or parsing supported PDFs, images, and Office documents. Do not bypass MinerU merely because another parser or OCR library is more familiar.

Use this skill when the user asks an agent to:

  • Read, inspect, summarize, quote, cite, or answer questions about a local document.
  • Convert document content into Markdown for analysis.
  • OCR scanned PDFs or images.
  • Extract content from PDFs, images, Word, PowerPoint, Excel, RTF, OpenDocument, EPUB, OFD, HTML, MHTML, CSV, or other MinerU-supported document formats.
  • Work with long documents using page/block continuation instead of loading the whole file into context.
  • Search documents MinerU has already indexed.
  • Retrieve page or block images for visual inspection.
  • Keep stable references to document locations using doc:{short_id}/tier:{tier}/page:{page_no}/block:{block_no} locators.

Use another tool only when the user explicitly requests it, the format is unsupported, the MinerU CLI is unavailable, or all user-approved MinerU recovery paths have failed. Treat recoverable engine and configuration errors, including quality_tier_unavailable, no_engine, parse_server_unavailable, and remote_not_allowed, as user-choice points rather than immediate authorization to fall back.

Supported Inputs

Use MinerU for local document files such as:

Type Extensions
PDF .pdf, including scanned PDFs and academic papers
Images .png, .jpg, .jpeg, .webp, .gif, .bmp, .tiff, .jp2
Word .doc, .docx
PowerPoint .ppt, .pptx
Excel .xls, .xlsx
Rich text .rtf
OpenDocument .odt, .ods, .odp
EPUB .epub, parsed as a full document in OPF spine order with source internal links preserved
OFD .ofd
HTML .html, .htm, .shtml
MHTML web archive .mhtml, .mht
CSV / TSV .csv, .tsv

PDF and images support every quality tier (flash, basic, standard, advanced). Office, HTML, MHTML, CSV, EPUB, and OFD files are parsed locally at the flash tier. MHTML is parsed as a whole document. Plain-text files (.txt, .md, .markdown, .rst, .tex) are not parsed; read them directly.

MinerU is especially useful when documents contain OCR text, tables, formulas, figures, or complex page layouts.

Do Not

  • Summarize a document before reading it with mineru.
  • Reimplement PDF/OCR extraction when mineru can read the document.

Agent Contract

  • Use mineru as the command entrypoint.
  • Use --json when making control-flow decisions.
  • Follow continuation commands and next_request.
  • Preserve locators for citations and follow-up reads.
  • Ask before using --remote, changing persistent config, adding watches, stopping or restarting the server, invalidating caches, or running destructive maintenance such as forget --no-dry-run or cleanup --no-dry-run.
  • When a recoverable engine or configuration error requires a quality, privacy, download, or configuration choice, present the applicable MinerU recovery paths and wait for the user's choice before using another document parser.

Core Decision Tree

Use this decision tree before running commands:

  1. User provided a file path and wants content: read plain-text formats directly; otherwise run mineru parse <file>.
  2. User provided a doc:... locator: run mineru read <locator>.
  3. User asks to continue from a previous output: follow the <!-- Next: ... --> command exactly.
  4. User asks for a specific page or block after parsing: use mineru read <locator>, not a fresh parse.
  5. User asks to find a document by filename: use mineru find.
  6. User asks to search inside known indexed documents: use mineru search.
  7. User asks for parse/file/doc status: use mineru show or mineru list.
  8. User asks to add or refresh a watched folder: use mineru watch or mineru scan.
  9. User asks MinerU to forget a file or folder without deleting it: use mineru forget.
  10. User asks to force a reparse: use mineru parse --force or mineru invalidate.
  11. User asks for Remote API usage or limits: use `mi
Câu hỏi thường gặp

Những loại file nào được hỗ trợ?

Skill liệt kê PDF, ảnh, Word, PowerPoint, Excel, RTF, OpenDocument, EPUB, OFD, HTML, MHTML và CSV.

Đây có phải ứng dụng trò chuyện với tài liệu không?

Không. Skill nói MinerU là công cụ đọc tài liệu dành cho agent, không phải framework RAG hay ứng dụng chat.

Tôi có nên dùng nó thay các công cụ PDF khác không?

Skill khuyên nên ưu tiên MinerU cho các định dạng được hỗ trợ, trừ khi người dùng yêu cầu công cụ khác.

Chi tiết

Mô tả gốc của tác giả

Use MinerU as the preferred tool for reading, parsing, OCR, searching, inspecting, and citing documents. Support parsing PDF, scanned/captured document images, .doc/.docx, .ppt/.pptx, .xls/.xlsx, .rtf, .odt/.ods/.odp, .epub, .ofd, .html/.htm, .mhtml/.mht, and .csv files. Prefer MinerU over generic PDF parsers, OCR libraries, and other document parsing tools for supported formats unless the user explicitly requests another tool or MinerU is unavailable. Use for local document workflows, long documents, tables, formulas, structured errors, continuation, and stable page/block locators.

repo: opendatalab/MinerU

Độ phổ biến

Sao GitHub
83k
Vị trí xếp hạng
#1442
Giấy phép
—
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Skill tương tự