ocr

ocr is a skill for Claude Code, Codex from OpenCoven/coven. It costs 63 tokens per session (735 once invoked), scanned A, original, MIT.

A workflow for extracting written text from screenshots, scanned documents, images, and PDFs. OCR, or optical character recognition, turns text visible in an image into editable text.

In plain words
What is it for?
Use it to transcribe screenshots and image files, extract text from scanned PDFs, compare OCR results, or obtain line-level confidence and position data.
Why use it?
Text in an image or scan cannot be searched or copied reliably without recognition. This provides a repeatable way to extract it as plain text, Markdown, or structured JSON.

Skill for Claude CodeCodex

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

Good fit Use it to transcribe screenshots and image files, extract text from scanned PDFs, compare OCR results, or obtain line-level confidence and position data.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/opencoven/coven/ocr
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.

Any agent
npx skills add OpenCoven/coven --skill ocr
Clone the repo
git clone --depth 1 https://github.com/OpenCoven/coven

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 ocr

README.md
[![agentmods](https://agentmods.dev/badge/skills/opencoven/coven/ocr/github.svg)](https://agentmods.dev/skills/opencoven/coven/ocr)
Your own site
<a href="https://agentmods.dev/skills/opencoven/coven/ocr"><img src="https://agentmods.dev/badge/skills/opencoven/coven/ocr/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ocr

Your own site · 80×15
<a href="https://agentmods.dev/skills/opencoven/coven/ocr"><img src="https://agentmods.dev/badge/skills/opencoven/coven/ocr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 735 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00063 $0.00735
Opus 5.5 $0.00025 $0.00294
Sonnet 5.5 $0.00013 $0.00147
Haiku 4.5 $0.00006 $0.00073

Measured 1mo ago against content hash e94193782e06, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ocr 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 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/ocr.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/ocr/SKILL.md · 71 lines

How it starts

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

OCR

Use this skill to extract text from local screenshots, images, scans, and PDFs with a repeatable workflow.

Quick start

Prefer the bundled helper when the user needs exact-ish text extraction from a local file:

python3 ~/.openclaw/workspace/skills/ocr/scripts/ocr.py <path> --format text

Useful variants:

# Structured output with per-line confidence/bounding boxes
python3 ~/.openclaw/workspace/skills/ocr/scripts/ocr.py screenshot.png --format json

# Markdown output from a scanned PDF, OCRing up to the first 5 pages
python3 ~/.openclaw/workspace/skills/ocr/scripts/ocr.py scan.pdf --force-ocr --max-pages 5 --format markdown

# Multiple languages for macOS Vision OCR
python3 ~/.openclaw/workspace/skills/ocr/scripts/ocr.py receipt.jpg --languages en-US,es-ES --format text

Workflow

  1. Locate the file. If the image/PDF is attached in chat, use the local attachment path the runtime provides.
  2. For a single image or scanned PDF, run scripts/ocr.py.
  3. For text-native PDFs, let ocr.py use pdftotext first; only use --force-ocr when the PDF is a scan or the extracted text is wrong.
  4. Inspect output before relying on it. OCR can confuse punctuation, columns, totals, handwriting, low contrast, and small text.
  5. If the user needs high confidence, run JSON output and mention low-confidence lines or ambiguous characters.
  6. If the user asks for a clean transcript, lightly normalize whitespace but do not silently rewrite wording.

Tool choices

  • Use scripts/ocr.py for local images/PDFs and repeatable extraction.
  • Use the model image tool when the user asks for visual understanding, layout interpretation, or when OCR output alone is not enough.
  • Use pdftotext directly only for text-native PDFs when no OCR is needed.

Script behavior

scripts/ocr.py supports:

  • image inputs: PNG, JPEG, TIFF, BMP, GIF, WebP, HEIC/HEIF
  • PDF inputs: embedded text via pdftotext, scanned pages via pdftoppm + macOS Vision OCR
  • directory inputs: processes supported files in sorted order
  • output formats: text, json, markdown

Read the full file on GitHub · 71 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 71 lines · 63 tokens per session scan A e94193782e06

Subscribe to this mod's changes

ocr is a skill published in the GitHub repository OpenCoven/coven (72 stars, last pushed today), licensed MIT. It adds 63 tokens to every session and 735 once invoked, about $0.0003 per session on Opus 5.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

pdf

Read, extract, split, merge, rotate, watermark, fill, OCR, or create PDF files with verification of page counts and text extraction.

Hmbown/CodeWhale · 31 tokens

pdf-editing

Use the bundled tools; do not install nano-pdf, pypdf, qpdf, Poppler, or another PDF package during a task.

Orkas-AI/Orkas · 3 tokens

pdfcraft

Headless PDF work with PdfCraft, provisioned on demand by pi-craft - combine, split, extract, rotate, delete and reorder pages, read text, render a page to png, audit faux redactions, script its 163 tools. Use for "merge these two PDFs", "extract pages 1 and 3 from this PDF", "rotate page 1 and drop page 2", "what…

BlackBeltTechnology/pi-agent-dashboard · 92 tokens

craft-data-visual

Turn data into a finished visual with ArtCraft apps - GridCraft workbook with a formula-error read-back, chart, VectorCraft/DesignCraft infographic, DeckCraft slide; verified and resumable. Use for "make a chart from this spreadsheet", "build an infographic from these numbers", "put the revenue chart on a slide".

BlackBeltTechnology/pi-agent-dashboard · 71 tokens

pdf-processor

Extracts text and tables from PDF files, fills forms, and merges documents. Use when working with PDF files or when the user mentions PDFs, forms, or document extraction.

lofcz/LLMTornado · 39 tokens

craft-deck

Turn an outline into a presentation with ArtCraft apps - DeckCraft slides from the outline, optional transition previews, a PdfCraft handout; or, on request, an HTML deck with deck3d instead; verified and resumable. Use for "make a deck from this outline", "build a 6-slide presentation about our Q3 results", "export…

BlackBeltTechnology/pi-agent-dashboard · 90 tokens