aemerson-commits/shareable-skills/pdf
Claude Code and agent skill by aemerson-commits/shareable-skills
- community
Checking that the SKILL.md file is still in the repository.
Read, create, merge, split, OCR, watermark, encrypt, fill forms, or extract from PDF files. Trigger when user mentions .pdf or asks to produce one.
Install
npx vskill@latest install aemerson-commits/shareable-skills/pdfSKILL.md
The same SKILL.md was published earlier as aemerson-commits/shareable-skills/pdf.
PDF Processing Guide
Overview
This guide covers essential PDF processing operations using Python libraries and command-line tools. For advanced features, JavaScript libraries, and detailed examples, see REFERENCE.md. If you need to fill out a PDF form, read FORMS.md and follow its instructions.
Quick Start
Python Libraries
pypdf - Basic Operations
Merge PDFs
Split PDF
Extract Metadata
Rotate Pages
pdfplumber - Text and Table Extraction
Extract Text with Layout
Extract Tables
Advanced Table Extraction
reportlab - Create PDFs
Basic PDF Creation
Create PDF with Multiple Pages
Subscripts and Superscripts
IMPORTANT: Never use Unicode subscript/superscript characters (₀₁₂₃₄₅₆₇₈₉, ⁰¹²³⁴⁵⁶⁷⁸⁹) in ReportLab PDFs. The built-in fonts do not include these glyphs, causing them to render as solid black boxes.
Instead, use ReportLab's XML markup tags in Paragraph objects:
For canvas-drawn text (not Paragraph objects), manually adjust font the size and position rather than using Unicode subscripts/superscripts.
Command-Line Tools
pdftotext (poppler-utils)
qpdf
pdftk (if available)
Common Tasks
Extract Text from Scanned PDFs
Add Watermark
Extract Images
Password Protection
Quick Reference
| Task | Best Tool | Command/Code | |
|---|---|---|---|
| Merge PDFs | pypdf | writer.add_page(page) | |
| Split PDFs | pypdf | One page per file | |
| Extract text | pdfplumber | page.extract_text() | |
| Extract tables | pdfplumber | page.extract_tables() | |
| Create PDFs | reportlab | Canvas or Platypus | |
| Command line merge | qpdf | qpdf --empty --pages ... | |
| OCR scanned PDFs | pytesseract | Convert to image first | |
| Fill PDF forms | pdf-lib or pypdf (see FORMS.md) | See FORMS.md |
Next Steps
- For advanced pypdfium2 usage, see REFERENCE.md
- For JavaScript libraries (pdf-lib), see REFERENCE.md
- If you need to fill out a PDF form, follow the instructions in FORMS.md
- For troubleshooting guides, see REFERENCE.md
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/pdf/SKILL.md
Popularity
- Repository stars
- 1
- 7-day trend score
- 3
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/aemerson-commits/shareable-skills/pdf)