pdf-unlock
Skill0 starsChanged 38 days agoMITView on GitHub
Remove the open password from a password-protected PDF, given the correct password. Use when the user has an encrypted/password-protected PDF (e.g. a bank statement, e-Aadhaar, a bill) and wants a copy that opens without a password.
- Installs packages
In this repository10 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- advance-taxSkill
- bond-portfolio-monitorSkill
- dsa-travelSkill
- html-slidesSkill
- itr2-filing-assistantSkill
- mutual-fund-reviewSkill
- my-spendingsSkill
- news-briefingSkill
- portfolio-reviewSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 16
Run python3 ${CLAUDE_SKILL_DIR}/remove_password.py <path> <password>.
- Very specific: line 19
If pypdf is missing, the script uses the qpdf command when it is installed.
- Very specific: line 28
If neither works (no network or no pip in this environment), tell the user that this environment cannot install pypdf, and that the script …
- Distinctive: line 32
Never write the PDF's contents, extracted text, or the password itself into this repo or into any committed file — the input and output …
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Request for this run: $ARGUMENTS
Run python3 ${CLAUDE_SKILL_DIR}/remove_password.py <path> <password>. It writes
<input>_unlocked.pdf next to the input file by default; pass -o <path> to change that.
If pypdf is missing, the script uses the qpdf command when it is installed. If it exits with
status 3, it is missing a package, and its message names it. Install pypdf[crypto] and retry. The
[crypto] extra matters: without it pypdf cannot open AES-256 PDFs, which many banks use. Try these
in order and stop at the first that works:
pip install 'pypdf[crypto]'pip install --user --break-system-packages 'pypdf[crypto]'(for a Python that refuses with "externally-managed-environment")
If neither works (no network or no pip in this environment), tell the user that this environment
cannot install pypdf, and that the script runs anywhere with Python and pypdf[crypto], or with
qpdf. Do not try other ways of decrypting the PDF.
Never write the PDF's contents, extracted text, or the password itself into this repo or into any committed file — the input and output files live wherever the user's PDF already lives, never here.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

