What it does. Process PDF files - extract text, create PDFs, merge documents. Use when user asks to read PDF, create PDF, or work with PDF files.
PDF Processing Skill
You now have expertise in PDF manipulation. Follow these workflows:
Reading PDFs
Option 1: Quick text extraction (preferred)
# Using pdftotext (poppler-utils)
pdftotext input.pdf - # Output to stdout
pdftotext input.pdf output.txt # Output to file
# If pdftotext not available, try:
python3 -c "
import fitz # PyMuPDF
doc = fitz.open('input.pdf')
for page in doc:
print(page.get_text())
"
Option 2: Page-by-page with metadata
import fitz # pip install pymupdf
doc = fitz.open("input.pdf")
print(f"Pages:
**Install**
```bash
npx skills add shareAI-lab/learn-claude-code --skill pdf
Or copy the skill folder manually:
git clone https://github.com/shareAI-lab/learn-claude-code.git
cp -r learn-claude-code/skills/pdf/ ~/.claude/skills/pdf
Source: shareAI-lab/learn-claude-code — 78,998 stars, MIT, verified 2026-10-22.