What it does
This skill covers most common PDF tasks, from pulling text out of a file to building a new one. It is for anyone working with PDF documents.
When to use it
- ✓When you need text or tables pulled out of a PDF.
- ✓When you want to merge, split, or rotate PDF pages.
- ✓When you need to run OCR on a scanned PDF so its text can be searched.
Skill link
https://github.com/codewhale-hq/Codewhale/blob/main/crates/skills/assets/skills/pdf/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Merge these three PDF reports into one file and tell me the page count.”
5 new skills a week. 1 minute to read.
How it works
The AI identifies the PDF task, keeps your originals, uses an available PDF tool, and verifies the output by page count, text, and file size.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Use this skill for any task where a PDF is the primary input or output.
Workflow
- Identify the PDF operation: read, extract, OCR, split, merge, rotate, watermark, redact, fill forms, encrypt/decrypt, or create.
- Preserve originals. Write outputs with explicit names.
- Use the most reliable available tool:
pdftotext,pdfinfo,qpdf, ormutoolthroughbashwhen installed (the built-inreadtool does not extract text from a PDF)- Python libraries such as
pypdf,pdfplumber,PyMuPDF, orreportlabwhen available - OCR tools only for scanned pages
- For extraction, report page coverage and note when layout, tables, or OCR quality may affect accuracy.
- For generated or modified PDFs, verify page count, text extraction where possible, and file size. For redaction, confirm removed text is not extractable from the output.
Ask before installing dependencies or running OCR over large documents. Do not represent a visually scanned PDF as fully accurate text unless OCR quality has been checked.
FAQ
Does it overwrite my original files?
No. The skill says to preserve originals and write outputs with explicit names.
Is OCR always accurate?
No. The skill says not to treat a scanned PDF as fully accurate without checking OCR quality.
Does it check redactions?
Yes. For redaction, the skill says to confirm the removed text cannot be extracted from the output.
Details
Original description by the author
Read, extract, split, merge, rotate, watermark, fill, OCR, or create PDF files with verification of page counts and text extraction.
repo: codewhale-hq/Codewhale
Popularity
- GitHub stars
- 41k
- Ranking position
- #6544
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
best-of-n
41kHelps your agent produce several independent answers to a hard problem, judge them against one rubric, and apply only the one that passes checks.
dataviz
41kHelps your agent choose a suitable chart or dashboard for your data, with clear labels, source notes, and checks on axes and missing values.
debug
41kHelps your agent find the real cause of a bug by reproducing it, narrowing it down, and fixing only when you approve, instead of guessing.
delegate
41kTeaches your agent to split a large task into focused parallel helpers, while keeping planning, integration, and the final check in its own hands.
Similar skills
feishu-doc
394kHelps your agent read, create, and edit Feishu cloud documents, including text, images, and tables, using the document tool.
feishu-drive
394kLets your agent browse, organize, and comment on files in a Feishu cloud folder that has been shared with the bot.
feishu-perm
394kHelps your agent check and change who can access a Feishu file, choosing the smallest permission that meets your request.