File security toolkit

From aipoch/medical-research-skills · View interactive version

File security toolkit is an AI agent skill from the GitHub repository aipoch/medical-research-skills. Encrypt/decrypt local files, redact sensitive information in documents, and validate password strength when handling private data or preparing files for sharing.

How to use this skill

Skill file

Source: https://github.com/aipoch/medical-research-skills

File Security Toolkit

When to Use

Key Features

Dependencies

Example Usage

cd "20260316/scientific-skills/Others/file-security-toolkit"
python -m py_compile scripts/file_security.py
python scripts/file_security.py --help

Example run plan:

  1. Confirm the user input, output path, and any required config values.
  2. Edit the in-file CONFIG block or documented parameters if the script uses fixed settings.
  3. Run python scripts/file_security.py with the validated inputs.
  4. Review the generated output and return the final artifact with any assumptions called out.

Implementation Details

1. When to Use

Use this skill when you need to:

2. Key Features

3. Dependencies

Install dependencies with:

python -m pip install pyzipper cryptography python-docx python-pptx pillow

Python version is not specified in the source document. Ensure your environment supports the listed packages.

4. Example Usage

Entry point script:

python scripts/file_security.py --help

Check password strength

python scripts/file_security.py check-password --password "Abcdefg1"

Encrypt / decrypt a single file

python scripts/file_security.py file-encrypt \
  --input sample.txt \
  --output sample.txt.enc \
  --password "Abcdefg1"

python scripts/file_security.py file-decrypt \
  --input sample.txt.enc \
  --output sample_out.txt \
  --password "Abcdefg1"

Encrypt / decrypt a folder or files as ZIP (AES-256)

python scripts/file_security.py zip-encrypt \
  --input ./my_folder \
  --output ./my_folder.zip \
  --password "Abcdefg1"

python scripts/file_security.py zip-decrypt \
  --input ./my_folder.zip \
  --output ./my_folder_out \
  --password "Abcdefg1"

Redact sensitive information in documents

python scripts/file_security.py redact \
  --input ./docs/input.docx \
  --output ./docs/input.redacted.docx

5. Implementation Details

Commands and behavior

Security constraints (operational)

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.