Skip to content
Skillpedia
PDF, Word & slides28k · #9859

pdf

What it does

This skill helps with PDF files, including making new ones and checking how they look. It is for people who need PDFs that are produced or read accurately, with the layout checked.

When to use it

  • ✓When you want a new PDF created with reliable formatting.
  • ✓When you need to read or review a PDF where its layout and visuals matter.
  • ✓When you want to check a finished PDF visually before sending it.

Skill link

https://github.com/openai/skills/blob/main/skills/.curated/pdf/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/openai/skills/blob/main/skills/.curated/pdf/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Create a one-page PDF summary of this report, and check that the layout looks right before I send it.”

5 new skills a week. 1 minute to read.

How it works

The agent renders PDF pages to images to inspect them, uses Python tools to generate or extract content and rechecks each change until the layout looks right.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

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

# Ubuntu/Debian
sudo apt-get install -y poppler-utils

If installation isn't possible in this environment, tell the user which dependency is missing and how to install it locally.

Environment

No required environment variables.

Rendering command

pdftoppm -png $INPUT_PDF $OUTPUT_PREFIX

Quality expectations

  • Maintain polished visual design: consistent typography, spacing, margins, and section hierarchy.
  • Avoid rendering issues: clipped text, overlapping elements, broken tables, black squares, or unreadable glyphs.
  • Charts, tables, and images must be sharp, aligned, and clearly labeled.
  • Use ASCII hyphens only. Avoid U+2011 (non-breaking hyphen) and other Unicode dashes.
  • Citations and references must be human-readable; never leave tool tokens or placeholder strings.

Final checks

  • Do not deliver until the latest PNG inspection shows zero visual or formatting defects.
  • Confirm headers/footers, page numbering, and section transitions look polished.
  • Keep intermediate files organized or remove them after final approval.
FAQ

What tools does it use?

It relies on Python tools such as reportlab, pdfplumber and pypdf, plus Poppler to render pages.

Is text extraction enough to check a PDF?

No. The skill says text extraction is not reliable for layout, so it renders pages to check them visually.

Do I need to install anything?

Some tools may need installing, including Poppler for rendering, and the skill says to tell you if something is missing.

Details

Original description by the author

Use when tasks involve reading, creating, or reviewing PDF files where rendering and layout matter; prefer visual checks by rendering pages (Poppler) and use Python tools such as `reportlab`, `pdfplumber`, and `pypdf` for generation and extraction.

repo: openai/skills

Popularity

GitHub stars
28k
Ranking position
#9859
License
—
Updated
10/28/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills