Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
vasilyu1983 avatar

Document Pdf

  • 601 installs
  • 73 repo stars
  • Updated July 13, 2026
  • vasilyu1983/ai-agents-public

document-pdf is a Claude Code skill that enables coding agents to read and understand PDF documentation, research papers, and product specifications for developers who need structured text extracted from PDF artifacts.

About

document-pdf is a skill in vasilyu1983/ai-agents-public ranked #5 on skills.sh with 469 installs. It equips coding agents to read and comprehend PDF files including technical documentation, research papers, and product specifications. Developers invoke document-pdf when implementation depends on content locked in PDF format rather than markdown or web pages. The skill fits agent workflows that must summarize requirements, extract API details, or answer questions from uploaded specification PDFs. Reach for document-pdf when a task references .pdf files, vendor docs distributed as PDF, or academic papers needed for feature design.

  • Enables Claude, Cursor and other agents to directly ingest PDF files as context
  • Supports complex technical documents, whitepapers and manuals
  • Reduces manual copy-paste of reference material
  • Works with local and remote PDF sources

Document Pdf by the numbers

  • 601 all-time installs (skills.sh)
  • +11 installs in the week ending Jul 27, 2026 (Skillselion tracking)
  • Ranked #1,580 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/vasilyu1983/ai-agents-public --skill document-pdf

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs601
repo stars73
Last updatedJuly 13, 2026
Repositoryvasilyu1983/ai-agents-public

How do coding agents read and parse PDF files?

Let their coding agent read and understand PDF documentation, research papers, or product specs.

Who is it for?

Developers whose agent workflows must ingest vendor PDFs, API specification documents, or research papers before writing code.

Skip if: Teams working exclusively with markdown, HTML, or plain-text docs where standard Read tool access suffices without PDF parsing.

When should I use this skill?

User uploads or references a .pdf file, asks to read PDF documentation, extract spec details, or summarize a research paper in an agent session.

What you get

Extracted PDF text, structured summaries, and agent-ready answers from documentation or research paper content.

  • Extracted PDF text
  • Structured document summary

By the numbers

  • 469 installs on skills.sh
  • Ranked #5 in vasilyu1983/ai-agents-public on skills.sh

Files

SKILL.mdMarkdownGitHub ↗

Document PDF Skill — Quick Reference

This skill enables PDF creation, extraction, manipulation, and analysis. Claude should apply these patterns when users need to generate invoices, reports, extract data from PDFs, merge documents, or work with PDF forms.

Modern Best Practices (Jan 2026):

  • PDF is a release artifact, not the editable source of truth.
  • Validate export fidelity (fonts, images, links) and accessibility where required.
  • Accessibility: if compliance matters, target a tagged/structured PDF workflow (often PDF/UA-aligned) and validate with tooling.
  • EU distribution: EAA (June 2025) typically implies EN 301 549 expectations for customer-facing PDFs.
  • Treat PDFs as sensitive: scrub metadata, ensure real redaction, and control distribution.

Core Decision Rules (2026)

  • First decide: born-digital PDF (selectable text) vs scanned PDF (images). Scanned PDFs usually require OCR; see references/pdf-extraction-patterns.md.
  • If the user needs accessibility/compliance, prefer generating from a source format that supports structure (DOCX/HTML + proper export) rather than “post-fixing” an untagged PDF.
  • For deterministic ops (merge/split/rotate/scrub), prefer scripts/ helpers over re-implementing ad hoc.
  • Never treat black rectangles or overlays as redaction; use real redaction and verify by copy/paste + search.

---

Quick Reference

TaskTool/LibraryLanguageWhen to Use
Create PDFpdfkitNode.jsReports, invoices, certificates
Create PDFReportLabPythonComplex layouts, tables
Create PDFFPDF2PythonSimple PDFs with Unicode support
Create PDFBorbPythonInteractive elements, pure Python
Edit PDFpdf-libNode.jsModify existing PDFs, add pages
Extract textpdfplumberPythonOCR-free text extraction
OCR scanned PDFPyMuPDF + TesseractPythonScanned PDFs (no selectable text)
Extract tablesCamelotPythonTables with borders (Lattice mode)
Extract tablesCamelot/TabulaPythonTables without borders (Stream mode)
Parse/merge/split/rotatepypdfPythonDeterministic PDF manipulation
Fill formspdf-libNode.jsForm automation
HTML to PDFPuppeteer/PlaywrightNode.jsHigh-fidelity web page rendering
HTML to PDFWeasyPrintPythonCSS3-based, no browser needed

When to Use This Skill

Claude should invoke this skill when a user requests:

  • Generate PDFs from data (invoices, reports, certificates)
  • Extract text or tables from existing PDFs
  • Merge multiple PDFs into one document
  • Split PDFs into separate files
  • Fill PDF forms programmatically
  • Add watermarks, headers, footers
  • Convert HTML/web pages to PDF

---

