skills/skills.volces.com/mineru-ocr-local-api

mineru-ocr-local-api

Installation
SKILL.md

MinerU OCR Local API

Hard Rules

  1. Use python scripts/mineru_caller.py for every MinerU request.
  2. Do not parse the document yourself as a fallback.
  3. If MinerU returns an error, show the error and stop.
  4. Treat the saved JSON envelope and generated artifact files as the source of truth.
  5. Prefer the top-level text field when the user asks for the full extracted document.

Choose The Mode

  • Use --mode api when the user wants the hosted MinerU service, already has MINERU_API_TOKEN, needs URL input, or wants the official cloud API workflow.
  • Use --mode local when the user wants the open-source MinerU runtime from https://github.com/opendatalab/MinerU, wants data to stay local, or explicitly asks for local parsing.
  • Use --mode auto only when the user does not care which mode is used. auto prefers API when MINERU_API_TOKEN is configured and falls back to local only for local files.

Standard Workflow

  1. For a hosted API parse from URL:
Installs
1
First Seen
Apr 21, 2026