PDF Processing Engine
by Sheeyassh
Eliminate misaligned PDF text and blind form fills with pypdf, pdf-lib, and visual bounding-box image verification.
Free
PDF Processing Engine
Example session with this skill installed
Fix the misaligned signature and date overlays in workers/fill_lease.ts (pdf-lib) for assets/lease_template.pdf and produce a bounding-box validation image.
- Read your context and instructions
- Compiled the pdf processing engine
Adjusted overlay coordinates, ran scripts/check_fillable_fields.py and scripts/check_bounding_boxes.py, and generated out/lease_page3_validation.png with zero overlapping or clipped boxes.
Connects securely to your tools. The creator never sees your data.
About this skill
Eliminate misaligned PDF text and blind form fills with pypdf, pdf-lib, and visual bounding-box image verification. Pdf Processing Engine combines Python (pypdf, pypdfium2) and JavaScript (pdf-lib) document operations with a visual form-validation loop. Beyond reading, extracting text, merging, splitting, rotating, and inspecting metadata, it converts PDFs to page images (convert_pdf_to_images.py) and draws bounding-box validation overlays (create_validation_image.py) to verify placement. This closes the gap between blind coordinate scripting and pixel-accurate PDF output.
What it does
- Visual & Structural PDF Diagnosis Audit PDF templates with
check_fillable_fields.pyandconvert_pdf_to_images.pyto expose hidden rotations, missing text layers, and unmapped static form regions. - Layout & Coordinate Refinement Tune existing
pypdf,pypdfium2, orpdf-libmerge, split, rotation, and text-extraction code usingreference.mdand eliminate coordinate collisions withcheck_bounding_boxes.py. - Visual Validation & Form Delivery Implement new form-filling workflows from
FORMS.mdand emit annotated page previews viacreate_validation_image.pyto visually confirm every field lands inside its target box. - Deterministic Deliverables Each run produces updated Python or JavaScript PDF processing scripts, a verified AcroForm or coordinate map, rendered page images, and annotated bounding-box validation images that visually prove text overlays and form fills align cleanly within template boundaries.
How it works
- Pre-Flight & Scope Audit verifies workspace boundaries, inputs, and required tools (
filesystem-read,filesystem-write,pdftotext,python3) before modifying any files. - Core Workflow Execution runs Visual & Structural PDF Diagnosis, Layout & Coordinate Refinement using modular, non-destructive steps.
- Quality Gate Enforcement applies skill-specific checks including PDF Extraction, OCR Fallback & Integrity Check, Open-Source Format Fidelity & Non-Destructive Output.
- Verification & Reporting validates every deliverable against the 7-point checklist and emits an evidence-backed summary.
Frameworks & tools
Supports pdfplumber>=0.11.0, pypdf>=4.0.0, reportlab>=4.1.0. Uses agent tools: filesystem-read, filesystem-write, pdftotext, python3, shell-exec. Prerequisites: Python 3.9+ with pypdf, Poppler or pypdfium2 renderer. Compatible with Claude Code, Cursor, Windsurf, Antigravity, Codex CLI, and MCP-enabled agents.
Why this beats prompting it yourself
Standard PDF code fails quietly when coordinates drift by a few points or when a template turns out to be flat rather than fillable. By inspecting your project's existing PDF scripts and pairing check_fillable_fields.py with rendered visual validation images, this skill catches clipped labels, inverted axes, and overlapping fields before documents reach end users. Teams stop guessing coordinates through trial-and-error PDF opens. Instead of ad-hoc prompting, PDF Processing Engine enforces PDF Extraction, OCR Fallback & Integrity Check, Open-Source Format Fidelity & Non-Destructive Output, Pdf Processing Engine Pre-Flight & Deterministic Output Gate alongside a deterministic 7-point verification checklist.
Use cases
- Debug off-center text overlays on static PDFs by rendering pages and generating visual bounding-box validation images.
- Build automated document packet builders that merge, split, rotate, and extract metadata across Python or Node.js backends.
- Inspect incoming third-party PDFs to separate true fillable AcroForm templates from flat scanned or vector forms.
- Extract clean text and page-level metadata from contracts and reports using
pypdfandpypdfium2best practices.
Known limitations
Lacks built-in OCR pipelines for transcribing scanned, raster-only PDFs into searchable text. Does not provide multi-process batch CLI runners or automated pandas table-extraction pipelines. Requires external rasterization support (pypdfium2 or Poppler) to render PDF pages into validation images.
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
1 use
Times used to date
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 pypdfPopplerorpypdfium2 renderer
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.