Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add commands/coltonbearden/carrel/ocrgit clone --depth 1 https://github.com/coltonbearden/carrelWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00020 | $0.00473 |
| Opus 5 | $0.00010 | $0.00236 |
| Sonnet 5 | $0.00004 | $0.00095 |
| Haiku 4.5 | $0.00002 | $0.00047 |
Grade B, and why
ocr scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
Afterwards, tell the user where the output landed. For `--to txt/md`, offer to show or summarize the extracted text. Exit code 3 means tesseract/ocrmypdf is missing — relay the install hint from stderr (`sudo apt install What it actually says
OCR the file the user asked about: $ARGUMENTS
Run the carrel CLI via Bash. Map the user's request onto these real flags of carrel ocr (verify with carrel ocr --help if unsure — never invent flags):
carrel ocr SRC [-o OUT] [--lang LANG] [--to txt|pdf|md] [--redo] [--force]
SRC: a jpg/png image (runs through tesseract) or a PDF (runs through ocrmypdf; born-digital pages pass through untouched).--to txt|pdf|md(default txt): extracted text, or a searchable PDF layer.-o/--out PATH: output file; default is SRC with the target extension (SRC.ocr.pdffor pdf → pdf).--lang LANG(default eng): tesseract language codes, e.g.engoreng+deu— set this when the user mentions a non-English document.--redo: re-OCR PDF pages even if they already have text (only when the user says the existing text layer is bad).--force: only when the user explicitly wants an existing output overwritten.
Afterwards, tell the user where the output landed. For --to txt/md, offer to show or summarize the extracted text. Exit code 3 means tesseract/ocrmypdf is missing — relay the install hint from stderr (sudo apt install tesseract-ocr / ocrmypdf). Exit code 4 means the input type isn't OCR-able.
Requires the carrel CLI on PATH. If carrel is not found, tell the user to install it with uv tool install <path-to-carrel-repo> (see the repo's INSTALL notes), or run it as uv run carrel ... from the carrel repo root.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- yesterday First seen · 25 lines · 20 tokens per session scan B ba6a3b5b914c
ocr is a command published in the GitHub repository coltonbearden/carrel (1 stars, last pushed 21d ago), licensed MIT. It adds 20 tokens to every session and 473 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other commands, from other repositories
cv-make
Render the active résumé through the active template into a self-contained HTML file, ready to open and Save as PDF.
audit-pdf
스캔 PDF 품질 정밀 진단 - 페이지 누락/순서/회전/잘림 검출.
receipt
Upload and process receipt images or PDF invoices, extract line items, and match to bank transactions.
derive-tests
Turn documented intent into a test-coverage map — inventory the tests that exist today, derive use-case cases from the system docs, separate existing coverage from proposed tests and unverified gaps, mark each unit / guarded-live / manual, and recommend a green-before-merge CI gate.
plan-launch
Create a full go-to-market strategy — beachhead segment, ICP, messaging, channels, and launch plan.
update
Check for updates and install the latest version.