PaddleOCR agent skills

PaddleOCR Agent Skills

Two official PaddleOCR skills: text recognition from images and PDFs, and parsing complex documents into Markdown

SkillMedium risk

paddlepaddle/paddleocr

Install

pip install "paddleocr>=3.7.0"
npx skills add PaddlePaddle/PaddleOCR -g --skill paddleocr-text-recognition -y
npx skills add PaddlePaddle/PaddleOCR -g --skill paddleocr-doc-parsing -y

Install only the skills you need. Set PADDLEOCR_ACCESS_TOKEN afterwards.

This is third-party code. Review the repository files before installing.

What it does

The paddleocr-text-recognition skill extracts line-level text with bounding boxes and confidence from screenshots, photos, scans and PDFs. The paddleocr-doc-parsing skill handles complex layouts: tables, formulas as LaTeX, charts, seals, multi-column text and reading order, returning Markdown or JSON. Both skills call the paddleocr api command, which uses the PaddleOCR cloud API, and tell the agent which skill to pick and how to handle errors.

Who it is for. For people who need an agent to pull text and tables out of scans, invoices, reports and scientific PDFs.

Good fit when

  • You need text from a screenshot, photo or scan
  • You need to turn a PDF with tables and formulas into Markdown
  • You need a multi-column layout parsed in the right reading order

Not a fit when

  • Documents must not be sent to an external cloud service
  • The PDF already has a text layer and plain text extraction is enough

Example request

Parse this report PDF and return the main text and all tables as Markdown

Limitations

Requires Python 3.9+, paddleocr 3.7.0 or newer and a PADDLEOCR_ACCESS_TOKEN from Baidu AI Studio. Files are processed by the cloud API and quotas apply. Availability of AI Studio and its sign-up from Russia is unverified.

How to disable. Delete the paddleocr-text-recognition and paddleocr-doc-parsing folders from the agent's skills directory and remove PADDLEOCR_ACCESS_TOKEN from settings.

Security check

  • Sends documents to the PaddleOCR cloud API
  • Uses an AI Studio access token

README in short

The skills documentation explains how to choose between the two skills, the requirements (Python, the paddleocr package, an AI Studio token) and three install options: the skills CLI, clawhub for OpenClaw and manual copying. It shows how to set PADDLEOCR_ACCESS_TOKEN in .claude/settings.local.json and in OpenClaw, with example prompts. The skills live in the skills folder of the main PaddleOCR repository, Apache-2.0 licensed.

SKILL.md

---
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
    install:
      - kind: uv
        package: paddleocr
        bins: [paddleocr]
---

# 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:

```bash
paddleocr api \
  --model_type doc_parsing \
  --file_url "https://example.com/report.pdf"
```

FAQ

Which skill should I pick?

Use text-recognition for plain text with boxes and doc-parsing for tables, formulas and preserved document structure.

What if npx skills add times out?

The repository is large: clone it and install the skills from the local ./PaddleOCR/skills/... path.

Editors’ pick

Microsoft's utility and MCP server that turn PDF, Word, Excel, PowerPoint, HTML and other files into Markdown for models

MCP serverMedium risk184K
Editors’ pick

Anthropic's official skill examples: docx, pdf, pptx and xlsx documents, design, MCP builder and the Agent Skills spec

SkillMedium risk176.3K
Editors’ pick

A skill that builds editable PPTX decks from PDF, DOCX, URLs and Markdown with native shapes, charts and animations

SkillMedium risk54.3K
Editors’ pick

Anthropic's legal plugin suite: contracts, privacy, employment, IP, litigation, AI governance and legal education

PluginMedium risk9.4K