ocr

Solid

ALWAYS load this skill before reading text from a local image or PDF (including "what does this image/pdf say?", scans, screenshots, CVs, invoices, tables). Run the bundled CLI `.noob/skills/ocr/ocr extract <path> --json` to Markdown (self-contained binary, DeepSeek-OCR-2). Never tesseract, pdftotext, pymupdf, pip, uv, apt/apk, or vision guessing for document text.

Data & Documents 1 stars 0 forks Updated today MIT

Install

View on GitHub

Quality Score: 80/100

Stars 20%
10
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# ocr Instructions only. Every action is the **bundled** `ocr` CLI under the skill pack (self-contained binary). One process, JSON on `--json`, then exit. On `ok:false` follow `error.hint`. Never invent document text. Stdio skill, not MCP. ## Hard ban (install tools) **Never run** `pip`, `pip3`, `python -m pip`, `uv`, `uvx`, `uv pip`, `uv sync`, `apt`, `apk`, or any package installer for OCR. The pack already ships `dist/ocr`. If the binary is missing or fails, stop and report that; do not bootstrap an environment. ## Resolve CLI once First hit wins; reuse for the session: ``` test -x .noob/skills/ocr/ocr && echo .noob/skills/ocr/ocr test -x ./ocr && echo ./ocr command -v ocr-skill ``` Then only: ``` <path-you-resolved> extract /abs/file.pdf --json ``` No init. No PYTHONPATH. No venv. If the user did not give a path, list the workspace and OCR every image/PDF found. ## Verbs | Intent | Verb | |---|---| | Read image/PDF text | `extract <path>... --json` | | Next page of a long result | `open <handle> --page N --json` | | Engine broken? | `doctor --json` (only after extract fails) | ### extract ``` ocr extract /abs/path/file.pdf --json ocr extract /abs/path/shot.png --json ocr extract a.pdf b.png --json ``` Optional: `--mode markdown|free|figure|ocr` (default `markdown`). Prefer absolute paths. On success, use `data.documents[]`: - `content` - fenced page for context (prefer this) - `markdown` - full unfenced body - `handle` - for `open` if `has_more` - `has_mo...

Details

Author
hec-ovi
Repository
hec-ovi/ocr-skill
Created
yesterday
Last Updated
today
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category