Catalogskills.sh · mr-shaper

ocr

OCR skill for extracting text from images and PDFs. Use when you need to read text from screenshots, photos, scanned documents, or any image file. Supports Chinese, English, and 100+ languages.

Review advisedVerified hub476 installs

Savant verdict: Review advised

Security analysis or source-hub review identified patterns requiring attention.

Live evaluation

Not evaluated yet. Workspaces can request a live evaluation.

Security assessment

Scan pending.

Structure

  • Ships 2 executable scriptsscripts/ocr.py, scripts/setup_check.py. Review what they do before enabling the skill for agents with tool access.
  • No license declaredConfirm you may reuse this skill before importing it into your repository.
  • The source hub's security checks flagged this skillSocket: warn (1 alert: gptSecurity)

SKILL.md

---
name: ocr
description: OCR skill for extracting text from images and PDFs. Use when you need to read text from screenshots, photos, scanned documents, or any image file. Supports Chinese, English, and 100+ languages.
---

# OCR Skill

## Usage

To extract text from an image or PDF, run:

```bash
python3 "/Users/mrshaper/Library/Application Support/com.differentai.openwork/workspaces/starter/.opencode/skills/paddle-ocr/scripts/ocr.py" "/path/to/image.png"
```

## Options

| Option | Description |
|--------|-------------|
| `--prompt "text"` | Custom prompt (e.g., "Extract table as markdown") |
| `--fast` | Use faster PaddleOCR instead of DeepSeek-OCR |
| `--json` | Output as JSON format |

## Examples

```bash
# Basic OCR
python3 scripts/ocr.py image.png

# Extract table as markdown
python3 scripts/ocr.py table.png --prompt "Extract this table as markdown"

# Fast mode
python3 scripts/ocr.py image.png --fast

# PDF OCR
python3 scripts/ocr.py document.pdf
```

## Supported Formats

Images: PNG, JPG, JPEG, BMP, GIF, WEBP, TIFF
Documents: PDF