prompt-lookup
Activates when the user asks about AI prompts, needs prompt templates, wants to search for prompts, or mentions prompts.chat. Use…
PDF converter powered by MinerU — convert PDF to Word, Markdown, HTML, LaTeX, or plain text. Also handles image-to-text OCR, scanned document recognition, and Office formats (DOCX, PPTX, Excel). Supports 80+ languages. Use this skill when the user wants to convert, extract,
Claude Code
$ npx -y skills add tanis90/pdf-converter-mineru --skill pdf-converter-mineru --agent claude-code
Codex
$ npx skills add tanis90/pdf-converter-mineru --skill pdf-converter-mineru -a codex -y
Cursor
$ npx skills add tanis90/pdf-converter-mineru --skill pdf-converter-mineru -a cursor -y
Gemini CLI
$ npx skills add tanis90/pdf-converter-mineru --skill pdf-converter-mineru -a gemini-cli -y
GitHub Copilot
$ npx skills add tanis90/pdf-converter-mineru --skill pdf-converter-mineru -a github-copilot -y
OpenCode
$ npx skills add tanis90/pdf-converter-mineru --skill pdf-converter-mineru -a opencode -y
Windsurf
$ npx skills add tanis90/pdf-converter-mineru --skill pdf-converter-mineru -a windsurf -y
name: pdf-converter description: "PDF converter powered by MinerU — convert PDF to Word, Markdown, HTML, LaTeX, or plain text. Also handles image-to-text OCR, scanned document recognition, and Office formats (DOCX, PPTX, Excel). Supports 80+ languages. Use this skill when the user wants to convert, extract, read, parse, or summarize any PDF or document. Also applies when the user shares a PDF file or link and asks about its content, needs tables or formulas extracted, wants PDF OCR, or says things like 'turn this into a doc' or 'what does this paper say'."
Convert PDF, images, Office docs, and more to clean Markdown using the MinerU Open API CLI. No API key needed for basic use.
Reply to the user in the SAME language they use. This is non-negotiable.
Extraction is often just the first step. The typical flow is:
1. **Extract** — Use `mineru-open-api` to convert the document to Markdown 2. **Read & Process** — Help the user with what they actually need
MinerU outputs raw Markdown — it doesn't interpret or restructure the content. If the user asks to "extract the tables", "summarize the paper", or "find the key findings", you need to read the output and do that work yourself. MinerU handles the OCR and layout; you handle the understanding.
Use `-o` to save to a file when the user wants persistent output (conversion, batch processing). Skip `-o` and read stdout directly when the content is consumed immediately (summarization, Q&A).
For example:
When `--pages` is used with `-o` pointing to a **directory**, the CLI derives the output filename solely from the input file name. This means multiple page-range extracts of the same file will overwrite each other.
**CRITICAL**: You MUST avoid this by converting the output path to an **explicit file path** that includes the page range.
# ❌ WRONG — same file overwrites itself mineru-open-api flash-extract report.pdf --pages 1-20 -o ./out/ mineru-open-api flash-extract report.pdf --pages 21-40 -o ./out/ # ✅ CORRECT — unique filenames per chunk mineru-open-api flash-extract report.pdf --pages 1-20 -o ./out/report_p1-20.md mineru-open-api flash-extract report.pdf --pages 21-40 -o ./out/report_p21-40.md
Whenever the user asks to split a document by page ranges (e.g., "extract pages 1-20", "split into chunks"), always generate `-o` as an exact file path with the `_p{range}` suffix.
| User says | You generate | |---|---| | "把 report.pdf 每20页拆分成多个文件" | `-o ./out/report_p1-20.md`, `-o ./out/report_p21-40.md`... | | "extract pages 1-10 and 11-20" | `-o ./out/report_p1-10.md`, `-o ./out/report_p11-20.md` |
Best for quick reads. No API key, no setup.
mineru-open-api flash-extract report.pdf # to stdout (for immediate consumption) mineru-open-api flash-extract report.pdf -o ./output/ # save to file mineru-open-api flash-extract report.pdf -o ./output/report_p1-10.md # page range (explicit file path) mineru-open-api flash-extract report.pdf -o ./output/ --language en # language hint mineru-open-api flash-extract https://example.com/paper.pdf # URL input
**Supports:** PDF, images (PNG, JPG, WebP...), DOCX, PPTX, Excel (XLS, XLSX) **Limits:** 10 MB / 20 pages per document **Output:** Markdown only — images, tables, and formulas may become placeholders
Use flash-extract as the default unless the user needs more.
Use when the user needs full-fidelity output: preserved images, accurate tables, LaTeX formulas, or non-Markdown formats. Requires a token via `mineru-open-api auth`.
mineru-open-api extract report.pdf # to stdout mineru-open-api extract report.pdf -o ./out/ # save with all assets mineru-open-api extract report.pdf -o ./out/ -f md,docx # multiple output formats mineru-open-api extract report.pdf -o ./out/report_p1-20.md --pages 1-20 # page range (explicit file path) mineru-open-api extract report.pdf -o ./out/ --ocr # force OCR for scanned docs mineru-open-api extract *.pdf -o ./results/ # batch processing mineru-open-api extract --list files.txt -o ./results/ # batch from file list
**Supports:** PDF, images, DOC, DOCX, PPT, PPTX, HTML **Limits:** 200 MB / 600 pages per document **Output formats:** `md`, `json`, `html`, `latex`, `docx` (comma-separated with `-f`) **Features:** formula recognition (on by default), table recognition (on by default), OCR toggle, batch mode, model selection (`vlm`, `pipeline`, `html`)
If the user hasn't authenticated yet, guide them to run `mineru-open-api auth` first.
| Situation | Mode | |---|---| | "What does this PDF say?" | flash-extract | | Quick summary or content scan | flash-extract | | Need images/tables/formulas preserved | extract | | Document > 10 MB or > 20 pages | extract | | Batch converting multiple files | extract | | Need DOCX/LaTeX/HTML output | extract | | Scanned document needs OCR | extract with `--ocr` |
Default is `ch` (Chinese + English). Use `--language` to specify others. Common codes:
| Language | Code | Language | Code | |---|---|---|---| | Chinese + English | `ch` | Japanese | `japan` | | English | `en` | Korean | `korean` | | French | `fr` | Chinese Traditional | `chinese_cht` | | German | `de` | Spanish | `es` | | Russian | `ru` | Arabic | `ar` | | Portuguese | `pt` | Hindi | `hi` | | Italian | `it` | Vietnamese | `vi` | | Thai | `th` | Turkish | `tr` |
80+ languages supported in t
Activates when the user asks about AI prompts, needs prompt templates, wants to search for prompts, or mentions prompts.chat. Use…
AI-driven presentation workflow for generating editable PPTX decks and slides, reconstructing page visuals, creating reusable…
Use this skill when the user wants a .pptx with smooth cross-slide animation — PowerPoint Morph transitions, Keynote-style…
Create stunning, animation-rich HTML presentations from scratch or by converting PowerPoint files. Use when the user wants to…