PDF toolkit
Reads, creates, merges, splits, fills and watermarks PDF files, and pulls the text and tables out of them.
Claude's review
7/10 Practical code recipes for PDF tasks, honest about scanned files, though it assumes a particular sandbox.
We asked Claude the question you would ask: would I be glad I installed this? We only sell skills it rates 7 or higher.
In detail
Read, extract (text/tables), create, merge/split/rotate, watermark, encrypt, fill, and render-to-image .pdf files. Use whenever the user uploads a .pdf or asks to produce, edit, or pull data out of one.
How you use it
- Add it to your pack, then download your pack (1 credit).
- In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
- Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide
Safety check
Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: pdf
description: Read, extract (text/tables), create, merge/split/rotate, watermark, encrypt,
fill, and render-to-image .pdf files. Use whenever the user uploads a .pdf or asks to
produce, edit, or pull data out of one.
tags:
- tool
- office
requires:
sandbox: shell
---
# PDF
Work PDFs in the sandbox with preinstalled Python libs. Pick the library by task:
- **Extract** text/tables/layout/word-coordinates → `pdfplumber`; quick raw text or page ops → `pypdf`.
- **Merge / split / rotate / crop / watermark / encrypt / metadata** → `pypdf`.
- **Fill forms** → `pypdf` (fillable AcroForm fields) or annotation overlay (flat forms).
- **Create from scratch** → `reportlab`.
Use `exec` with complete Python source (`language: python`). Prefer creating,
reopening, and validating the PDF in one call; later calls can revise the same
relative filename. Follow the turn's **User workspace** instructions for
locating inputs, output boundaries, and presenting the finished file.
Preserve an explicitly requested quantity (such as 500 words) and verify the count in the output before finishing. If execution fails or the artifact is missing, diagnose stderr/root cause and change strategy; do not retry identical code or reduce the requested scope without asking.
## Extract text and tables (pdfplumber)
```python
import pdfplumber
with pdfplumber.open("in.pdf") as pdf:
for i, page in enumerate(pdf.pages, 1):
print(f"--- page {i} ---")
print(page.extract_text() or "") # layout-aware text
for t in page.extract_tables(): # list of tables; each is list[row]
for row in t:
print(row)
```
...From HKUDS's repository, Apache-2.0 licence.
Related skills
-
Checked
Word document builder
Reads, creates and edits Word documents, including tables, contents pages, tracked changes and comments.
8/101 credit -
Checked
Official form explainer
Explains an official form field by field: what to write, documents needed, the deadline and where to send it.
7/101 credit -
Checked
Arc42 architecture docs
Writes arc42 software architecture documents with clear links between decisions, risks and technical debt.
7/101 credit -
Checked
Incident postmortem writer
Writes blameless incident postmortems with fishbone and five whys analysis, so the team fixes root causes.
8/101 credit -
Checked
Plain language docs
Rewrites docs and notes in plain English with short active sentences, so anyone can follow them first time.
8/101 credit -
Checked
Clear runbooks and READMEs
Rewrites docs, runbooks and error messages in Simplified Technical English so readers get one clear meaning.
8/101 credit