paddleocr-doc-parsing

paddleocr-doc-parsing is a skill for Claude Code, Codex from PaddlePaddle/PaddleOCR. It costs 140 tokens per session (966 once invoked), scanned A, original, Apache-2.0.

A document-parsing tool configuration for extracting structured Markdown or JSON from complex PDFs and document images, including tables, formulas, charts, and multi-column pages.

In plain words
What is it for?
Parsing invoices, financial reports, academic papers, scanned documents, charts, tables, formulas, and selected page ranges.
Why use it?
It helps turn difficult documents into structured data while preserving layout details and reading order.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Parsing invoices, financial reports, academic papers, scanned documents, charts, tables, formulas, and selected page ranges.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/paddlepaddle/paddleocr/paddleocr-doc-parsing
About the project

PaddleOCR is an OCR and document-processing toolkit that converts images and PDFs into structured text and data such as Markdown or JSON. It is used to extract text, tables, formulas, and other document content for applications involving document understanding, retrieval, and language models; the catalogue entries provide skills for working with it.

PaddlePaddle/PaddleOCR · 89,133 stars · on GitHub · paddleocr.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add PaddlePaddle/PaddleOCR --skill paddleocr-doc-parsing
Clone the repo
git clone --depth 1 https://github.com/PaddlePaddle/PaddleOCR

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for paddleocr-doc-parsing

README.md
[![agentmods](https://agentmods.dev/badge/skills/paddlepaddle/paddleocr/paddleocr-doc-parsing/github.svg)](https://agentmods.dev/skills/paddlepaddle/paddleocr/paddleocr-doc-parsing)
Your own site
<a href="https://agentmods.dev/skills/paddlepaddle/paddleocr/paddleocr-doc-parsing"><img src="https://agentmods.dev/badge/skills/paddlepaddle/paddleocr/paddleocr-doc-parsing/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for paddleocr-doc-parsing

Your own site · 80×15
<a href="https://agentmods.dev/skills/paddlepaddle/paddleocr/paddleocr-doc-parsing"><img src="https://agentmods.dev/badge/skills/paddlepaddle/paddleocr/paddleocr-doc-parsing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 140 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 966 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. ✓ AI security review Fable 5.1 · 6 Sept 2026 📄 Read the review Third-party audits
  • Socket pass 22 Apr 2026
  • Snyk fail 22 Apr 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00140 $0.00966
Opus 5 $0.00070 $0.00483
Sonnet 5 $0.00028 $0.00193
Haiku 4.5 $0.00014 $0.00097

Measured 9d ago against content hash 16f943b1e47f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

paddleocr-doc-parsing scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/paddleocr-doc-parsing/SKILL.md · 139 lines

How it starts

The opening of the file, as written. The whole thing — 139 lines — stays where its author put it; the contents beside it link to each section on GitHub.

PaddleOCR Document Parsing

When to Use This Skill

Use this skill for:

  • Documents with tables (invoices, financial reports, spreadsheets)
  • Documents with mathematical formulas (academic papers, scientific documents)
  • Documents with charts and diagrams
  • Multi-column layouts (newspapers, magazines, brochures)
  • Complex document structures requiring layout analysis

Usage

Basic Document Parsing

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"

Common Options

# 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

Output Format

{
  "jobId": "job-xxx",
  "pages": [
    {
      "markdownText": "# Title\n\nContent...",
      "markdownImages": {
        "img1": "https://...",
        "img2": "https://..."
      },
      "outputImages": {
        "layout1": "https://..."
      }
    }
  ]
}

Important Notes

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

Read the full file on GitHub · 139 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 139 lines · 140 tokens per session scan A 16f943b1e47f

Subscribe to this mod's changes

paddleocr-doc-parsing is a skill published in the GitHub repository PaddlePaddle/PaddleOCR (89,133 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 140 tokens to every session and 966 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

paddleocr-doc-parsing

A document-reading skill that turns complex PDFs and document images into structured Markdown or JSON. It can preserve tables, formulas, figures, and reading order.

Aidenwu0209/PaddleOCR-Skills · 140 tokens

kreuzberg

Extract text, tables, metadata, and images from 91+ document formats (PDF, Office, images, HTML, email, archives, academic) using Kreuzberg. Use when writing code that calls Kreuzberg APIs in Python, Node.js/TypeScript, Rust, or CLI. Covers installation, extraction (sync/async), configuration (OCR, chunking, output…

kreuzberg-dev/kreuzberg-lts · 89 tokens

paddleocr-text-recognition

An OCR tool that reads text from images, photos, screenshots, scans, and scanned PDFs, with optional text locations. OCR means converting text in an image into editable computer text.

Aidenwu0209/PaddleOCR-Skills · 125 tokens

format-specific-extraction

ZIP archive → Security validation → XML parsing → Text + tables + metadata.

kreuzberg-dev/kreuzberg-lts · 3 tokens

paddleocr-skills-setup

Install and configure two PaddleOCR Agent Skills for text recognition and structured document parsing in Codex, Claude Code, GitHub Copilot, Cursor, OpenCode, OpenClaw, and other compatible agents. Use for OCR and image-to-text from screenshots, photos, scans, and PDFs; Chinese/CJK text and bounding boxes…

Aidenwu0209/PaddleOCR-Skills · 102 tokens

paddleocr-mcp

Use the local PaddleOCR MCP SDK v2 server for image OCR, PDF/document parsing, screenshots, tables, and structured text extraction.

Nicvank/paddleocr-mcp · 33 tokens