paddleocr-text-recognition

paddleocr-text-recognition is a skill for Claude Code, Codex from PaddlePaddle/PaddleOCR. It costs 125 tokens per session (935 once invoked), scanned A, original, Apache-2.0.

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.

In plain words
What is it for?
Extracting text from local files or URLs, processing selected PDF pages, and saving recognition results as JSON.
Why use it?
It removes the need to copy text manually from visual documents and can return exact text with optional position information.

Skill for Claude CodeCodex

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

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 · 88,893 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.

agentmods
npx agentmods add skills/paddlepaddle/paddleocr/paddleocr-text-recognition
Any agent
npx skills add PaddlePaddle/PaddleOCR --skill paddleocr-text-recognition
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-text-recognition

README.md
[![agentmods](https://agentmods.dev/badge/skills/paddlepaddle/paddleocr/paddleocr-text-recognition.svg)](https://agentmods.dev/skills/paddlepaddle/paddleocr/paddleocr-text-recognition)
Your own site
<a href="https://agentmods.dev/skills/paddlepaddle/paddleocr/paddleocr-text-recognition"><img src="https://agentmods.dev/badge/skills/paddlepaddle/paddleocr/paddleocr-text-recognition.svg" alt="Measured on agentmods" height="20"></a>
Per session 125 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 935 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00125 $0.00935
Opus 5 $0.00063 $0.00467
Sonnet 5 $0.00025 $0.00187
Haiku 4.5 $0.00013 $0.00093

Measured 6d ago against content hash 7696b3c79521, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

paddleocr-text-recognition 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 6d 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-text-recognition/SKILL.md · 131 lines

How it starts

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

PaddleOCR Text Recognition

When to Use This Skill

Use this skill for:

  • Extract text from images (screenshots, photos, scans)
  • Extract text from PDFs or document images when the goal is line/box-level text
  • Extract text from URLs or local files that point to images/PDFs

Do not use for:

  • Documents with tables, formulas, charts, or complex layouts — use Document Parsing instead

Usage

Basic OCR

From URL:

paddleocr api \
  --model_type ocr \
  --file_url "https://example.com/image.png"

From local file:

paddleocr api \
  --model_type ocr \
  --file_path "./document.pdf"

Common Options

# With specific model
paddleocr api \
  --model_type ocr \
  --model PP-OCRv5 \
  --file_path "./report.pdf"

# Disable preprocessing (faster, for flat/well-oriented images)
paddleocr api \
  --model_type ocr \
  --file_path "./document.pdf" \
  --use_doc_unwarping False \
  --use_doc_orientation_classify False

# Save result to file
paddleocr api \
  --model_type ocr \
  --file_url "https://..." \
  --output result.json

# Page ranges
paddleocr api \
  --model_type ocr \
  --file_path "./large.pdf" \
  --page_ranges "1-5,10,15-20"

Output Format

{
  "jobId": "job-xxx",
  "pages": [
    {
      "prunedResult": {
        "rec_texts": ["Line 1", "Line 2"],
        "rec_scores": [0.98, 0.95]
      },
      "ocrImageUrl": "https://..."
    }
  ]
}

Important Notes

Preprocessing options: By default, the API enables document preprocessing (unwarping and orientation classification). For flat, well-oriented images (screenshots, properly scanned documents), you can disable preprocessing for faster results:

paddleocr api --model_type ocr --file_path "./document.pdf" --use_doc_unwarping False --use_doc_orientation_classify False

Keep preprocessing enabled when:

  • The input is a photo of a curved or folded document
  • The document has significant perspective distortion
  • Orientation is uncertain (rotated 90/180/270 degrees)

Read the full file on GitHub · 131 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. 6d ago First seen · 131 lines · 125 tokens per session scan A 7696b3c79521

Subscribe to this mod's changes

paddleocr-text-recognition is a skill published in the GitHub repository PaddlePaddle/PaddleOCR (88,893 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 125 tokens to every session and 935 once invoked, about $0.0006 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

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

paddleocr-doc-parsing

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, 图表…

Aidenwu0209/PaddleOCR-Skills · 140 tokens

paddleocr-text-recognition

Use this skill whenever the user wants text extracted from images, photos, scans, screenshots, or scanned PDFs. Returns exact machine-readable strings with line-level text and optional bbox coordinates. Strong accuracy for CJK, small print, and handwritten text. Trigger terms: OCR, 文字识别, 图片转文字, 截图识字, 提取图中文字, 扫描识字, 识字…

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

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