Percerno Skillsbeta
← everything it can do · pdf

PDF PDF

Generates, extracts, and visually validates PDF documents using Python libraries like ReportLab and PDFPlumber, ensuring layout fidelity through Poppler-based rendering checks.

0 uses this weeksource openailicence Apache-2.0
Not measured yet. Every skill is tested against the bare model on its own example requests; results appear here.
Security scan: clean · 2026-10-24 · 3 files · ran in sandbox
no network calls, shell tricks, credential access or instruction tampering found in its files.

Try asking

Say it in your own words; the assistant finds this recipe by itself. Examples:

“Lav en PDF-faktura baseret på tallene i `faktura_data.csv`.”
“Kig efter fejl i layoutet på `rapport.pdf`, især i tabellerne.”
“Ekstrahér alle overskrifter fra `manual.pdf` og gem dem som en liste.”
“Generate a professional invoice PDF for client ID 402 using the data in `data/invoices.json`.”
“Extract all text from `contract.pdf` and save it to a plain text file.”
“Check if the table in `report.pdf` is aligned correctly and fix any overlapping text.”
Try this skill from Claude, ChatGPT or a chat on your own page. Free plan, no credit card.Get started free

Good for

pdfdocument-generationreportlabpdfplumberpopplerlayout-validationtext-extractionvisual-qapython

Not for

Do not use this skill for simple text-based PDF manipulation where layout is irrelevant, or for converting PDFs to other formats like Word or HTML. For basic file renaming or moving PDFs without content inspection, use a general file management skill instead.

Details

When it is the right choice

Use this skill when the user needs to create a new PDF with specific formatting, extract data from existing PDFs, or verify that a generated PDF renders correctly without visual defects. It is ideal for tasks where layout, typography, and visual integrity are critical, such as generating reports, invoices, or certificates.

The full recipe the assistant reads

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.
  2. Use pdftoppm if available.
  3. If unavailable, install Poppler or ask the user to review the output locally.
  4. Use reportlab to generate PDFs when creating new documents.
  5. Use pdfplumber (or pypdf) for text extraction and quick checks; do not rely on it for layout fidelity.
  6. 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.
Files in this skill (4)
  • LICENSE.txt
  • SKILL.md
  • agents/openai.yaml
  • assets/pdf.png
Where it comes from

Vendored from openai/skills, commit 49f948faa925, path skills/.curated/pdf, licence Apache-2.0. The upstream licence file ships inside the skill.