# OpenCLI Agent Pack: Poppler Utils

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

## What this CLI is for
Extract PDF text, pdf metadata, and document search from the terminal. Built by Poppler. Runs entirely on your machine.

Best for: extract pdf text, pdf metadata, and document search 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 poppler
```

## Verify before real work
```sh
pdftotext -v
```
Expected signal: Poppler pdftotext responds and can extract PDF text.

## Safe starting commands
```sh
pdftotext -v
```

```sh
pdftotext document.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 Poppler Utils (`pdftotext`) for extract pdf text, pdf metadata, and document search 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
