extraction-engineer

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

A specialist guide for maintaining document-extraction software: programs that pull text and other content from files. It describes the processing path from input and file-type detection through extraction, fallback handling, and caching.

In plain words
What is it for?
Use it when changing MIME detection, adding extractors, configuring caches, implementing fallback chains, or testing extraction security limits.
Why use it?
It helps developers add file formats and handle malformed or risky user files without losing partial results or skipping validation.

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 MIME detection, adding extractors, configuring caches, implementing fallback chains, or testing extraction security limits.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/jamon8888/hacienda-private/extraction-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 extraction-engineer

README.md
[![agentmods](https://agentmods.dev/badge/agents/jamon8888/hacienda-private/extraction-engineer.svg)](https://agentmods.dev/agents/jamon8888/hacienda-private/extraction-engineer)
Your own site
<a href="https://agentmods.dev/agents/jamon8888/hacienda-private/extraction-engineer"><img src="https://agentmods.dev/badge/agents/jamon8888/hacienda-private/extraction-engineer.svg" alt="Measured on agentmods" height="20"></a>
Per session 11 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 235 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.00011 $0.00235
Opus 5 $0.00005 $0.00118
Sonnet 5 $0.00002 $0.00047
Haiku 4.5 $0.00001 $0.00023

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

Security

Grade A, and why

extraction-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/document-extraction/agents/extraction-engineer.md · 17 lines

What it actually says

When working on document extraction code:

  1. Key source paths: crates/xberg/src/core/ (extractor.rs, mime.rs, config.rs), crates/xberg/src/extraction/
  2. The extraction pipeline: Input -> Cache Check -> MIME Detection -> Format Conversion -> Extractor Selection (priority-based) -> Extraction -> Fallback Chain -> Post-Processing -> Caching -> Output
  3. For MIME detection: use EXT_TO_MIME map + magic bytes fallback via infer crate. Always validate_mime_type() before extraction.
  4. For caching: keys based on content hash, invalidate on config changes
  5. For errors: implement fallback chains (try next-priority extractor), preserve partial results, return structured error info
  6. For new formats: add to EXT_TO_MIME, implement DocumentExtractor trait, register in register_default_extractors()
  7. Always use SecurityLimits validators for user content (ZipBombValidator, DepthValidator, StringGrowthValidator)
  8. Run task test after changes. Target 95% coverage on core extraction code.
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 · 11 tokens per session scan A 6902d34de315

Subscribe to this mod's changes

extraction-engineer is an agent published in the GitHub repository jamon8888/hacienda-private (0 stars, last pushed 1mo ago), licensed MIT. It adds 11 tokens to every session and 235 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

quarto-critic

Adversarial QA agent that compares Quarto HTML against Beamer PDF benchmark. Produces harsh, actionable criticism. Does NOT edit files — read-only analysis only.

brycewang-stanford/Auto-Empirical-Research-Skills · 38 tokens

openwriter-enrichment-minion

Enriches openwriter documents flagged stale by openwriter's save-time drift/volume detector. Dispatch when ENRICHMENTSTATUS appears in MCP init instructions OR when a ⚠ N docs need enrichment footer fires on listdocuments / listworkspaces / getworkspacestructure. Reads each dirty doc and stamps it with a single field…

travsteward/openwriter · 94 tokens

literature-extractor

Extracts literature Statements from papers for a survey. Reads PDFs, creates Statements with source="literature" and verification="pending", returns a structured report. Never registers theme tags, never creates Warrants or Claims.

yqi96/warranted · 48 tokens

chronology-builder

Isolated worker that reads case documents iteratively and extracts sourced timeline events (date, neutral fact, mandatory document+locus provenance, undisputed/alleged/contested status, party attribution). Deduplicates and cross-references across documents and languages. Emits events.json for the legal-chronology…

fedec65/bettercallclaude · 103 tokens

flow-documenter

Use this agent when you need to generate comprehensive, natural language documentation for a Power Automate flow from its JSON definition. This agent should be invoked when:\n\n- A user provides a flow.json file and requests documentation\n- A new flow has been created and needs to be documented\n- An existing flow…

MacroMan5/AutomationHelper_plugins · 368 tokens

ops-documentacao

Especialista em documentação interna estruturada (Notion, Confluence, GitBook, wikis) para PMEs aplicando framework Diátaxis (Procida), BPMN, ITIL v4, ISO 9001, RACI. Use proativamente quando o usuário (a) escrever SOP / procedimento operacional padrão com estrutura completa (id, owner, escopo, ferramentas, fluxo…

asv-digital/agents-funcionarios · 0 tokens