Skip to content
Back to skills

Pdf Documents

ASecurity

Use when inspecting, creating or changing PDFs, including forms and redaction. Not for editing an Office source document.

  • 36 stars
  • 0 votes
  • 2 copies
  • 13 views
  • Added September 22, 2026
ai-agents

Works with

  • cli

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 28, 2026

npx -y skills add Whq02/MercuryCLI --skill pdf-documents --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Pdf Documents?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Pdf Documents
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/whq02-pdf-documents/badge)](https://www.skillsdirectory.com/skills/whq02-pdf-documents)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: pdf-documents
description: Use when inspecting, creating or changing PDFs, including forms and redaction. Not for editing an Office source document.
argument-hint: "<file.pdf or new> [operation]"
---
# PDF documents

Open the requested pages with Mercury `Read`; separate visible content from extractable text. Use OCR for scans. Check which PDF libraries and renderers are installed before writing a transformation; a byte-regex scan is not a PDF parser.

Choose the operation, not a universal converter: pypdf for page assembly and AcroForms, pdfplumber for positioned extraction, PyMuPDF for rendering or applied redactions, ReportLab for new layouts. For forms, preserve the document's field tree and verify the filled values and their rendered appearances. Obtain authorised access to encrypted inputs.

Write a separate output. Redaction must remove the underlying content, not paint over it; check extracted text, metadata and embedded material as well as the page image. Do not claim secure removal from a visual check alone.

Reopen the output and inspect changed pages with `Read`. Compare page order, form values and required text; look for clipping and missing glyphs. Name any missing dependency or unverified visual result instead of calling conversion success proof.

Files in this skill

  • SKILL.md1.7 KB
  • scripts/pdf_pages.py4.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.