PDF workflow
This is workflow guidance, not a callable tool. Use the shell or code-execution tool exposed by the active OIX harness. Do not look for a tool named pdf.
Workflow
- Inspect metadata and text with
pypdforpdfplumber. - Render pages to PNG with Poppler (
pdftoppm) before making layout-sensitive decisions. - Use
pypdffor page operations and forms,reportlabfor new PDFs, andpdfplumberfor focused extraction. - After every meaningful write, reopen the file and render all affected pages.
- If the file is open in Interpreter, call
interpreter-app tools builtin-interpreter interpreter_refresh_file --json '{"path":"/absolute/path.pdf"}'once after the final write.
Dependencies
uv pip install pypdf pdfplumber reportlab
Use an existing Python and Poppler installation when available. Install only missing pieces, and request approval for exact system-level installation commands.
Quality bar
- No clipped, overlapping, missing, or unreadable content.
- Preserve page size, rotation, form field identity, and source fidelity.
- Verify page count and expected text after saving.
- Inspect the latest rendered pages before delivery.
- Keep intermediate renders and scripts out of the final deliverable folder.
Derived from OpenAI's Apache-2.0 pdf skill and modified for OIX code execution and Workstation refresh behavior.