Skip to content
Skillpedia
PDF, Word & slides41k · #6544

pdf

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.md

Copy 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

Use this skill to help me: https://github.com/codewhale-hq/Codewhale/blob/main/crates/skills/assets/skills/pdf/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

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.

PDF

Use this skill for any task where a PDF is the primary input or output.

Workflow

  1. Identify the PDF operation: read, extract, OCR, split, merge, rotate, watermark, redact, fill forms, encrypt/decrypt, or create.
  2. Preserve originals. Write outputs with explicit names.
  3. Use the most reliable available tool:
    • pdftotext, pdfinfo, qpdf, or mutool through bash when installed (the built-in read tool does not extract text from a PDF)
    • Python libraries such as pypdf, pdfplumber, PyMuPDF, or reportlab when available
    • OCR tools only for scanned pages
  4. For extraction, report page coverage and note when layout, tables, or OCR quality may affect accuracy.
  5. 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

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills