Access supported Stripe administration and payment APIs through managed OAuth.
Design & media
Create and review PDFs through programmatic generation, text checks, and rendered-page inspection.
What it does
Read, create, and review PDFs with attention to layout and rendering. Generate documents with reportlab, extract text or run quick checks with pdfplumber or pypdf, then render pages to PNG with Poppler for visual inspection. Recheck alignment, spacing, typography, tables, images, headers, footers, and page numbering after meaningful updates.
When to use it
- Reviewing layout-sensitive PDF reports
- Generating consistently formatted PDFs
- Checking tables, charts, and images before delivery
- Extracting PDF text for quick validation
The skill document
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
- Prefer visual review: render PDF pages to PNGs and inspect them.
- Use
pdftoppmif available. - If unavailable, install Poppler or ask the user to review the output locally.
- Use
- Use
reportlabto generate PDFs when creating new documents. - Use
pdfplumber(orpypdf) for text extraction and quick checks; do not rely on it for layout fidelity. - 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.
Questions people ask
- How does it check that a PDF will render correctly?
- It renders pages to PNG with pdftoppm and inspects the latest output for clipping, overlaps, broken tables, unreadable glyphs, and other formatting defects.
- Which tools does it use for PDF generation and extraction?
- It uses reportlab to create PDFs and pdfplumber or pypdf for text extraction and quick checks. Extraction tools are not treated as a substitute for visual layout review.
- What happens if the required PDF tools are unavailable?
- It prefers uv or pip for Python dependencies and provides Homebrew or apt commands for Poppler. If installation is not possible in the current environment, it identifies the missing dependency and explains how to install it locally.
Related skills
Search YouTube data and manage account resources through Data API v3 with managed OAuth.
Audit organic search issues and turn SERP, GSC, and competitor evidence into URL-level fixes and content.
Design and critique visual artifacts using measurable rules for hierarchy, spacing, type, color, and layout.
Analyze mixed files and produce multiple requested artifacts through one agent task.
Generate customizable adult portraits through an authenticated API with quota checks and multiple export formats.
More from OpenAI
Browse all skillschatgpt-apps
OfficialPlan, scaffold, refactor, and validate ChatGPT Apps SDK projects with an MCP server and widget UI.
figma-generate-design
OfficialBuild or update full-page Figma screens with linked design-system components, variables, and styles.
figma-generate-library
OfficialBuilds a code-aligned Figma design system through phased creation, validation, and user approval.
figma-use
OfficialRuns Figma Plugin API scripts with the required call parameters, API rules, IDs, and validation workflow.
hatch-pet
OfficialCreate and validate a Codex-compatible animated pet atlas from concepts, brand cues, or reference art.
imagegen
OfficialGenerate or edit raster assets, validate the result, and place selected files into the project workspace.