Our review
Converts a PDF to high-quality Markdown using the MinerU API VLM pipeline for accurate extraction of formulas, tables, and complex layouts.
Strengths
- High conversion quality for academic PDFs
- Extracts embedded images
- Handles complex formulas and tables
- Supports language hints for better accuracy
Limitations
- Requires a MinerU API token
- Depends on internet connectivity
- Overwrites existing files without warning
Use this skill when you need to convert academic or technical PDFs to Markdown with high fidelity, especially for formulas and tables.
Avoid this skill when working offline, without an API token, or when only plain text extraction is needed.
Security analysis
CautionThe skill invokes a Python script that sends the PDF to the MinerU API for processing. This involves network communication and potential data exfiltration risk. However, the script is not provided, so no malicious code is evident. The environment variable token handling is standard. The operation is legitimate for PDF conversion.
- •Sends PDF files to an external API, which may expose sensitive content if not careful with token and endpoint.
Examples
Convert this PDF to Markdown: /path/to/paper.pdfConvert this Chinese PDF to Markdown: /path/to/chinese_paper.pdf -l chname: pdf-to-md description: > Convert a PDF into high-quality Markdown through the MinerU API VLM pipeline. Use this skill whenever the user wants PDF-to-Markdown conversion, OCR-like extraction, paper text extraction, or Markdown plus extracted images from a PDF. This skill supports the API backend only and always uses the high-quality VLM model configuration. argument-hint: "<pdf_path> [-l lang]" allowed-tools: Bash
PDF to Markdown
Converts a PDF to:
<pdf_stem>.md
<pdf_stem>_images/
Prerequisite
Set the MinerU API token:
export MINERU_API_TOKEN="your_token_here"
Usage
python3 "${SKILL_DIR}/scripts/mineru-api.py" <pdf_path> [-l lang]
pdf_path: local PDF path-l lang: language hint,enorch
Backend contract
- Supported backend: MinerU API only
- Model: VLM
- Goal: highest available parsing quality for formulas, tables, and mixed-layout academic PDFs
Output behavior
- Output files are written next to the PDF
- Existing Markdown and image directories for the same stem may be overwritten
- Example:
paper.pdf->paper.mdandpaper_images/
Prompt Engineering
Data & AI
Prompt engineering best practices and templates to maximize AI outputs.
Data Visualization
Data & AI
Generates data visualizations and charts tailored to your data.
RAG Architecture Setup
Data & AI
Setup guide for RAG (Retrieval-Augmented Generation) architectures.