pdf

Create, extract, and visually review PDF documents using Poppler and Python libraries.

25|1|Updated Feb 10, 2026
One-click install
npx skills add https://github.com/wisdom-in-a-nutshell/agents --skill pdf-wisdom-in-a-nutshell
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/wisdom-in-a-nutshell/agents/tree/main/skills-source/owned/pdf
Command: npx skills add https://github.com/wisdom-in-a-nutshell/agents --skill pdf-wisdom-in-a-nutshell

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires reportlab, pdfplumber, pypdf.

What problem does it solve? Working with PDFs often fails silently: text extraction loses layout, generated documents render with clipped text or broken tables, and defects go unnoticed until delivery. This Skill enforces a render-and-inspect workflow so PDF reading, creation, and review produce visually verified results. ## Core Features & Use Cases - Visual PDF Review: Render pages to PNGs with Poppler's pdftoppm and inspect alignment, spacing, and legibility before delivery. - Programmatic PDF Generation: Create new PDF documents with reportlab while maintaining consistent typography, margins, and section hierarchy. - Text Extraction and Checks: Use pdfplumber or pypdf for text extraction and quick content checks without relying on them for layout fidelity. - Use Case: Generate a multi-page report PDF with charts and tables, render every page to images, and fix overlapping elements or broken tables before sending it to stakeholders. ## Quick Start Use the pdf skill to create a formatted PDF report and render each page to PNG so you can visually verify the layout before delivery.

Frequently Asked Questions about pdf

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

FAQPage Schema
How do I render PDF pages to images for visual inspection?▼

Use Poppler's pdftoppm command with the -png flag, passing the input PDF and an output prefix, to convert each page into a PNG image. If Poppler is unavailable, install it or ask the user to review the output locally.

What Python library should I use to generate PDF files?▼

Use reportlab to generate new PDF documents programmatically with control over formatting. After generation, re-render the pages and verify alignment, spacing, and legibility before delivery.

pdfplumber vs pypdf for PDF text extraction?▼

Both pdfplumber and pypdf work for text extraction and quick content checks. Neither should be relied on for layout fidelity, so visual rendering with pdftoppm remains the authoritative check for formatting.

Why does my generated PDF have clipped text or broken tables?▼

Clipped text, overlapping elements, and broken tables come from layout errors during generation that text-based checks cannot detect. Render pages to PNGs after each meaningful update and inspect them to catch these defects.

Where should intermediate and final PDF files be stored?▼

Use tmp/pdfs/ for intermediate files and delete them when done. Write final artifacts under output/pdf/ only if the repo allows it; otherwise place the final PDF in a user-requested external path or repo-approved location.