Skip to content
Development
Skill

/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 plugin
code-abyss
23830 skills
Install
$ npx -y skills add telagod/code-abyss --skill processing-pdfs --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/processing-pdfs

Context preview

The summary Claude sees to decide when to auto-load this skill.

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.

SKILL.md

processing-pdfs.SKILL.md
name: processing-pdfs
description: 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.
user-invocable: false
allowed-tools: Bash, Read, Write, Edit, Glob
argument-hint: <file.pdf | task>

PDF Processing

Essential PDF operations using Python libraries and CLI tools.

Decision Matrix

| Task | Best Tool | Reference | |------|-----------|-----------| | Merge / split / metadata / rotate | pypdf | [recipes.md](references/recipes.md) | | Extract text (layout preserved) | pdfplumber | [recipes.md](references/recipes.md) | | Extract tables | pdfplumber | [recipes.md](references/recipes.md) | | Create new PDF | reportlab | [recipes.md](references/recipes.md) | | Batch CLI ops | qpdf / pdftk | [recipes.md](references/recipes.md) | | OCR scanned PDFs | pytesseract + pdf2image | [advanced.md](references/advanced.md) | | Add watermark / extract images / encrypt | pypdf / pdfimages | [advanced.md](references/advanced.md) | | Fill PDF forms | pdf-lib / pypdf | [FORMS.md](FORMS.md) | | Advanced pypdfium2 / pdf-lib JS | — | [REFERENCE.md](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

| Library | Use for | |---------|---------| | pypdf | Merge, split, metadata, encryption, rotation | | pdfplumber | Text extraction with layout, tables | | reportlab | Generate PDFs programmatically | | pdf2image + pytesseract | OCR scanned documents | | qpdf / pdftk (CLI) | Batch ops, no Python needed |

Read more
Ships withcode-abyss

Give your AI coding agent a personality. Composable persona + style + skills for Claude Code, Codex, Gemini CLI & OpenClaw. Ships Tech Persona Card v1.0 spec.

Get the whole plugin

Other skills on code-abyss.