pdf

Generate, extract, and visually verify PDFs using Python libraries.

1|Updated Dec 21, 2025
One-click install
npx skills add https://github.com/cdrguru/portable-agent-kit --skill pdf-cdrguru
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/cdrguru/portable-agent-kit/tree/main/.codex/skills/pdf
Command: npx skills add https://github.com/cdrguru/portable-agent-kit --skill pdf-cdrguru

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

PDFs often require precise rendering and structured data extraction, causing workflow bottlenecks when tools misalign content or formats.

Core Features & Use Cases

  • Generate PDFs with reliable layout using Python libraries like ReportLab.
  • Extract text and tables from PDFs using pdfplumber and PyPDF.
  • Visually verify rendering by producing page previews to ensure fidelity before delivery.

Quick Start

Run a sample PDF workflow to render a document and verify its appearance.

Frequently Asked Questions about pdf

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract text and tables from a PDF while preserving the layout?

To extract text and tables from a PDF while preserving layout, you can use pdfplumber and PyPDF. These libraries parse document content to capture structural fidelity, which is essential for accurately processing invoices and forms without misaligning data.

What is the best way to generate PDF reports with reliable layout formatting?

Generating PDF reports with reliable layout formatting is best achieved using ReportLab. It allows you to programmatically construct documents, ensuring exact rendering and consistent visual structure for automated reporting workflows before delivery.

Can I visually verify PDF rendering before delivering the final document?

Yes, you can visually verify PDF rendering before delivery by producing page previews. Using pdftoppm and Poppler, the workflow generates visual checkpoints to ensure layout fidelity and confirm the document appears exactly as intended.

Does pdfplumber work for extracting data from structured PDF forms and invoices?

Yes, pdfplumber works effectively for extracting data from structured PDF forms and invoices. It parses the document to pull text and tables, solving workflow bottlenecks caused by tools that misalign content or formats during data extraction.

How do I validate PDFs to ensure exact rendering across different document workflows?

To validate PDFs and ensure exact rendering across document workflows, generate visual page previews using pdftoppm and Poppler. This visual verification step confirms layout fidelity and checks that formats remain intact before final delivery.