PDF Processing Pro
by Sheeyassh
Turn fragile PDF scripts into parallel, schema-validated pipelines for OCR, table extraction, and batch form filling.
Free
PDF Processing Pro
Example session with this skill installed
Build a batch Python CLI scripts/ingest_statements.py using --parallel and pandas that OCRs scanned bank PDFs in inbox/, extracts transaction tables to out/transactions.csv, and validates/fills forms/reconciliation.pdf using scripts/analyze_form.py.
- Read your context and instructions
- Compiled the pdf processing pro
- Generated the data export
Created scripts/ingest_statements.py with full type hints, --help, --parallel worker pooling, timestamped logging, and explicit exit codes. Ran python scripts/analyze_form.py forms/reconciliation.pdf to export its JSON field schema, and verified table export to out/transactions.csv across 12 sample statements with exit code 0.
reconciliation.pdf
CSV · data export
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
Turn fragile PDF scripts into parallel, schema-validated pipelines for OCR, table extraction, and batch form filling. Pdf Processing Pro provides an end-to-end Python and Bash playbook for high-volume PDF workflows covering text extraction, OCR on scanned documents (OCR.md), automated multi-column table extraction into pandas/CSV/JSON (TABLES.md), and schema-validated form filling (FORMS.md, analyze_form.py). Every script is structured for automation with full type hints, --help CLI flags, --parallel processing, timestamped logging, and reliable exit codes. It treats PDF ingestion as deterministic data engineering rather than fragile text scraping.
What it does
- Batch Document & Form Schema Audit Run
scripts/analyze_form.pyand inspect incoming PDF batches to classify digital text, scanned pages needingOCR.md, complex tables (TABLES.md), and form field schemas. - Production CLI & Validation Hardening Harden existing ad-hoc PDF scripts by adding Python type hints, pre-fill validation, timestamped logging,
--helpCLI flags,--parallelexecution, and deterministic exit codes. - OCR, Table & Batch Verification Pipeline Build end-to-end pipelines that OCR scanned inputs, extract structured tables into
pandas/CSV/JSON, validate form payloads, and verify batch outputs across edge cases. - Deterministic Deliverables Each run produces type-annotated, CLI-ready Python scripts (
--help,--parallel, timestamped logging, explicit exit codes), JSON form field schemas fromanalyze_form.py, normalized CSV/JSON/DataFrame table exports, OCR-extracted text, and pre-validated filled PDFs verified across batch test runs.
How it works
- Pre-Flight & Scope Audit verifies workspace boundaries, inputs, and required tools (
filesystem-read,filesystem-write,python3,shell-exec) before modifying any files. - Core Workflow Execution runs Batch Document & Form Schema Audit, Production CLI & Validation Hardening using modular, non-destructive steps.
- Quality Gate Enforcement applies skill-specific checks including Schema Assertion & Memory-Safe DataFrame Pipelines, PDF Extraction, OCR Fallback & Integrity Check.
- Verification & Reporting validates every deliverable against the 7-point checklist and emits an evidence-backed summary.
Frameworks & tools
Supports bash, csv, github, json, pandas, pdf. Uses agent tools: filesystem-read, filesystem-write, python3, shell-exec. Prerequisites: Python 3.9+ with pandas, Tesseract OCR for scans, pdftotext or pdfplumber. Compatible with Claude Code, Cursor, Windsurf, Antigravity, Codex CLI, and MCP-enabled agents.
Why this beats prompting it yourself
Batch PDF jobs routinely crash silently halfway through a folder because of an unmapped scanned page, shifted table column, or invalid form field type. This skill inspects your existing Python/Bash codebase and target PDFs first, analyzes form schemas to JSON before filling, and enforces type validation, graceful error reporting, and proper exit codes. Teams avoid corrupted CSV exports, silent form omissions, and untraceable batch failures. Instead of ad-hoc prompting, PDF Processing Pro enforces Schema Assertion & Memory-Safe DataFrame Pipelines, PDF Extraction, OCR Fallback & Integrity Check, Open-Source Format Fidelity & Non-Destructive Output alongside a deterministic 7-point verification checklist.
Use cases
- Extract multi-page financial, invoice, or lab tables from PDFs into clean
pandasDataFrames, CSVs, or JSON payloads with automatic column detection. - Run unattended
--parallelbatch pipelines over hundreds of scanned PDFs withOCR.md, timestamped logs, and CI-safe exit codes. - Generate machine-readable JSON inventories of PDF form field types and coordinates via
analyze_form.pybefore enforcing strict pre-fill validation. - Replace brittle one-off extraction scripts in Python repos with typed,
--help-documented CLIs that surface clear field-level validation errors.
Known limitations
Tailored to Python and Bash CLI environments; does not provide JavaScript/pdf-lib frontend or Node.js modules. Table detection accuracy degrades on borderless, heavily skewed, or handwritten scans without prior image deskewing. Parallel batch throughput (--parallel) is bounded by local CPU cores and memory when running heavy OCR across high-DPI pages.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 8 days ago
- Free with an Agensi account
- Software
- Python 3.9+ with pandasTesseract OCR for scanspdftotextorpdfplumber
Python
Permissions
No special permissions declared or detected
What's inside
Creator
Sheeyassh
33 skills on Agensi
Frequently Asked Questions
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.