ocr-engineer

ocr-engineer is an agent for Claude Code from jamon8888/hacienda-private. It costs 14 tokens per session (267 once invoked), scanned A, original, MIT.

An agent focused on developing and connecting OCR pipelines, which turn text in images or scanned documents into machine-readable text. It also covers rebuilding tables and supporting several OCR backends.

In plain words
What is it for?
Use it when changing OCR code, adding or maintaining OCR backends, extracting text and tables, managing languages, or debugging the OCR pipeline.
Why use it?
It provides project-specific guidance for keeping OCR processing, language support, table output, caching, and external backends consistent.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it when changing OCR code, adding or maintaining OCR backends, extracting text and tables, managing languages, or debugging the OCR pipeline.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/jamon8888/hacienda-private/ocr-engineer
Install

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.

Clone the repo
git clone --depth 1 https://github.com/jamon8888/hacienda-private

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ocr-engineer

README.md
[![agentmods](https://agentmods.dev/badge/agents/jamon8888/hacienda-private/ocr-engineer.svg)](https://agentmods.dev/agents/jamon8888/hacienda-private/ocr-engineer)
Your own site
<a href="https://agentmods.dev/agents/jamon8888/hacienda-private/ocr-engineer"><img src="https://agentmods.dev/badge/agents/jamon8888/hacienda-private/ocr-engineer.svg" alt="Measured on agentmods" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 267 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What 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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00014 $0.00267
Opus 5 $0.00007 $0.00133
Sonnet 5 $0.00003 $0.00053
Haiku 4.5 $0.00001 $0.00027

Measured 7d ago against content hash 0b7182081dad, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

ocr-engineer scanned grade A with 0 findings 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 7d ago.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.ai-rulez/domains/ocr-integration/agents/ocr-engineer.md · 17 lines

What it actually says

When working on OCR code:

  1. Key source paths: crates/xberg/src/ocr/ (processor.rs, tesseract_backend.rs, hocr.rs, cache.rs, language_registry.rs, table/)
  2. The OCR pipeline: Image Detection -> Preprocessing (denoise, deskew, binarize) -> Backend Selection -> OCR Execution -> hOCR Parsing -> Table Reconstruction -> Caching -> Return
  3. Backends: Tesseract (default, native C FFI via leptess), PaddleOCR (ONNX via ort), Candle OCR, VLM OCR, and custom plugin backends
  4. For plugin or external-process backends: use tokio::task::spawn_blocking for blocking work, minimize FFI/runtime lock hold time, cache backend data in Rust fields
  5. For table detection: detect via line/cell boundary detection, validate grid structure, OCR each cell, output as markdown
  6. For language management: validate against LanguageRegistry, check tessdata availability
  7. Cache OCR results with key = hash(image_bytes + language + config)
  8. hOCR parsing: use the hocr module to extract word-level bounding boxes and confidence scores
Changes

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.

  1. 7d ago First seen · 17 lines · 14 tokens per session scan A 0b7182081dad

Subscribe to this mod's changes

ocr-engineer is an agent published in the GitHub repository jamon8888/hacienda-private (0 stars, last pushed 1mo ago), licensed MIT. It adds 14 tokens to every session and 267 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

migration-import-engineer

Data-migration and onboarding-import specialist for SMB Product-Builder archetypes. Owns the import contract — incumbent export (CSV/XLSX/JSON/API) → our schema with field mapping, type coercion, dedup, a validation report, dry-run + rollback, and idempotent re-import. Source playbooks for ServiceTitan, Toast…

avelikiy/great_cto · 109 tokens

OpenAPI to Application Generator

Expert assistant for generating working applications from OpenAPI specifications.

archubbuck/workspace-architect · 16 tokens

Feishu Integration Developer

Full-stack integration expert specializing in the Feishu (Lark) Open Platform — proficient in Feishu bots, mini programs, approval workflows, Bitable (multidimensional spreadsheets), interactive message cards, Webhooks, SSO authentication, and workflow automation, building enterprise-grade collaboration and automation…

andywxy1/ceo-plugin · 69 tokens

postman

Generates and updates Postman Collection JSON from Rails APIs (routes, controllers, strong params, tests). Use when creating or updating Postman docs, documenting API endpoints, or when the user mentions Postman, collection, or API documentation. Reference https://learning.postman.com/.

VictorCostaOliveira/agents-tdd-flow · 59 tokens

php-developer

Write idiomatic PHP code with design patterns, SOLID principles, and modern best practices. Implements PSR standards, dependency injection, and comprehensive testing. Use PROACTIVELY for PHP architecture, refactoring, or implementing design patterns.

davepoon/buildwithclaude · 51 tokens

dotnet-architecture-reviewer

Reviews a .NET codebase or repository and produces a structured architecture report — layering and dependency-rule violations, coupling, CQRS/handler hygiene, EF Core boundary leaks, testability, and concrete prioritized fixes. Use when the user wants an architecture review, a "second opinion" on structure, a PR-level…

StefanTheCode/dotnet-ai-toolkit · 102 tokens