paddleocr-doc-parsing

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

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.

In plain words
What is it for?
Parsing invoices, financial reports, academic papers, charts, scanned documents, and other visually complex files.
Why use it?
It helps when ordinary text extraction loses layout, table cells, mathematical notation, or information from multi-column documents.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: built for openclaw.

Part of the paddleocr-skills plugin — 3 skills shipped together

not rated 34repo 27d ago A scan Socket: passSnyk: failSkillSpector: pass 140 tokens original Apache-2.0

Good fit Parsing invoices, financial reports, academic papers, charts, scanned documents, and other visually complex files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aidenwu0209/paddleocr-skills/paddleocr-doc-parsing
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 Aidenwu0209/PaddleOCR-Skills --skill paddleocr-doc-parsing
Clone the repo
git clone --depth 1 https://github.com/Aidenwu0209/PaddleOCR-Skills

Made for: Claude Code.

Or install paddleocr-skills, the plugin that ships this one along with the rest of its 3 skills.

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/aidenwu0209/paddleocr-skills/paddleocr-doc-parsing/github.svg)](https://agentmods.dev/skills/aidenwu0209/paddleocr-skills/paddleocr-doc-parsing)
Your own site
<a href="https://agentmods.dev/skills/aidenwu0209/paddleocr-skills/paddleocr-doc-parsing"><img src="https://agentmods.dev/badge/skills/aidenwu0209/paddleocr-skills/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/aidenwu0209/paddleocr-skills/paddleocr-doc-parsing"><img src="https://agentmods.dev/badge/skills/aidenwu0209/paddleocr-skills/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 3,872 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. Third-party audits
  • Socket pass 8 May 2026
  • Snyk fail 8 May 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.03872
Opus 5 $0.00070 $0.01936
Sonnet 5 $0.00028 $0.00774
Haiku 4.5 $0.00014 $0.00387

Measured 11d ago against content hash 10e4e3cd479a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, 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 11d ago.

The scan reads SKILL.md. This mod also ships 5 executable files (scripts/layout_caller.py, scripts/lib.py, scripts/optimize_file.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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 · 394 lines

How it starts

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

PaddleOCR Document Parsing Skill

When to Use This Skill

Trigger keywords (routing): Bilingual trigger terms (Chinese and English) are listed in the YAML description above—use that field for discovery and routing.

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
  • Any document requiring structured understanding

Do not use for:

  • Simple text-only extraction
  • Quick OCR tasks where speed is critical
  • Screenshots or simple images with clear text

Installation

Scripts declare their dependencies inline (PEP 723). No separate install step is needed — uv resolves dependencies automatically:

uv run scripts/layout_caller.py --help

How to Use This Skill

Working directory: All uv run scripts/... commands below should be run from this skill's root directory (the directory containing this SKILL.md file).

Basic Workflow

  1. Identify the input source:

    • User provides URL: Use the --file-url parameter
    • User provides local file path: Use the --file-path parameter
  2. Execute document parsing:

    uv run scripts/layout_caller.py --file-url "URL provided by user" --pretty
    

    Or for local files:

    uv run scripts/layout_caller.py --file-path "file path" --pretty
    

    Optional: explicitly set file type:

    uv run scripts/layout_caller.py --file-url "URL provided by user" --file-type 0 --pretty
    
    • --file-type 0: PDF
    • --file-type 1: image
    • If omitted, the type is auto-detected from the file extension. For local files, a recognized extension (.pdf, .png, .jpg, .jpeg, .bmp, .tiff, .tif, .webp) is required; otherwise pass --file-type explicitly. For URLs with unrecognized extensions, the service attempts inference.

Read the full file on GitHub · 394 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 11d ago First seen · 394 lines · 140 tokens per session scan A 10e4e3cd479a

Subscribe to this mod's changes

paddleocr-doc-parsing is a skill published in the GitHub repository Aidenwu0209/PaddleOCR-Skills (34 stars, last pushed 27d ago), licensed Apache-2.0. It adds 140 tokens to every session and 3,872 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-parsing tool configuration for extracting structured Markdown or JSON from complex PDFs and document images, including tables, formulas, charts, and multi-column pages.

PaddlePaddle/PaddleOCR · 140 tokens

paddleocr-text-recognition

An optical character recognition tool configuration for extracting text from images, photos, scans, screenshots, and scanned PDFs. OCR means converting text visible in an image into machine-readable text.

PaddlePaddle/PaddleOCR · 125 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

format-specific-extraction

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

kreuzberg-dev/kreuzberg-lts · 3 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

ade

Parse documents and extract schema-shaped data with the ADE (Agentic Document Extraction) v2 APIs through the ade CLI. A local job-item store makes every run idempotent, resumable, and citable — repeat runs are free, interrupted runs resume, and every answer can cite element ids with visual evidence.

landing-ai/ade-cli · 65 tokens