pdf

Generate and process PDFs via Python and JavaScript pipelines.

Updated Apr 20, 2026
One-click install
npx skills add https://github.com/Kraits/cxc-ace --skill pdf-kraits
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/Kraits/cxc-ace/tree/main/skills-backup/pdf
Command: npx skills add https://github.com/Kraits/cxc-ace --skill pdf-kraits

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill provides a complete, programmable toolkit for creating, editing, and processing PDF documents, reducing manual formatting time and ensuring consistent, production-ready outputs across reports, academic papers, and data-heavy workflows.

Core Features & Use Cases

  • Four production lines: Report (ReportLab-based documents), Creative (HTML/CSS/Playwright pipelines), Academic (LaTeX/Tectonic workflows), and Process (PDF manipulation: merge, split, fill forms, convert).
  • Deterministic task execution: scriptable pipelines for layout, typesetting, and document assembly with predictable outputs.
  • Real-world use: generate corporate reports with the same visual language, compile LaTeX academic papers, or reformat existing PDFs by applying templates and merges.

Quick Start

Use the pdf skill to set up a production workflow by running the provided setup script and executing the Python/JS wrappers to produce 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 automate PDF report generation from HTML or raw data?

Automating PDF report generation involves using scriptable pipelines like ReportLab for structured data or Playwright to render HTML/CSS into predictable, production-ready PDF outputs. This approach ensures consistent visual formatting across corporate reports without manual layout.

Can I extract data and merge existing PDF files programmatically?

Yes, you can extract data and merge existing PDF files programmatically using libraries such as pdfplumber and pypdf. These tools allow you to parse text and tables, split documents, fill forms, and assemble final archival PDFs with deterministic results.

What is the best way to compile LaTeX academic papers into PDF deterministically?

Compiling LaTeX academic papers into PDF deterministically is best achieved through Tectonic workflows within a scriptable pipeline. This method automates typesetting and document assembly, yielding predictable academic publishing outputs without manual compilation steps.

Do I need both Python and Node.js to render HTML to PDF?

Yes, rendering HTML to PDF using Playwright requires Node.js, while parsing and post-processing often use Python tools like pypdf. Combining Python and JavaScript tooling is necessary to parse, render, and merge documents in end-to-end workflows.

Why does my PDF post-processing workflow have inconsistent formatting?

Inconsistent PDF formatting often occurs without deterministic task execution. Applying scriptable pipelines for layout and typesetting ensures predictable outputs, standardizing visual language across corporate reports and document assembly tasks.