# Send PaddleOCR Document Parsing V2 to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "paddleocr-doc-parsing-v2",
    "name": "PaddleOCR Document Parsing V2",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/hioTEC/paddleocr-doc-parsing-v2",
    "canonicalUrl": "https://clawhub.ai/hioTEC/paddleocr-doc-parsing-v2",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/paddleocr-doc-parsing-v2",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=paddleocr-doc-parsing-v2",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "_meta.json",
      "scripts/paddleocr_parse.py",
      "scripts/paddleocr_parse.sh"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/paddleocr-doc-parsing-v2"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/paddleocr-doc-parsing-v2",
    "downloadUrl": "https://openagent3.xyz/downloads/paddleocr-doc-parsing-v2",
    "agentUrl": "https://openagent3.xyz/skills/paddleocr-doc-parsing-v2/agent",
    "manifestUrl": "https://openagent3.xyz/skills/paddleocr-doc-parsing-v2/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/paddleocr-doc-parsing-v2/agent.md"
  }
}
```
## Documentation

### PaddleOCR Document Parsing

Parse images and PDF files using PaddleOCR's API. Supports both synchronous and asynchronous parsing modes with structured output.

### Resource Links

ResourceLinkOfficial Websitehttps://www.paddleocr.comAPI Documentationhttps://ai.baidu.com/ai-doc/AISTUDIO/Cmkz2m0maGitHubhttps://github.com/PaddlePaddle/PaddleOCR

### Key Features

Multi-format support: PDF and image files (JPG, PNG, BMP, TIFF)
Two parsing modes:

Sync mode: Fast response for small files (<600s timeout)
Async mode: For large files with progress polling


Layout analysis: Automatic detection of text blocks, tables, formulas
Multi-language: Support for 110+ languages
Structured output: Markdown format with preserved document structure

### Setup

Visit PaddleOCR to obtain your API credentials
Set environment variables:

export PADDLEOCR_ACCESS_TOKEN="your_token_here"
export PADDLEOCR_API_URL="https://your-endpoint.aistudio-app.com/layout-parsing"

# Optional: For async mode
export PADDLEOCR_JOB_URL="https://your-job-endpoint.aistudio-app.com/api/v2/ocr/jobs"
export PADDLEOCR_MODEL="PaddleOCR-VL-1.5"

### Sync Mode (Default)

For small files and quick processing:

# Parse local image
{baseDir}/paddleocr_parse.sh document.jpg

# Parse PDF
{baseDir}/paddleocr_parse.sh -t pdf document.pdf

# Parse from URL
{baseDir}/paddleocr_parse.sh https://example.com/document.jpg

# Save output to file
{baseDir}/paddleocr_parse.sh -o result.json document.jpg

# Verbose output
{baseDir}/paddleocr_parse.sh -v document.jpg

### Async Mode

For large files with progress tracking:

# Parse large PDF with async mode
{baseDir}/paddleocr_parse.sh --async large-document.pdf

# Parse from URL with async mode
{baseDir}/paddleocr_parse.sh --async -t pdf https://example.com/doc.pdf

# Save async result to file
{baseDir}/paddleocr_parse.sh --async -o result.json document.pdf

### Using Python Script Directly

# Sync mode
python3 {baseDir}/paddleocr_parse.py document.jpg

# Async mode
python3 {baseDir}/paddleocr_parse.py --async-mode document.pdf

# With output file
python3 {baseDir}/paddleocr_parse.py -o result.json --async-mode document.pdf

### Response Structure

{
  "logId": "unique_request_id",
  "errorCode": 0,
  "errorMsg": "Success",
  "result": {
    "layoutParsingResults": [
      {
        "prunedResult": [...],
        "markdown": {
          "text": "# Document Title\\n\\nParagraph content...",
          "images": {}
        },
        "outputImages": [...],
        "inputImage": "http://input-image"
      }
    ],
    "dataInfo": {...}
  }
}

Important Fields:

prunedResult - Contains detailed layout element information including positions, categories, etc.
markdown - Stores the document content converted to Markdown format with preserved structure and formatting.

### Mode Selection Guide

Use CaseRecommended ModeSmall images (< 10MB)SyncSingle page PDFsSyncLarge PDFs (> 10MB)AsyncMulti-page documentsAsyncBatch processingAsyncQuick text extractionSync

### Error Handling

The script will exit with code 1 and print error message for:

Missing required environment variables
File not found
API authentication failures
Invalid JSON responses
API error codes (non-zero)

### Quota Information

See official documentation: https://ai.baidu.com/ai-doc/AISTUDIO/Xmjclapam
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: hioTEC
- Version: 1.0.4
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-30T16:55:25.780Z
- Expires at: 2026-05-07T16:55:25.780Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/paddleocr-doc-parsing-v2)
- [Send to Agent page](https://openagent3.xyz/skills/paddleocr-doc-parsing-v2/agent)
- [JSON manifest](https://openagent3.xyz/skills/paddleocr-doc-parsing-v2/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/paddleocr-doc-parsing-v2/agent.md)
- [Download page](https://openagent3.xyz/downloads/paddleocr-doc-parsing-v2)