ocr

ocr is a skill for Claude Code, Codex from radif-ru/ai-multi-agent-system. It costs 44 tokens per session (547 once invoked), scanned A, original, MIT.

A decision guide for choosing between OCR, which reads text from an image, and visual description, which explains what a scene or object shows. It also covers cases where both kinds of understanding are needed.

In plain words
What is it for?
Use it for screenshots, scanned documents, receipts, tables, schedules, photos of scenes, and images that contain both important text and visual context. For PDFs, it directs processing to the document-reading tool.
Why use it?
It prevents using a visual description when exact transcription is needed, or OCR when the important information is the scene itself. This makes image-processing requests more accurate.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for screenshots, scanned documents, receipts, tables, schedules, photos of scenes, and images that contain both important text and visual context. For PDFs, it directs processing to the document-reading tool.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/radif-ru/ai-multi-agent-system/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 radif-ru/ai-multi-agent-system --skill ocr
Clone the repo
git clone --depth 1 https://github.com/radif-ru/ai-multi-agent-system

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/radif-ru/ai-multi-agent-system/ocr/github.svg)](https://agentmods.dev/skills/radif-ru/ai-multi-agent-system/ocr)
Your own site
<a href="https://agentmods.dev/skills/radif-ru/ai-multi-agent-system/ocr"><img src="https://agentmods.dev/badge/skills/radif-ru/ai-multi-agent-system/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/radif-ru/ai-multi-agent-system/ocr"><img src="https://agentmods.dev/badge/skills/radif-ru/ai-multi-agent-system/ocr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 547 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.00044 $0.00547
Opus 5.5 $0.00018 $0.00219
Sonnet 5.5 $0.00009 $0.00109
Haiku 4.5 $0.00004 $0.00055

Measured 3mo ago against content hash d5f3ee7b3f32, 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 3mo 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.

app/skills/ocr/SKILL.md · 47 lines

What it actually says

Skill: ocr

Определяет, когда использовать OCR для точной транскрипции текста, а когда Vision для описания сцены.

Когда использовать только ocr_image

  • Скриншот переписки/диалога — нужно точно прочитать текст.
  • Скан документа/чека/квитанции — задача прочитать цифры и текст.
  • Таблица или расписания — точная транскрипция содержимого.
  • Любое изображение, где основная задача — получить точный текст.

Когда использовать только describe_image

  • Фото сцены/объекта без текста (пейзаж, здание, человек, животное).
  • Фото с малозначительной подписью (небольшой текст на фоне).
  • Запрос на описание визуального содержания («что на фото?», «опиши объект»).
  • Ситуации, где важен визуальный контекст, а не точный текст.

Когда использовать describe_image + ocr_image

  • Фото со смешанным содержимым (сцена с важными надписями/табличками).
  • Когда нужно и описание сцены, и точная транскрипция текста.
  • Фото с неизвестным содержанием — сначала описать через Vision, затем при необходимости применить OCR к областям с текстом.

Для PDF документов

Для PDF документов используй tool read_document — он сам решит, нужен ли OCR на основе количества текста в PDF. Не вызывай ocr_image напрямую для страниц PDF.

Порядок действий

  1. Если пользователь явно просит «прочитать текст» или «распознать» — используй ocr_image.
  2. Если пользователь просит «описать» или «что на фото» — используй describe_image.
  3. Если фото содержит и сцену, и текст — используй оба инструмента последовательно.
  4. Для PDF всегда используй read_document.

Заметки

  • ocr_image работает только с изображениями в директории tmp/.
  • OCR требует установленного tesseract-ocr (опциональная зависимость).
  • Если OCR не установлен или не сработал — ocr_image вернёт сообщение об ошибке.
  • Кеш OCR сохраняется в <file>.ocr.txt для ускорения повторных вызовов.
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. 3mo ago First seen · 47 lines · 44 tokens per session scan A d5f3ee7b3f32

Subscribe to this mod's changes

ocr is a skill published in the GitHub repository radif-ru/ai-multi-agent-system (6 stars, last pushed 2mo ago), licensed MIT. It adds 44 tokens to every session and 547 once invoked, about $0.0002 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-31.

Related

ocr compared with skills from other repositories

ocr next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ocrradif-ru/ai-multi-agent-systemSkill62mo agoMITA44Claude Code, Codex
docxMRWillisT/PullNexusSkill87mo agononeA168Claude Code
xlsxMRWillisT/PullNexusSkill87mo agononeA201Claude Code
pptxMRWillisT/PullNexusSkill87mo agononeA152Claude Code
pdfMRWillisT/PullNexusSkill87mo agononeA92Claude Code
knowledge_basesiddsachar/row-botSkill1.7ktodayApache-2.0A19Claude Code, Codex
pdf-processingTencent/WeKnoraSkill39ktodaynoneA36Claude Code, Codex