# OpenCLI Agent Pack: OCRmyPDF

Use this when an AI agent needs to work with `ocrmypdf`.

## What this CLI is for
OCR PDFs, searchable documents, and document ingestion from the terminal. Built by OCRmyPDF. Runs entirely on your machine.

Best for: ocr pdfs, searchable documents, and document ingestion from the terminal.

## Agent readiness
Usable with guardrails (60/100)
- Supports non-interactive/scripted use.
- Works well in CI or repeatable automation.
- Can run locally with less credential exposure.

## Install
```sh
brew install ocrmypdf
```

## Verify before real work
```sh
ocrmypdf --version
```
Expected signal: OCRmyPDF responds and can process PDFs.

## Safe starting commands
```sh
ocrmypdf --version
```

```sh
ocrmypdf scanned.pdf searchable.pdf
```

## Guardrails for agents
- Prefer small commands and ask the agent to summarize plain text output.
- Network access is required; avoid leaking secrets in logs.

## Suggested agent instruction
You 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.

Source: OpenCLI
