Skip to content
openai avatar

Pdf

Visual PDF workflow that renders pages with Poppler and generates or extracts with reportlab, pdfplumber, and pypdf.

CCM score
64 of 100
install copies · 90 days. Times the install command was copied on this site in the last 90 days, bots filtered.
9
skills.sh installs
14K
GitHub stars
29.2K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers reading, creating, and reviewing PDFs where layout, spacing, and rendering quality matter
  • Requires rendering pages to PNG with pdftoppm and inspecting them before delivery, with pdfplumber used only for text checks
  • Sets temp files under tmp/pdfs/ and final artifacts under output/pdf/, with stable, descriptive filenames
  • Designed for document work where visual fidelity must be confirmed before delivery, with dependency install steps for uv or pip

Install

$ npx -y skills add openai/skills --skill pdf -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

PDF Skill

When to use

  • Read or review PDF content where layout and visuals matter.
  • Create PDFs programmatically with reliable formatting.
  • Validate final rendering before delivery.

Workflow

  1. Prefer visual review: render PDF pages to PNGs and inspect them.
    • Use pdftoppm if available.
    • If unavailable, install Poppler or ask the user to review the output locally.
  2. Use reportlab to generate PDFs when creating new documents.
  3. Use pdfplumber (or pypdf) for text extraction and quick checks; do not rely on it for layout fidelity.
  4. After each meaningful update, re-render pages and verify alignment, spacing, and legibility.

Temp and output conventions

  • Use tmp/pdfs/ for intermediate files; delete when done.
  • Write final artifacts under output/pdf/ when working in this repo.
  • Keep filenames stable and descriptive.

Dependencies (install if missing)

Prefer uv for dependency management.

Python packages:

uv pip install reportlab pdfplumber pypdf

If uv is unavailable:

python3 -m pip install reportlab pdfplumber pypdf

System tools (for rendering):

# macOS (Homebrew)
brew install poppler

Details

Repository
github.com/openai/skills
Category
Office Files & Slides
First seen
May 16, 2026

More from openai/skills

All 42