# Send WiseDiag MedOCR 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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "wisediag-medocr",
    "name": "WiseDiag MedOCR",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/wisediag/wisediag-medocr",
    "canonicalUrl": "https://clawhub.ai/wisediag/wisediag-medocr",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/wisediag-medocr",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=wisediag-medocr",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "requirements.txt",
      "scripts/wiseocr.py",
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "wisediag-medocr",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-11T02:48:17.217Z",
      "expiresAt": "2026-05-18T02:48:17.217Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=wisediag-medocr",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=wisediag-medocr",
        "contentDisposition": "attachment; filename=\"wisediag-medocr-1.0.26.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "wisediag-medocr"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/wisediag-medocr"
    },
    "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/wisediag-medocr",
    "downloadUrl": "https://openagent3.xyz/downloads/wisediag-medocr",
    "agentUrl": "https://openagent3.xyz/skills/wisediag-medocr/agent",
    "manifestUrl": "https://openagent3.xyz/skills/wisediag-medocr/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/wisediag-medocr/agent.md"
  }
}
```
## Documentation

### ⚠️ Privacy Warning

IMPORTANT - READ BEFORE INSTALLING:

This skill uploads your files to WiseDiag's cloud servers for OCR processing.

Do NOT use with sensitive or confidential documents unless:

You trust WiseDiag's data handling policies
You accept that file contents will be transmitted and processed remotely

For sensitive documents, use offline/local OCR tools instead.

### WiseOCR Skill (powered by WiseDiag)

A high-accuracy OCR tool that converts PDF files into Markdown format. After processing, the Markdown result is automatically saved to disk — no additional saving is needed.

### Installation

pip install -r requirements.txt

### 🔑 API Key Setup (Required)

Get your API key: 👉 https://console.wisediag.com/apiKeyManage

The API key MUST be set as an environment variable. The script reads it automatically.

export WISEDIAG_API_KEY=your_api_key

### How to Process a PDF (Step-by-Step)

NEVER call any API or HTTP endpoint directly. ONLY use the script below.

Step 1: Set the API key (if not already set):

export WISEDIAG_API_KEY=your_api_key

Step 2: Run the script with the input PDF file:

cd scripts
python3 wiseocr.py -i "/path/to/input_filename.pdf"

IMPORTANT: If the input file has been copied or renamed (e.g. to a temp path), always pass -n with the original filename (without extension) so the output file is named correctly:

python3 wiseocr.py -i "/tmp/ocr_input.pdf" -n "my_report"
# Output saved to: ~/.openclaw/workspace/WiseOCR/my_report.md

The Markdown result is saved to ~/.openclaw/workspace/WiseOCR/{name}.md automatically. No additional saving is needed.

### Arguments

FlagDescription-i, --inputInput PDF file path (required)-n, --nameOriginal filename without extension for output (recommended when input file is renamed/copied)-o, --outputOutput directory (default: ~/.openclaw/workspace/WiseOCR)--dpiPDF rendering DPI, 72-600 (default: 200)

### Data Privacy

What happens to your files:

Files are uploaded to WiseDiag's OCR API
Files are processed on WiseDiag servers
Processing results are returned to you
Files are not permanently stored on WiseDiag servers

For sensitive documents, use offline/local OCR tools instead.

### License

MIT
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: wisediag
- Version: 1.0.21
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-11T02:48:17.217Z
- Expires at: 2026-05-18T02:48:17.217Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/wisediag-medocr)
- [Send to Agent page](https://openagent3.xyz/skills/wisediag-medocr/agent)
- [JSON manifest](https://openagent3.xyz/skills/wisediag-medocr/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/wisediag-medocr/agent.md)
- [Download page](https://openagent3.xyz/downloads/wisediag-medocr)