Default Workflow

  • Create: pick pdfkit (Node) or ReportLab (Python) and start from assets/invoice-template.md or assets/report-template.md; for advanced layouts use references/pdf-generation-patterns.md.
  • Extract: use references/pdf-extraction-patterns.md (text/tables/images/metadata + OCR fallback).
  • Ship: run assets/pdf-release-checklist.md (fidelity, links, accessibility baseline, privacy).

Scripts (Deterministic Operations)

Scripts are optional helpers; they assume Python 3 plus the listed dependencies in each file.

  • Merge: python3 scripts/merge_pdfs.py merged.pdf a.pdf b.pdf
  • Split: python3 scripts/split_pdf.py in.pdf out_dir --each-page
  • Rotate: python3 scripts/rotate_pdf.py in.pdf out.pdf --degrees 90
  • Scrub metadata: python3 scripts/scrub_metadata.py in.pdf out.pdf

PDF Structure Patterns

Invoice Template

INVOICE STRUCTURE
├── Header (logo, company info, invoice #)
├── Bill To / Ship To blocks
├── Line items table
│   ├── Description | Qty | Unit Price | Total
│   └── Subtotal, Tax, Total
├── Payment terms
└── Footer (contact, thank you)

Report Template

REPORT PDF STRUCTURE
├── Cover page (title, author, date)
├── Table of contents
├── Body sections with page numbers
├── Charts/images with captions
├── Appendices
└── Running header/footer

---

Decision Tree

PDF Task: [What do you need?]
    ├─ Create new PDF?
    │   ├─ Simple text/tables → pdfkit (Node) or ReportLab (Python)
    │   ├─ Complex layouts → ReportLab with Platypus
    │   └─ From HTML → Puppeteer or wkhtmltopdf
    │
    ├─ Extract from PDF?
    │   ├─ Text only → pdfplumber (Python)
    │   ├─ Tables → pdfplumber or camelot (Python)
    │   └─ Images → PyMuPDF/fitz (Python)
    │
    ├─ Modify existing PDF?
    │   ├─ Add text/images → pdf-lib (Node)
    │   ├─ Merge/split → pypdf or pdf-lib
    │   └─ Fill forms → pdf-lib
    │
    └─ Batch processing?
        └─ pypdf + pdfplumber pipeline

---

Do / Avoid (Jan 2026)

Do

  • Keep a versioned source document (doc/slide/design file) alongside the PDF.
  • Verify links and reading order for long documents.
  • Use real redaction and test by copy/paste.

Avoid

  • Editing PDFs as the primary workflow when a source doc exists.
  • Shipping PDFs with broken links or illegible charts.
  • Including customer PII or secrets in PDFs without explicit approval.

What Good Looks Like

  • Fidelity: export is reproducible from a versioned source file (doc/slide/design) and looks identical across viewers.
  • Accessibility: tags/reading order are correct; links work; scanned docs are OCRed when appropriate.
  • Release hygiene: file naming includes version/date; metadata is clean; no “PDF as source of truth”.
  • Security: redaction is verified (copy/paste test) and sensitive data is minimized.
  • QA: release checklist completed using assets/pdf-release-checklist.md.

Optional: AI / Automation

Use only when explicitly requested and policy-compliant.

  • Generate a release checklist run; humans verify the final PDF manually.

Navigation

Resources

  • references/pdf-generation-patterns.md — Complex layouts, multi-page docs
  • references/pdf-extraction-patterns.md — Text, table, image extraction
  • references/pdf-accessibility-compliance.md — Tagged PDFs, PDF/UA, EAA compliance
  • references/pdf-forms-interactive.md — AcroForms, form filling, digital signatures
  • references/pdf-security-redaction.md — Encryption, permissions, real redaction
  • data/sources.json — Library documentation links

Templates

  • assets/invoice-template.md — Invoice PDF generation
  • assets/report-template.md — Multi-page report structure
  • assets/pdf-release-checklist.md — Links, accessibility, export fidelity

Related Skills

  • ../document-docx/SKILL.md — Word document generation
  • ../document-xlsx/SKILL.md — Excel/spreadsheet workflows
  • ../document-pptx/SKILL.md — PowerPoint presentations

Fact-Checking

  • Use web search/web fetch to verify current external facts, versions, pricing, deadlines, regulations, or platform behavior before final answers.
  • Prefer primary sources; report source links and dates for volatile information.
  • If web access is unavailable, state the limitation and mark guidance as unverified.

Related skills

How it compares

Choose document-pdf over generic Read tool usage when source material is PDF-encoded documentation or research papers agents cannot parse natively.

FAQ

What file types does document-pdf handle?

document-pdf targets PDF files including technical documentation, research papers, and product specifications. Coding agents use it to extract and summarize PDF text before answering implementation questions.

How popular is document-pdf on skills.sh?

document-pdf in vasilyu1983/ai-agents-public ranks #5 on skills.sh with 469 installs. Developers add it when agent sessions routinely depend on PDF source documents.

When should an agent invoke document-pdf?

Invoke document-pdf when a user references .pdf files, uploads specification documents, or asks to read research papers. The skill structures PDF content for downstream coding or summarization tasks.

AI & Agent Buildingagentsautomation

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.