{"schemaVersion":"opencli.cli.v1","slug":"ocrmypdf","name":"OCRmyPDF","shortName":"ocrmypdf","binaryName":"ocrmypdf","maker":{"slug":"ocrmypdf","name":"OCRmyPDF","type":"org","url":"https://ocrmypdf.readthedocs.io","officialPlatformMaker":false,"featuredBuilder":false},"category":"Docs / Content","description":"OCR PDFs, searchable documents, and document ingestion from the terminal. Built by OCRmyPDF. Runs entirely on your machine.","tagline":"OCR PDFs, searchable documents, and document ingestion from the terminal.","install":{"packageManager":"brew","command":"brew install ocrmypdf","packageName":null,"npmPackage":null,"brewFormula":null,"brewCask":null,"crateName":null,"pypiPackage":null,"goPackage":null,"dockerImage":null},"verify":{"command":"ocrmypdf --version","signal":"OCRmyPDF responds and can process PDFs."},"quickStart":"ocrmypdf scanned.pdf searchable.pdf","exampleWorkflow":["ocrmypdf scanned.pdf searchable.pdf"],"agent":{"readiness":{"label":"Usable with guardrails","score":60,"reasons":["Supports non-interactive/scripted use.","Works well in CI or repeatable automation.","Can run locally with less credential exposure."],"guardrails":["Prefer small commands and ask the agent to summarize plain text output.","Network access is required; avoid leaking secrets in logs."]},"packUrl":"https://opencli.co/cli/ocrmypdf/agent.md","packMarkdown":"# OpenCLI Agent Pack: OCRmyPDF\n\nUse this when an AI agent needs to work with `ocrmypdf`.\n\n## What this CLI is for\nOCR PDFs, searchable documents, and document ingestion from the terminal. Built by OCRmyPDF. Runs entirely on your machine.\n\nBest for: ocr pdfs, searchable documents, and document ingestion from the terminal.\n\n## Agent readiness\nUsable with guardrails (60/100)\n- Supports non-interactive/scripted use.\n- Works well in CI or repeatable automation.\n- Can run locally with less credential exposure.\n\n## Install\n```sh\nbrew install ocrmypdf\n```\n\n## Verify before real work\n```sh\nocrmypdf --version\n```\nExpected signal: OCRmyPDF responds and can process PDFs.\n\n## Safe starting commands\n```sh\nocrmypdf --version\n```\n\n```sh\nocrmypdf scanned.pdf searchable.pdf\n```\n\n## Guardrails for agents\n- Prefer small commands and ask the agent to summarize plain text output.\n- Network access is required; avoid leaking secrets in logs.\n\n## Suggested agent instruction\nYou may use OCRmyPDF (`ocrmypdf`) for ocr pdfs, searchable documents, and document ingestion from the terminal.. First install it if missing, then run the verify command. Start with read-only or inspection commands. Summarize what you found before changing anything. Ask for confirmation before commands that mutate remote state, spend money, deploy, delete data, merge code, or expose secrets.\n\nSource: OpenCLI\n"},"fit":{"bestFor":"ocr pdfs, searchable documents, and document ingestion from the terminal.","useThisIf":"You want docs and content that runs entirely on your machine.","skipIf":"You don't work with docs and content.","whatHappensNext":"Run `ocrmypdf scanned.pdf searchable.pdf` and see what comes back."},"capabilities":{"agentFriendly":true,"supportsJsonOutput":false,"supportsNonInteractive":true,"supportsDryRun":false,"requiresAuth":false,"requiresNetwork":true,"ciFriendly":true,"localFirst":true,"destructivePotential":"low"},"taxonomy":{"useCases":["OCR PDFs","Searchable documents","Document ingestion"],"aliases":[],"keywords":["pdf","ocr","documents","scan"],"tags":[]},"links":{"website":"https://ocrmypdf.readthedocs.io","github":"https://github.com/ocrmypdf/OCRmyPDF","docs":"https://ocrmypdf.readthedocs.io","opencli":"https://opencli.co/cli/ocrmypdf","markdown":"https://opencli.co/cli/ocrmypdf/agent.md","json":"https://opencli.co/cli/ocrmypdf.json"},"metrics":{"githubStars":33817,"latestRelease":"2026-06-08T10:42:38Z","license":"MPL-2.0","metricLabel":"Homebrew installs (30d)","metricValue":4874,"metricSource":"homebrew","metricAsOf":"2026-06-08T11:00:59.744Z"}}