Pdf protect

From ericwang915/PythonClaw · View interactive version

Pdf protect is an AI agent skill from the GitHub repository ericwang915/PythonClaw. Add or remove password protection on PDF files. Use when: user asks to encrypt, password-protect, unlock, or decrypt a PDF. Supports owner and user passwords with permission controls. NOT for: digital signatures, certificate-based encryption, or DRM.

How to use this skill

Skill file

PDF Protect Skill

Add or remove password protection on PDF files using PyPDF2.

When to Use

✅ USE this skill when:

When NOT to Use

❌ DON'T use this skill when:

Usage/Commands

Encrypt a PDF

python {skill_path}/protect_pdf.py encrypt INPUT_PDF OUTPUT_PDF --password SECRET [options]

Options:

Decrypt a PDF

python {skill_path}/protect_pdf.py decrypt INPUT_PDF OUTPUT_PDF --password SECRET [options]

Options:

Examples

Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.