ocr

ocr is a skill for Claude Code from chrono-meta/forge-harness. It costs 138 tokens per session (1,409 once invoked), scanned A, original, MIT.

An OCR tool for reading text and tables from scanned PDFs, photos, and screenshots. OCR means optical character recognition: software that turns text in an image into editable text, with checks for uncertain fields.

In plain words
What is it for?
Use it to extract receipts, invoices, forms, ledgers, tables, and serial or account numbers, including Korean and English text, from images and PDFs.
Why use it?
Image-based text can misread totals, table cells, and similar characters such as 0 and O. It compares available readings and reports which values were checked, skipped, or still need review.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the cart-ocr plugin — 1 skill shipped together

Good fit Use it to extract receipts, invoices, forms, ledgers, tables, and serial or account numbers, including Korean and English text, from images and PDFs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/chrono-meta/forge-harness/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 chrono-meta/forge-harness --skill ocr
Clone the repo
git clone --depth 1 https://github.com/chrono-meta/forge-harness

Made for: Claude Code.

Or install cart-ocr, the plugin that ships this one along with the rest of its 1 skill.

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/chrono-meta/forge-harness/ocr/github.svg)](https://agentmods.dev/skills/chrono-meta/forge-harness/ocr)
Your own site
<a href="https://agentmods.dev/skills/chrono-meta/forge-harness/ocr"><img src="https://agentmods.dev/badge/skills/chrono-meta/forge-harness/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/chrono-meta/forge-harness/ocr"><img src="https://agentmods.dev/badge/skills/chrono-meta/forge-harness/ocr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 138 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,409 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.
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.00138 $0.01409
Opus 5.5 $0.00055 $0.00564
Sonnet 5.5 $0.00028 $0.00282
Haiku 4.5 $0.00014 $0.00141

Measured 4d ago against content hash 52a39218a041, 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 4d 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.

plugins/cart-ocr/skills/ocr/SKILL.md · 85 lines

How it starts

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

A number read off an image is a guess until something else agrees

Measured before this cartridge: a careful reader that was told to mark unreadable values did mark blotted and creased cells — but on a noisy ledger it misread the printed total in 2 of 2 runs and a row amount in 1, and on look-alike serial codes (I l | 1, O 0) it got 4 of 8 wrong in both runs, all of them without any sign of doubt. So the order is fixed: you read, the scripts check, every field carries a status, nothing unchecked is called verified.

S=<this plugin>/scripts

1. Which engines are here

python3 $S/ocr_check.py engines

ENGINE apple-vision OK (macOS, needs swift) · ENGINE tesseract SKIPPED … (not used by this version even when installed — named so its absence is visible) · model-vision EXTERNAL (you). A SKIPPED engine is reported as SKIPPED in your answer, never silently dropped.

A PDF goes through pdf first, page by page:

python3 $S/ocr_check.py pdf in.pdf pages/

One ROUTE line per page. text-layer — the PDF's own text, compared with the calibrated engine's read of the rendered page: transcribe that page from pages/pageN.layer.txt (still check it against pageN.png). ocr — no text layer, or TEXT-LAYER-DISAGREE (the hidden layer says a different number than the print: a stale or bad OCR layer): read pageN.png like any image and say the layer was not used and why. text-layer-unverified — no engine to compare: use the layer but call it unverified. HARNESS-ERROR pdf SKIPPED (no poppler): say the PDF was not read, or render it some other way and say so — never guess the content. Every page's pageN.read.json is that page's engine file for step 4.

2. You read first, into a typed file — before looking at any engine output

Open the image and write one JSON per document (extract.json):

  • a table: {"kind": "table", "header": [...], "rows": [[...], ...], "total_row": [...] or null} — one cell per column, empty string for an empty cell, the printed total/합계 row in total_row. A receipt or ledger is a table.
  • anything else: {"kind": "lines", "lines": [...]}.
  • copy what is printed: no correcting, no computing, no reformatting digits.
  • a value you cannot read is written [UNREADABLE] (whole cell, or the part: 010-3307-[UNREADABLE]). Never fill a hidden value from context, from a sum, or from a pattern in the other rows.

Read the full file on GitHub · 85 lines

Files

What ships with it

1 file 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. 4d ago First seen · 85 lines · 138 tokens per session scan A 52a39218a041

Subscribe to this mod's changes

ocr is a skill published in the GitHub repository chrono-meta/forge-harness (33 stars, last pushed yesterday), licensed MIT. It adds 138 tokens to every session and 1,409 once invoked, about $0.0006 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-12-01.

Related

ocr compared with skills from other repositories

ocr next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ocrchrono-meta/forge-harnessSkill33yesterdayMITA138Claude Code
pdfnexus-research-lab/nexusSkill167todayApache-2.0A85Claude Code
doc-readerHKUDS/Vibe-TradingSkill40ktodayMITA65Claude Code, Codex
oma-pdffirst-fluke/oh-my-agentSkill1.5ktodayMITA33Claude Code
pdfmateaix/mateclawSkill1.2k3d agoApache-2.0A92Claude Code, Codex
pdf-processorlofcz/LLMTornadoSkill65510d agoMITA39Claude Code, Codex
foundry-hosted-agent-validationmicrosoft/agent-frameworkSkill165todayMITA82Claude Code, Codex