pdf

Create, convert, and manipulate PDF documents across generation and processing pipelines.

2|Updated Mar 31, 2026
One-click install
npx skills add https://github.com/marktantongco/promptc-os --skill pdf-marktantongco
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/marktantongco/promptc-os/tree/main/skills/pdf
Command: npx skills add https://github.com/marktantongco/promptc-os --skill pdf-marktantongco

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pypdf, pdf2image, Pillow, playwright, pdf-lib, and includes scripts (resource) components.

What problem does it solve?

Consolidates PDF creation, typesetting, and processing into a single production workbench so users no longer wrestle with fragmented tools, broken layouts, or manual form work. It routes documents to the correct pipeline (ReportLab, Playwright/blueprint, or LaTeX/Tectonic), enforces layout and accessibility guardrails, and provides scripts for common processing tasks like merge, split, extract, and form filling.

Core Features & Use Cases

  • Multi-pipeline production: Report-style PDFs via ReportLab, visual/creative blueprints via Playwright, and academic LaTeX papers via Tectonic.
  • Process & repair: extract text/images/tables, merge/split, crop, OCR, compress, encrypt, and fill forms (fillable and non-fillable) with validation tooling.
  • Preflight & QA: automated cover rendering, overlap detection, fill-ratio inflation, and PDF metadata injection for production-quality output.
  • Use case: generate a vector, print-ready research paper with an HTML cover, compiled LaTeX body, embedded high‑dpi diagrams, and merged metadata in a single pipeline.

Quick Start

Ask the skill to generate a multi-page PDF from your outline, render a cover template, compile the body with the chosen pipeline, and merge the results into a final PDF.

Frequently Asked Questions about pdf

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a print-ready PDF from an HTML template or outline?

To generate a print-ready PDF, route your HTML template or outline through the Playwright pipeline for visual blueprints or ReportLab for structured reports, producing vector PDFs with embedded high-dpi diagrams and metadata.

Can I fill both fillable and non-fillable PDF forms programmatically?

Yes, you can fill both fillable and non-fillable PDF forms programmatically using provided scripts that include validation tooling, ensuring data is accurately injected into form fields across the document.

Does this PDF processing tool support merging, splitting, and text extraction?

Yes, this PDF processing tool supports merging, splitting, and text extraction, alongside cropping, OCR, compression, and encryption, handling common document processing tasks within a single pipeline.

Do I need Python and Node.js toolchains to compile LaTeX papers into PDFs?

Yes, you need Python and Node.js toolchains along with libraries like pypdf, pdf2image, Pillow, and playwright to compile LaTeX papers via Tectonic and execute form-filling and image conversion scripts.

What's the best way to extract images and tables from a PDF document?

The best way to extract images and tables from a PDF document is using the built-in processing scripts powered by pypdf and pdf2image, which isolate and export embedded media and structured data efficiently.

Can I convert office documents to PDF and inject metadata automatically?

Yes, you can convert office documents to PDF and automatically inject metadata using preflight and QA scripts, ensuring production-quality output with proper cover rendering and accessibility guardrails.