Works with the AI Agents you already use
PDF Security - 3 Offline Protect Tools
Passwords are supplied by the buyer at run time; they are never stored in the skill, written to a config file or sent anywhere.
$5
PDF Security - 3 Offline Protect Tools
Example session with this skill installed
Request: "Protect this contract with a password before I send it."
The agent runs
python - contract.pdf -o contract-protected.pdf --password 'S3cure!Pass' <<'PY' (sec_encrypt.py source)
PY
- Read your context and instructions
- Compiled the pdf security
- Generated the document
Result (on a machine without the optional crypto package):
AES-256 unavailable (cryptography not installed); using RC4-128.
Install locally for AES-256: pip install cryptography
Wrote encrypted contract-protected.pdf (4 pages, algorithm=RC4-128, user password set)
On a machine with cryptography installed the same command reports algorithm=AES-256. To open a protected file you are authorised to read:
python - contract-protected.pdf -o contract-open.pdf --password 'S3cure!Pass' <<'PY' (sec_decrypt.py source)
PY
Wrote decrypted contract-open.pdf (4 pages)
For redaction
python - report.pdf -o report-redacted.pdf --pattern 'JOHN DOE' <<'PY' (sec_redact.py source)
PY
Wrote report-redacted.pdf (3 redaction boxes applied, 1 page)
In each case the original file is untouched. The password appears only in the command the agent runs and is not recorded in any output file. The RC4 fallback is announced loudly rather than silently downgrading: if your policy requires AES-256, install cryptography first.
contract-protected.pdf
PDF · document
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
Three local safety operations for PDFs you own or are authorised to handle. Passwords are supplied by the buyer at run time; they are never stored in the skill, written to a config file or sent anywhere.
What it does
- Encrypt - set a user password and an optional owner password. Uses AES-256 when
cryptographyis available and clearly falls back to RC4-128 otherwise. - Decrypt - open a password-protected PDF with the password you provide and write an unprotected copy.
- Redact - find text matching a literal or regex and cover it with opaque boxes using local PyMuPDF, producing a cleaned copy.
How it works
Each action is a self-contained Python script. The source PDF is read-only; every action writes a new file. Missing packages are reported with exact install commands. The redaction action writes opaque cover boxes at the matched locations - always open the result once and visually confirm the sensitive text is gone before sharing.
Where it stops
This skill does not break passwords, bypass permissions or defeat DRM. Decryption requires the correct password and is intended for documents you are entitled to open. Text-level redaction cannot remove data embedded in images, annotations, attachments or metadata; use a visual review for high-stakes documents.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Security.
Redaction only covers text layers; metadata and images remain. AES-256 encryption requires the optional cryptography package. No support for password cracking or DRM removal.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed today
- Software
Python 3.9+pypdf
- Optional
- PyMuPDF (redaction)cryptography (AES-256)
Requires Python 3.9+ and pypdf. Redaction uses PyMuPDF; AES-256 encryption uses cryptography when installed.
Permissions
files read (user-selected PDF files and buyer-supplied passwords passed as arguments), files write (new PDF copies only); no network; no API keys; no environment variables stored; no passwords persisted by the skill.