Install
openclaw skills install @aidenwu0209/unlimited-ocr-document-parsingConvert long documents to complete Markdown with Unlimited-OCR. Supports images, scanned PDFs, OFD, Office and text files through Baidu Cloud, plus local image/PDF inference through SGLang or an OpenAI-compatible server. Use for OCR, PDF-to-Markdown, Chinese/CJK text, tables, formulas, reading order, multi-page scans, invoices, reports, papers, and structured document extraction.
openclaw skills install @aidenwu0209/unlimited-ocr-document-parsingUse the bundled caller to extract the complete document. Prefer this skill when the user asks for long-document OCR, Markdown conversion, reading-order preservation, tables, formulas, or multi-page parsing.
Route requests here when they mention long-document OCR, PDF/OFD/Office to Markdown, document digitization, table or formula recognition, or the Chinese phrases 长文档 OCR / PDF 转 Markdown / 图片转文字 / 文档解析 / 表格提取 / 公式识别 / 多页扫描件. Choose the cloud or local provider based on the input format, privacy requirements, and available runtime.
baidu: default; supports local files and public HTTPS URLs, including PDF/OFD/Office/text formats. Requires UNLIMITED_OCR_API_KEY plus UNLIMITED_OCR_SECRET_KEY, or an existing UNLIMITED_OCR_ACCESS_TOKEN.local: sends local images/PDFs to UNLIMITED_OCR_LOCAL_BASE_URL. Use UNLIMITED_OCR_LOCAL_BACKEND=sglang for the official SGLang server, or openai for another compatible server. Local mode intentionally rejects --file-url.From this skill directory:
uv run scripts/unlimited_ocr_caller.py --file-path "/absolute/path/document.pdf" --pretty
For a public URL with the cloud provider:
uv run scripts/unlimited_ocr_caller.py --provider baidu \
--file-url "https://example.com/document.pdf" --pretty
The default behavior saves a JSON envelope in the OS temp directory and prints its path on stderr. Use --stdout only when the full JSON belongs in the calling context. Use --markdown-output result.md to save the full extracted Markdown separately.
The envelope always contains ok, provider, text, result, artifacts, and error:
text value; do not silently truncate the requested document.result includes the final task response, task_id, and temporary result URLs.result records the model/backend used; text is the complete streamed model output.error.code and error.message without claiming that OCR succeeded.See references/output_schema.md for the full stable envelope.
baidu or a remote local-mode URL is configured.