diillson/chatcli/ocr

Claude Code and agent skill by diillson/chatcli

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Extract text from images and scanned PDFs using local OCR (Tesseract). Keyless, offline. Use when asked to "read text from this image", "OCR this", "extract text from a screenshot/scan", or given an image with text.

Install

npx vskill@latest install diillson/chatcli/ocr

SKILL.md

OCR (image / scan → text)

Local, offline OCR via Tesseract — no API, no upload.

Step 0 — Detect

  • macOS / Linux: command -v tesseract pdftoppm 2>/dev/null; tesseract --list-langs 2>/dev/null
  • Windows: Get-Command tesseract -ErrorAction SilentlyContinue

Install: brew install tesseract / apt install tesseract-ocr / choco install tesseract. Language packs: tesseract-ocr-por (Portuguese), -eng (English), etc.

Image → text

tesseract input.png stdout -l eng
tesseract input.jpg stdout -l por+eng # multi-language

Write to a file with tesseract input.png out → out.txt, then read with @read.

Scanned PDF → text

Rasterize pages first, then OCR each:

pdftoppm -png -r 300 scan.pdf page
for f in page-*.png; do tesseract "$f" stdout -l por+eng; done > scan.txt

(On Windows, loop with PowerShell Get-ChildItem page-*.png | % { tesseract $_.Name stdout -l por+eng }.)

Tips for accuracy

  • Use 300 DPI for scans; higher helps small text.
  • -l must match the document language — pick por for Portuguese, or it mangles accents.
  • For skewed/noisy scans, mention that pre-processing (deskew/threshold via ImageMagick) improves results.

Rules

  • Choose the language pack from the document, not the UI locale.
  • Present the extracted text, then offer to summarize/translate/feed it to another skill.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/diillson/chatcli/ocr/badge)](https://verified-skill.com/skills/diillson/chatcli/ocr)

Something wrong with this skill or its page? Tell us.