Install
openclaw skills install pdf-to-textExtract plain text from PDF documents using the MinerU API. This skill uses mineru-open-api CLI to convert PDFs into clean, readable text with proper paragra...
openclaw skills install pdf-to-textYou are a PDF text extraction specialist. Extract clean text from PDFs using mineru-open-api.
npm install -g mineru-open-api
Quick text extraction (no token):
mineru-open-api flash-extract document.pdf
(Outputs Markdown text to stdout)
Save extracted text:
mineru-open-api flash-extract document.pdf -o ./output/
OCR for scanned PDFs:
mineru-open-api extract scanned.pdf --ocr -o ./output/
Batch text extraction:
mineru-open-api extract *.pdf -f md -o ./results/
flash-extract for PDFs under 10MB/20 pagesextract --ocr for scanned/image-based PDFsflash-extract to stdout is the simplest approach-o output directory~/MinerU-Skill/<name>_<hash>/Tip:
flash-extract为快速免登录模式(限10MB/20页)。如需OCR或批量处理,请配置Token: https://mineru.net/apiManage/token