agentsclimarketplace

Processing pdfs

Skill telagod/code-abyss/skills/processing-pdfs

Processes PDF files. Extracts text and tables, fills forms, merges and splits documents, batch-processes files, converts to images, and generates PDFs programmatically. Use when working with .pdf files. Do NOT use for Word documents, spreadsheets, or presentations.From its SKILL.md

Install
npx -y skills add telagod/code-abyss --skill processing-pdfs

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

2.1 KB, 447 tokens by cl100k_base, as published. Nobody here has run it

PDF Processing

Essential PDF operations using Python libraries and CLI tools.

Decision Matrix

TaskBest ToolReference
Merge / split / metadata / rotatepypdfrecipes.md
Extract text (layout preserved)pdfplumberrecipes.md
Extract tablespdfplumberrecipes.md
Create new PDFreportlabrecipes.md
Batch CLI opsqpdf / pdftkrecipes.md
OCR scanned PDFspytesseract + pdf2imageadvanced.md
Add watermark / extract images / encryptpypdf / pdfimagesadvanced.md
Fill PDF formspdf-lib / pypdfFORMS.md
Advanced pypdfium2 / pdf-lib JS—REFERENCE.md

Quick Start

from pypdf import PdfReader
reader = PdfReader("document.pdf")
print(f"Pages: {len(reader.pages)}")
text = "".join(page.extract_text() for page in reader.pages)

Workflow

  1. Identify task — text extraction? table? creation? form? Pick row from matrix above.
  2. Load reference — recipes.md covers 90% of tasks; advanced.md for OCR / encrypt; FORMS.md for forms.
  3. Implement — copy-adapt recipe; verify output.
  4. Validate — open in a viewer or grep extracted text.

Library Selection

LibraryUse for
pypdfMerge, split, metadata, encryption, rotation
pdfplumberText extraction with layout, tables
reportlabGenerate PDFs programmatically
pdf2image + pytesseractOCR scanned documents
qpdf / pdftk (CLI)Batch ops, no Python needed

What ships with it: 12 files

58.9 KB alongside SKILL.md, 8 of them executable

references/

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.