pdf-parsing
Installation
SKILL.md
PDF Invoice Local Extraction
This skill exposes a 100% offline, local PDF batch extraction utility (extract_to_markdown.py) that isolates all invoice documents inside the invoices/ directory and exports them into clean, readable Markdown files (.md).
This runs entirely offline without any external network, server, or API key dependencies. This decouples raw text extraction from structuring, allowing you (the LLM agent) to perform robust, flexible data extraction natively without relying on fragile regular expressions.
Batch Extraction Tool: extract_to_markdown.py
Processes a directory of PDF invoices sequentially, isolating all PDFs into a dedicated invoices/ subdirectory and converting each to a matching .md file.
python3 skills/pdf-parsing/scripts/extract_to_markdown.py --workspace .agents/workspace
- Standard PDF Files: Uses
pypdflocally to instantly extract text and save it as<filename>.mdunder.agents/workspace/invoices/.