paddleocr-text-recogni…
Use this skill whenever the user wants text extracted from images, photos, scans, screenshots, or scanned PDFs. Returns exact machine-readable strings with…
Use this skill to extract structured Markdown/JSON from PDFs and document images—tables with cell-level precision, formulas as LaTeX, figures, seals, charts, headers/footers, multi-column layout and correct reading order. Trigger terms: 文档解析, 版面分析, 版面还原, 表格提取, 公式识别, 多栏排版,
$ npx -y skills add paddlepaddle/paddleocr --skill paddleocr-doc-parsing --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/paddleocr-doc-parsingContext preview
The summary Claude sees to decide when to auto-load this skill.
Use this skill to extract structured Markdown/JSON from PDFs and document images—tables with cell-level precision, formulas as LaTeX, figures, seals, charts, headers/footers, multi-column layout and correct reading order. Trigger terms: 文档解析, 版面分析, 版面还原, 表格提取, 公式识别, 多栏排版,
name: paddleocr-doc-parsing
description: >-
Use this skill to extract structured Markdown/JSON from PDFs and document images—tables with
cell-level precision, formulas as LaTeX, figures, seals, charts, headers/footers, multi-column
layout and correct reading order.
Trigger terms: 文档解析, 版面分析, 版面还原, 表格提取, 公式识别, 多栏排版, 扫描件结构化,
发票, 财报, 复杂 PDF, PDF转Markdown, 图表, 阅读顺序; reading order, formula, LaTeX,
layout parsing, structure extraction, PP-StructureV3, PaddleOCR-VL.
license: Apache-2.0
metadata:
openclaw:
requires:
env:
- PADDLEOCR_ACCESS_TOKEN
bins:
- paddleocr
primaryEnv: PADDLEOCR_ACCESS_TOKEN
emoji: "📄"
install:
- kind: uv
package: paddleocr
bins: [paddleocr]**Use this skill for**:
From URL:
paddleocr api \ --model_type doc_parsing \ --file_url "https://example.com/report.pdf"
From local file:
paddleocr api \ --model_type doc_parsing \ --file_path "./document.pdf"
# With specific model paddleocr api \ --model_type doc_parsing \ --model PP-StructureV3 \ --file_path "./report.pdf" # Disable preprocessing (faster, for flat/well-oriented images) paddleocr api \ --model_type doc_parsing \ --file_path "./document.pdf" \ --use_doc_unwarping False \ --use_doc_orientation_classify False # With page ranges paddleocr api \ --model_type doc_parsing \ --file_path "./large.pdf" \ --page_ranges "1-5,10,15-20" # Save result and resources paddleocr api \ --model_type doc_parsing \ --file_url "https://..." \ --output result.json \ --save_resources ./resources # Prettify markdown output paddleocr api \ --model_type doc_parsing \ --file_path "./document.pdf" \ --prettify_markdown True
{
"jobId": "job-xxx",
"pages": [
{
"markdownText": "# Title\n\nContent...",
"markdownImages": {
"img1": "https://...",
"img2": "https://..."
},
"outputImages": {
"layout1": "https://..."
}
}
]
}**Preprocessing options**: For flat, well-oriented images (screenshots, properly scanned documents), you can disable preprocessing for faster results:
paddleocr api --model_type doc_parsing --file_path "./document.pdf" --use_doc_unwarping False --use_doc_orientation_classify False
Keep preprocessing enabled when:
**Display complete results**: Always show the full extracted content to users. Do not truncate with "..." unless content exceeds 10,000 characters. When multiple pages are processed, summarize if needed but provide complete results when explicitly requested.
**Handle errors gracefully**: When the CLI returns an error, inform the user of the specific issue rather than silently failing. Common errors:
Run `paddleocr api --help` for all options.
For full documentation, see: [PaddleOCR Official Documentation](https://www.paddleocr.ai/latest/en/version3.x/inference_deployment/serving/paddleocr_official_api/cli.html)
Turn any PDF or image document into structured data for your AI. A powerful, lightweight OCR toolkit that bridges the gap between images/PDFs and LLMs. Supports 100+ languages.
Repo: paddlepaddle/paddleocr
Use this skill whenever the user wants text extracted from images, photos, scans, screenshots, or scanned PDFs. Returns exact machine-readable strings with…