/documents-skills:pdf-toolkitfrom documents-skills
Audits PDF files for metadata leakage, page count, encryption, embedded JavaScript, embedded files, and version. Useful before external document handoff or security review.
Ships in documents-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Audit .pdf files for metadata, page count, encryption status, embedded JavaScript, embedded files, and PDF version — using the standard library only.
pdf, pdf audit, pdf metadata, pdf review, pdf leakage, pdf security, redaction, document handoff
Before running the audit, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.
Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.
python scripts/pdf_auditor.py contract.pdf
Outputs: PDF version, page count, file size, metadata (Author, Title, Producer, Creator, dates), encryption status, embedded JavaScript indicators, embedded file indicators.
Goal: Stop leaking author identity, prior client names, or document history when handing a PDF to an external party.
Steps:
python scripts/pdf_auditor.py document.pdfAuthor matches the sender (not "Bob's intern" from a prior project)Title matches the document, not a leftover working titleProducer doesn't reveal an internal-only PDF toolCreationDate and ModDate are reasonable for the dealTime Estimate: 2-3 minutes per document.
Goal: Decide whether a received PDF can be opened safely on a managed laptop.
Steps:
Time Estimate: 1-2 minutes per inbound document.
Goal: Audit every PDF in a folder before zipping for a customer or partner.
Steps:
for f in *.pdf; do python scripts/pdf_auditor.py "$f" --json; done > audit.jsonlTime Estimate: 1-2 minutes per file.
Reads a PDF using stdlib parsing — no pypdf or pdfplumber required. Detects:
/Type /Page object scan)/Encrypt reference present)/JS, /JavaScript, /AA keys)/EmbeddedFiles)python scripts/pdf_auditor.py document.pdf
python scripts/pdf_auditor.py document.pdf --json
Limits:
pdfplumber or pypdf separately.references/pdf_handoff_guide.md — What to scrub from PDFs before external send; PDF/A and PDF/UA basics; common leakage patternsassets/pdf_handoff_checklist.md — Pre-send PDF sign-off checklistPublic-Report.pdf can carry private metadata indistinguishable to the human eye.In Scope:
.pdf files with scripts/pdf_auditor.py, using standard-library parsing with no pypdf or pdfplumberOut of Scope:
markdown-html/md-document/)Important Caveats:
legal/ for redacted contract handoffsc-level-advisor/board-deck-builder for board pack handoffmarketing/ for whitepaper / case-study handoffWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
4 skills in this plugin
/docx-toolkitAudit Microsoft Word (.docx) documents for heading hierarchy, comments, tracked changes, and style consistency. Use when reviewing a contract draft, preparing a document for handoff, or enforcing a style guide.
/pptx-toolkitAudit PowerPoint (.pptx) decks for slide count, text density, embedded images and fonts, hidden slides, speaker notes, and animation density. Use when reviewing a board deck, sales deck, or conference talk before sending.
/xlsx-toolkitAudit Microsoft Excel (.xlsx) workbooks for formula density, external references, named ranges, hidden sheets, and data validation. Use when reviewing a financial model, sharing a workbook externally, or checking for data leakage.
npx claudepluginhub borghei/claude-skills --plugin documents-skillsOther plugins' skills for the same job