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

Pdf Tools

  • 125 installs
  • 14 repo stars
  • Updated March 2, 2026
  • oakoss/agent-skills

Helps with ai & agent building tasks during AI-assisted development.

About

pdf-tools is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted coding.

  • pdf-tools
  • AI & Agent Building
  • AI-coding skill

Pdf Tools by the numbers

  • 125 all-time installs (skills.sh)
  • +6 installs in the week ending Aug 4, 2026 (Skillselion tracking)
  • Ranked #3,731 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 4, 2026 (Skillselion catalog sync)
npx skills add https://github.com/oakoss/agent-skills --skill pdf-tools

Add your badge

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

Listed on Skillselion
Installs125
repo stars14
Last updatedMarch 2, 2026
Repositoryoakoss/agent-skills

What it does

Helps with ai & agent building tasks during AI-assisted development.

Files

SKILL.mdMarkdownGitHub ↗

PDF Tools

Full-lifecycle PDF engineering covering extraction, generation, modification, form filling, and security. Prioritizes JavaScript-first solutions (pdf-lib, unpdf, Puppeteer) with Python/CLI utilities for advanced scenarios.

When to use: Extracting structured data from PDFs, generating pixel-perfect PDFs from HTML/React, modifying existing PDFs, filling forms (fillable or non-fillable), or securing documents with encryption.

When NOT to use: Simple text file processing, image-only manipulation without PDF context, or tasks better handled by a word processor.

Quick Reference

TaskToolKey Point
Generate PDF from HTMLPuppeteer / Playwrightpage.pdf(); use networkidle0 (Puppeteer) or networkidle (Playwright)
Extract text (lightweight)unpdfEdge/serverless compatible
Extract tables (AI)Vision model + Zod schemaMulti-column and merged cell support
Extract tables (non-AI)pdfplumber (Python)Precise cell boundary detection
Modify, merge, splitpdf-lib (or @pdfme/pdf-lib)Byte-level PDF manipulation in JS
Fill fillable formspdf-lib (or @pdfme/pdf-lib)Inspect AcroForm fields before writing
Fill non-fillable formsPython annotation scriptsVisual analysis + bounding box annotations
Encrypt PDFqpdfAES-256: qpdf --encrypt user owner 256 --
Repair corrupted PDFqpdfqpdf input.pdf --replace-input
Fast text extraction (CLI)poppler-utilspdftotext -layout input.pdf -
Merge thousands of filespypdf (Python)Lighter than headless browser
Batch queue processingBullMQ + unpdfRedis-backed with retry, concurrency, progress tracking
PDF/A archival complianceghostscript + verapdfgs -dPDFA=2 for conversion; verapdf for validation
Tagged PDF (accessibility)Puppeteertagged: true maps HTML semantics to PDF structure tags
Digital signatures@signpdf/\*PKCS#7 signing with P12 certificates
PDF comparisonunpdf + diff / pixelmatchText diff or pixel-level visual diff between versions
Secure redactionpymupdf (fitz)apply_redactions() removes content bytes, not just visual overlay

Common Mistakes

MistakeCorrect Pattern
Using canvas drawing commands for PDF generationUse Puppeteer/Playwright with HTML/CSS templates
Running Puppeteer in edge/serverless environmentsUse unpdf for edge; Puppeteer requires full Node.js
Extracting complex layouts with basic text parsersUse AI-assisted OCR or pdfplumber for multi-column text
Storing unencrypted PDFs with PII in public storageApply AES-256 encryption via qpdf before storage
Relying on window.print() for server-side generationUse headless browser APIs (page.pdf()) for deterministic output
Using pypdf for complex layout extractionUse pdfplumber or AI OCR for multi-column or overlapping text
Skipping font embedding in containerized environmentsEmbed Google Fonts or WOFF2 files with Puppeteer
Writing to flattened PDF form fieldsInspect AcroForm fields with pdf-lib before writing
Using unmaintained pdf-lib for encrypted PDFsUse @cantoo/pdf-lib fork which adds encrypted PDF support

Delegation

  • Inspect PDF structure and diagnose extraction issues: Use Explore agent to examine AcroForm fields, encoding, and metadata
  • Build end-to-end document processing pipelines: Use Task agent to implement extraction, transformation, and generation workflows
  • Design PDF architecture for a new system: Use Plan agent to select tools and plan extraction, generation, or modification strategies

References

  • AI Extraction Patterns -- Vision-based table extraction, recursive summarization, multi-pass verification
  • High-Fidelity Generation -- Puppeteer HTML-to-PDF, CSS print tips, React templates, browser pooling
  • Legacy Utilities -- pdfplumber, pypdf, qpdf, poppler-utils for batch and forensic tasks
  • Form Filling -- Fillable field extraction, non-fillable annotation workflow, validation scripts
  • Batch Processing and Accessibility -- Queue-based batch processing, PDF/A compliance, tagged PDFs, digital signatures, comparison, redaction

Related skills

This week in AI coding

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

unsubscribe anytime.