Skip to content

seb1n/awesome-ai-agent-skills / documents-and-files/pdf-processing

pdf-processing

Verified

Inspect, extract, OCR, create, merge, split, reorder, rotate, annotate, fill, redact, compress, secure, and verify PDF documents while preserving source files and visual fidelity. Use when working with one or more .pdf files; converting documents to or from PDF; extracting text, tables, images, metadata, forms, or page ranges; applying true redactions or signatures; diagnosing malformed, encrypted, scanned, or inaccessible PDFs; or validating that a PDF transformation preserved the intended content and layout.

FileKindSize
SKILL.mdskill md9.7 KB
agents/openai.yamlconfig215 B
assets/processing-record-template.mdmarkdown1.0 KB
references/tool-routing.mdmarkdown3.0 KB
references/verification-checklist.mdmarkdown2.6 KB
scripts/inspect_pdf.pyexecutablescript12.6 KB

references/verification-checklist.md

View on GitHub
# PDF verification checklist

Select checks that match the requested operation and state which were not possible.

## Structural

- Input and output paths, hashes, and byte sizes recorded.
- Output opens in an independent parser/viewer without repair warnings.
- PDF header, EOF, cross-reference/page tree, page count, order, labels, size, and rotation are expected.
- Encryption, permissions, metadata, attachments, bookmarks, links, forms, annotations, layers, and signatures are preserved or intentionally changed.
- No unexpected JavaScript, automatic action, launch action, rich media, or embedded file was introduced.
- For untrusted parsing/rendering, the exact sandbox/tool configuration disabled network, JavaScript/actions, form submission, attachment activation/extraction, rich media, and host integrations; otherwise parsing/rendering was not performed.

## Content

- Text that should remain unchanged compares page-by-page after normalization.
- OCR output is checked against page images, especially names, dates, amounts, identifiers, and negation.
- Tables reconcile row/column counts and totals to the rendered source.
- Images are present, correctly cropped, and sufficiently resolved.
- Page mapping is explicit for merge, split, reorder, delete, or rotation operations.

## Visual

- Every changed page is rendered and inspected.
- Representative unchanged pages include the first, last, dense, image-heavy, and unusual-size pages.
- No clipping, overlap, font substitution, missing glyph, broken link appearance, blank page, shifted table, or wrong rotation is visible.
- Print margins, bleed, color, and resolution are checked when the output is for printing.

## Operation-specific

- **Redaction:** underlying text/images are absent under independent extraction/object inspection; metadata, comments, thumbnails, attachments, and hidden layers are addressed; the output is a full non-incremental rewrite with no retained prior revisions or original/redacted objects. Multiple revision/EOF evidence is treated as a failed redaction check until explained by independent inspection.
- **OCR:** the image layer remains if required; hidden text aligns adequately; confidence limitations are reported.
- **Compression:** measured size reduction is paired with visual and searchability checks.
- **Forms:** values persist in the intended viewer; flattened and editable copies are labeled.
- **Signatures:** signer identity, time, certificate chain, covered byte range, and validation status are checked by an appropriate validator.
- **Accessibility/archival:** a dedicated validator report is retained; visual inspection alone is not sufficient.
canvas-designanthropics/skillsCreate beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
docxanthropics/skillsUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', '.dotx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx or .dotx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
pdfanthropics/skillsUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
pptxanthropics/skillsUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates (.potx), layouts, speaker notes, or comments. Trigger whenever the user mentions "deck," "slides," "presentation," or references a .pptx or .potx filename, regardless of what they plan to do with the content afterward. If a .pptx or .potx file needs to be opened, created, or touched, use this skill.Stars: 198kUpdated Claude CodeCodexVerifiedInstall