What it does
Use this skill whenever the user wants to do anything with PDF files.
Instructions the AI follows
This is the skill's own instruction file. It's written for the AI, so it can read like a list of orders. You don't need to read it to use the skill.
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.
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.
For canvas-drawn text (not Paragraph objects), manually adjust font the size and position rather than using Unicode subscripts/superscripts.
| 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 |
- 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
From skills/pdf/SKILL.md in anthropics/skills · read from GitHub at commit dbd4588
Try it
- 1Add pdf to your AI
- 2Ask for something like this
Pull every table out of this 40-page utility rate PDF into a spreadsheet so I can compare plans.
Merge these 6 scanned receipts into one PDF in date order and make the text searchable for my expense report.
Fill out this W-9 PDF form with my details: [name, address, SSN last 4 left blank for me]. Leave the signature line empty.
Example prompts written from the skill's instructions.
Safety
SafeDetails
All three scanners ran and found nothing that could steal your data or hijack your AI.
What it can do- Runs commands on your computer
- Asks for wide access to your files
No clear license.
- Scanners
- SkillSpector 2.12.0 · HoneyBadger 0.8.1 · agentscan 1.2.2
- Version scanned
dbd4588anthropics/skills/skills/pdf- Scanned on
- Nov 10, 2026
- Raw reports
- full report skillspector honeybadger agentscan
- Secret scanPassed
- Dangerous commandsNoticed
agentscan: shell medium forms.md:60 Invokes shell backticksCan run commands on your computer. (LLM06 Excessive Agency) - Network callsPassed
- PermissionsNoticed
HoneyBadger: cap-bin-drift MEDIUM scripts/extract_form_field_info.py:32 undeclared bins: ., Annotation, Document, Loaded, convert, extract_form_field_info.py, extract_form_structure.py, field_values.json, fill_fillable_fields.py, form_structure.json, image_height, image_width, magick, pdf_height, pdf_width, pdfimages, pdftotext, python, qpdf, top (41 total evidence lines)Runs programs without saying so. (LLM06 Excessive Agency)HoneyBadger: cap-fs-drift MEDIUM scripts/create_validation_image.py:10 filesystem silent; 24 evidence lines (first shown)Touches files without saying so. (LLM06 Excessive Agency)SkillSpector: LP3 MEDIUM SKILL.md:1 Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: file_read, file_write.The skill doesn't say what it's allowed to touch, but its files can read other files. Asks for more access than it says. (LLM06 Excessive Agency) - Prompt injectionPassed
- LicenseNoticed
GitHub API: No license found.License is missing or unclear. (LLM03 Supply Chain) - MaintenancePassed
No person has signed this one off yet.
runs local Python scripts. 0 scanner findings.
An AI reviewer read the files and wrote this. It is not a scan, nobody approved it yet, and it never sets the label above.
Three open-source scanners (SkillSpector, HoneyBadger, agentscan) check this exact version. Heads up means it could steal your data or hijack your AI. What it can do is listed, not warned about. Scanners miss things.
How we check: only harm earns a Heads up, meaning prompt injection (OWASP LLM01) or data leaks (LLM02), in files the skill ships. Abilities like running commands (LLM06) are listed, not warned about. No AI is used for this step. OWASP
Details
- Stars
- 200kwhole repo
- Installs
- 236kon skills.sh
- Last updated
- Nov 16, 2026on GitHub
GitHub and skills.sh numbers are a snapshot from Nov 24, 2026, not live.
Community
Comments
How to add pdf to Claude
Press Add to your AI at the top of this page and pick Claude, or do it yourself:
- Download the skill. Keep the .zip as it is.
- On Claude's skills page, click +, then Create skill, then Upload a skill.
- Pick the file you downloaded and switch the skill on.
Works on every Claude plan, Free included. Code execution and file creation need to be on in Claude's settings. How to add a skill to Claude, step by step.
In ChatGPT
Skills are on ChatGPT Business, Enterprise, Healthcare and Edu plans. Download the skill. Keep the .zip as it is. In ChatGPT, open Plugins in the sidebar, then the Skills tab, then Create, then Upload from your computer. Pick the file you downloaded. ChatGPT checks it, then it's ready. More on ChatGPT.
For AI apps and agents: the skill's instructions as plain text, at the version we scanned.