ocring-pdfs SKILL.md skillA
ocring-pdfs from oaustegard/claude-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add oaustegard/claude-skills/ocring-pdfs@v0.1.0Pins v0.1.0 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- oaustegard/claude-skills
- Path
ocring-pdfs/SKILL.md- Versions recorded
- 1
- Latest version
- v0.1.0, committed Sep 12, 2026
- Size
- 4,904 bytes
- Repository stars
- 158
- License
- MIT
Adds a searchable text layer to a scanned PDF with ocrmypdf. Installs the toolchain at runtime in ~18s. Use when a PDF's pages are images and the deliverable is a file to keep, grep, or hand to another tool: 'make this PDF searchable', 'OCR this scan', 'I can't select the text in this PDF', 'search across these scanned pages', 'the pdf skill returned nothing'. Handles non-English scans via tesseract language packs. NOT for charts, diagrams, handwriting, or slide layouts. Route those to…
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# OCRing PDFs `ocrmypdf` writes an invisible text layer over the original page images, so the output file is both the scan you can look at and a document `pdftotext`, `grep`, and `pdfplumber` can read. Rasterize-then-tesseract gives you a `.txt` divorced from the pages; page numbers and coordinates are gone. The toolchain is not in the base container. It installs in 18 seconds (measured 2026-09-12: apt 3s, pip 15s), so install it when a scan shows up rather than carrying it in a container layer. ## Probe before installing ```bash pdftotext in.pdf - | tr -d '\f \n' | wc -c ``` Nonzero means the PDF already has a text layer and is not a scan. Extract with `pdftotext` or `pdfplumber` and stop. Running OCR on it wastes a minute, and with `--force-ocr` it replaces exact embedded text with a lossy reading of a raster of itself. A small nonzero count (tens of characters across many pages) is the mixed case: a born-digital cover page in front of scanned body pages, or a scan whose producer stamped a header. `--skip-text` handles it. ## Install ```bash sh scripts/ensure_ocr.sh # English sh scripts/ensure_ocr.sh nor deu # plus Norwegian and German ``` …
Read the whole file at its exact version.
How to install
mdr add oaustegard/claude-skills/ocring-pdfs@sha256:74e8cf721e2c0d5fThe line at the top of this page pins the label v0.1.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_poi4wmexmfy7nuul)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Sep 12, 2026.
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (4904 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
oaustegard/claude-skills · 158 stars · license MIT · pushed 2026-11-07 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_poi4wmexmfy7nuul GET https://markdownregistry.com/api/v1/resolve?ref=oaustegard/claude-skills/ocring-pdfs GET https://markdownregistry.com/api/v1/blob/74e8cf721e2c0d5f40ef36b3e5644eacf7f6f66bb38cba9c9564b11f8a129746
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.