Export a Local Report to PDF With the OpenAI Codex PDF Skill
Create a short PDF report from supplied numbers and validate that its visible content and extracted text preserve the source.
中文Setup for Codex
Codex with the official PDF skill, a disposable output directory, and the PDF tools named in the skill. ReportLab creates a simple report and Poppler can render or extract it.
- In Codex, open the skill-installer and ask to install pdf from the official OpenAI curated skills catalog.
- Restart the session so the skill is available. Install the documented optional PDF utilities to render or extract the generated output.
- Use the PDF skill in a scratch project with a local source table and an explicit output name.
Example task
Supply a mock table with West 30 and East 20. Create a one-page monthly-report.pdf with those figures and a total of 50, then render the first page and check extracted text.Expected result
The file opens, both regions and 50 are readable, and the first page shows the title and table without clipped labels.
Upstream documentation
Original SKILL.md on GitHub · Apache-2.0 license · Source reviewed
Frequently asked question
How can I validate that a PDF export matches its inputs?
Check the extracted values against the input table and render the final page to catch clipping and text layout problems.