pdf

Creates, reads, and validates PDF documents using Python libraries.

1|Updated Jan 6, 2026
One-click install
npx skills add https://github.com/yanun0323/.codex --skill pdf-yanun0323
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/yanun0323/.codex/tree/main/skills/pdf
Command: npx skills add https://github.com/yanun0323/.codex --skill pdf-yanun0323

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Reading, creating, or reviewing PDFs with strict layout and rendering requirements can be tedious and error-prone. This skill provides guidance and tooling references to ensure accurate rendering, formatting consistency, and reliable data extraction or generation.

Core Features & Use Cases

  • Visual rendering checks: render PDF pages to images to verify layout and typography.
  • PDF generation: use Python libraries such as reportlab to create well-formatted documents.
  • Text extraction and data retrieval: apply pdfplumber and pypdf for extraction while respecting layout.

Quick Start

Render a sample PDF to PNGs and inspect the rendered output for layout fidelity.

Frequently Asked Questions about pdf

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

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

Extracting text from PDFs while preserving layout is handled by pdfplumber and pypdf, which retrieve content while respecting the original formatting. This ensures reliable data extraction for administrative and archival workflows.

What's the best way to generate well-formatted PDF documents using Python?

Generating well-formatted PDF documents in Python is achieved using the reportlab library. This skill automates PDF generation to create documents with strict formatting consistency and layout-sensitive requirements.

How do I render PDF pages to images for visual layout verification?

Rendering PDF pages to images for visual layout verification requires Poppler. This skill uses Poppler to render PDFs to images, allowing you to inspect typography and layout fidelity for rendering checks.

Do I need Python libraries to automate PDF creation and validation workflows?

Automating PDF creation and validation requires Python libraries including reportlab, pdfplumber, and pypdf. These dependencies enable document generation, text extraction, and rendering verification across design tasks.

Can I verify rendering fidelity and typography across administrative PDF documents?

Verifying rendering fidelity and typography across administrative PDF documents is fully supported. This skill renders pages to images to perform visual checks, ensuring accurate formatting consistency and layout compliance.