12 skills · 4 categories

Claude Code skills for PDF

PDF skills for extracting text and tables, filling forms, merging and splitting, OCR on scans, true redaction, generating invoices and reports, and rendering HTML to print-quality PDF.

Start with these

  1. 1

    HTML to PDF

    Print CSS that breaks pages where you meant

    Claude chooses the rendering engine from the job: WeasyPrint for templated business documents, Playwright when JavaScript or browser fidelity matters, Paged.js for book layouts. Templates use @page rules, margin-box counters, named pages and break controls from the start, assets are local so fonts embed, and every PDF is checked with pdffonts and page images.

  2. 2

    PDF Toolkit

    Inspect first, then extract, merge, fill or generate

    Claude inspects every PDF before touching it, checking for a text layer, encryption, form fields and XFA, then picks the right library for the job. Tables come out as clean CSV rows with totals checked, merges keep outlines, forms get filled using their exact field names, and new documents are built with reportlab. Every output is reopened and verified rather than assumed.

  3. 3

    Invoice Generation

    Gapless numbers, exact cents, immutable invoices

    Claude models invoices as drafts that become immutable when issued, assigns gapless numbers per series inside the issuing transaction, and computes totals with Decimal under one written rounding policy shared by PDF, XML and ledger. Corrections go through credit notes, e-invoice formats come from the same frozen data, and archived files carry a hash in write-once storage.

All 12 PDF skills

Grouped by category. Each card opens the full playbook, example prompts and install commands.

Documents & Files 9

No. 372

HTML to PDF

Print CSS that breaks pages where you meant

Claude chooses the rendering engine from the job: WeasyPrint for templated business documents, Playwright when JavaScript or browser fidelity matters, Paged.js for book layouts. Templates use @page rules, margin-box counters, named pages and break controls from the start, assets are local so fonts embed, and every PDF is checked with pdffonts and page images.

html-to-pdf 183 lines
No. 378

PDF Toolkit

Inspect first, then extract, merge, fill or generate

Claude inspects every PDF before touching it, checking for a text layer, encryption, form fields and XFA, then picks the right library for the job. Tables come out as clean CSV rows with totals checked, merges keep outlines, forms get filled using their exact field names, and new documents are built with reportlab. Every output is reopened and verified rather than assumed.

pdf-toolkit 210 lines · 2 files
No. 373

Invoice Generation

Gapless numbers, exact cents, immutable invoices

Claude models invoices as drafts that become immutable when issued, assigns gapless numbers per series inside the issuing transaction, and computes totals with Decimal under one written rounding policy shared by PDF, XML and ledger. Corrections go through credit notes, e-invoice formats come from the same frozen data, and archived files carry a hash in write-once storage.

invoice-generation 190 lines
No. 377

OCR for Scans

Searchable scans with measured, not assumed, accuracy

Claude OCRs only the pages that need it, preprocesses photos and scans for Tesseract by fixing rotation, contrast, scale and borders, and picks the page segmentation mode that matches the layout. A bundled script reports word-level confidence and the shakiest words, so numbers and names get checked against the image, and tables or handwriting are routed to better tools.

ocr-scans 164 lines · 2 files
No. 375

Markdown Publishing

One Markdown source, clean PDF, DOCX and HTML

Claude sets up repeatable pandoc builds instead of one-off commands: a defaults file per output, a reference.docx that carries your Word house styles, citeproc with real CSL styles, and the right PDF engine for the job, whether LaTeX, Typst or WeasyPrint. It handles cross-references, math, diagrams and Lua filters, then opens each output to check it.

markdown-publishing 190 lines
★ No. 367

Document Redaction

Remove the data, not just hide it under a box

Black boxes over live text are how redacted court filings leak. With this skill Claude deletes the underlying characters and image pixels using PyMuPDF, scrubs metadata, comments, tracked changes and attachments, and rewrites the file in full. A separate verifier searches two text extractors, raw bytes, fields and metadata, and every job ends with a redaction log.

document-redaction 179 lines · 3 files
No. 380

Report Automation

Recurring reports that refuse to send bad numbers

Claude turns a hand-built weekly or monthly report into one command keyed on the reporting period: versioned SQL, validation gates for freshness, completeness and reconciliation, deterministic matplotlib charts, and Jinja2 templates rendered to PDF, HTML email or Slack. Runs are idempotent, never resend by accident, print their template version, and leave a manifest for audit.

report-automation 218 lines
No. 374

LaTeX Documents

Clean builds, resolved citations, no ?? in the PDF

Claude sets up LaTeX projects that build with one latexmk command: a sane preamble with packages in the right order, biblatex with biber, booktabs tables, siunitx units, and cleveref cross-references. After each build a bundled log parser lists errors by line, undefined references and citations, and wide overfull boxes, so fixes target causes instead of rerunning and hoping.

latex-documents 211 lines · 2 files
No. 376

Mermaid Diagrams

Diagrams as code that render on the first try

Claude picks the diagram type that answers the question, builds it from the real code or schema, and keeps each view under about twenty nodes. It avoids the parser traps that blank a diagram, like a lowercase end label or unquoted parentheses, themes with frontmatter config that survives dark mode, and renders with mmdc before handing it over, accounting for older Mermaid versions on GitHub.

mermaid-diagrams 219 lines · 2 files

Install

Every PDF skill in one command

Installs into ~/.claude/skills/. Add --project after -- to install into the current repository.

curl -fsSL https://claudeskills.page/install.sh | sh -s -- html-to-pdf pdf-toolkit invoice-generation ocr-scans document-extraction-llm markdown-publishing document-redaction report-automation latex-documents mermaid-diagrams paper-analysis email-automation

PDF skills FAQ

What is the best Claude Code skill for PDF?

Start with HTML to PDF: Print CSS that breaks pages where you meant. Then add PDF Toolkit and Invoice Generation, which cover the next most common PDF requests.

How do I install all 12 PDF skills at once?

Pass every name to the installer in one command: curl -fsSL https://claudeskills.page/install.sh | sh -s -- html-to-pdf pdf-toolkit invoice-generation ocr-scans document-extraction-llm markdown-publishing document-redaction report-automation latex-documents mermaid-diagrams paper-analysis email-automation. Add --project to install them into the current repository's .claude/skills/ folder so your team gets them too.

Do these PDF skills work outside Claude Code?

Yes. Each skill uses only the portable Agent Skills frontmatter, so the same folder works on claude.ai, through the Claude API and in the Agent SDK. Skills that run bundled scripts need an environment with code execution.

esc