Skip to content
Agentmart
Submit a tool

protect-with-password

Generate ONE strong password and apply it to each referenced file (PDF, Word, Excel, PowerPoint, or any type).

Skill by transilienceai

IndexedMIT★ 591
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/transilienceai-protect-with-password

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Generate ONE strong password and apply it to each referenced file (PDF, Word, Excel, PowerPoint, or any type). Use when asked to password-protect / encrypt / lock one or more deliverable files with a single password before sharing.

Use cases: documents, spreadsheets, presentations

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/protect-with-password

What's inside

Skill name
protect-with-password
Description
Generate ONE strong password and apply it to each referenced file (PDF, Word, Excel, PowerPoint, or any type). Use when asked to password-protect / encrypt / lock one or more deliverable files with a single password before sharing.
License
MIT
Instructions
33 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Protect With Password

Mint a single strong password and password-protect every referenced file with it, "accordingly" per file type. Deterministic, non-destructive (originals are never touched), AES-256 or nothing.

## Run it

```
python3 tools/protect_with_password.py FILE [FILE ...] \
    [--password PW] [--length 24] [--out-dir DIR] \
    [--password-file PATH | --no-password-file]
```

- Pass every file the user referenced as positional arguments.
- By default a strong password is generated (`--password` overrides to reuse one).
- Protected copies are written alongside each input, or into `--out-dir`.
- The tool prints a JSON summary on stdout and a password banner on stderr, and (unless `--no-password-file`) writes the password to a chmod-600 `PROTECT-PASSWORD.txt`.

## How each type is protected

| File | Protection | Result |
|------|-----------|--------|
| `.pdf` | Native AES-256 (qpdf → pypdf fallback) | `<name>-protected.pdf` — recipient is prompted for the password on open |
| `.docx/.xlsx/.pptx`, `.doc/.xls/.ppt`, images, anything else | AES-256 7-Zip archive (`-mhe=on`, filenames encrypted) | `<name>.7z` — recipient extracts with the password (7-Zip / Keka / WinRAR) |

Native in-file Office (MS-OFFCRYPTO "agile") encryption needs LibreOffice or a dedicated encryptor that is not bundled here, so Office files are wrapped in a strong AES-256 archive instead. If no AES-256 tool is available for a file, it is reported as a failure — never downgraded to weak ZipCrypto/RC4 (no false assurance).

## After running

Relay the password to the user and remind them to **share it OUT-OF-BAND** — never in the same channel/email as the protected files — and to delete `PROTECT-PASSWORD.txt` once handed over. Exit code is 0 only if every file was protected; 1 if any failed (check `results[].reason`).

Related: [`tools/protect_deliverable.py`](../../tools/protect_deliverable.py) does the engagement-wide variant (one protected PDF + an AES-256 deliverable zip); this skill protects an arbitrary set of individual files.

From transilienceai/communitytools, MIT.

More from transilienceai/communitytools

Signals

Stars
591
Forks
83
Open issues
10
Last commit (this folder)
Jul 26, 2026 (3 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from transilienceai

Cite this page

protect-with-password skill. Agent Mart. https://agentmart.dev/skills/transilienceai-protect-with-password (last updated 2026-10-24)