encryption

Encrypt folders into GPG AES-256 archives with separately generated passphrases for secure file transfer.

1|Updated Jun 29, 2026
One-click install
npx skills add https://github.com/natthasath/natthasath-marketplace --skill encryption-natthasath
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: encryption
Source: https://github.com/natthasath/natthasath-marketplace/tree/main/plugins/productive/skills/encryption
Command: npx skills add https://github.com/natthasath/natthasath-marketplace --skill encryption-natthasath

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and assets (resource) components.

What problem does it solve? Sending sensitive files (configuration files, deployment files, credentials documentation) through untrusted channels like email or chat exposes them to interception. This Skill packages a folder into a single encrypted archive with a randomly generated passphrase stored in a separate file, so the archive and passphrase can travel through different channels. ## Core Features & Use Cases - GPG Symmetric Encryption: Archives a user-specified folder into tar.gz and encrypts it with GPG AES-256, passing the passphrase via stdin so it never appears in command-line arguments, shell history, or chat transcripts. - Round-Trip Validation: Immediately decrypts the freshly encrypted archive and compares SHA-256 hashes against the original to confirm the file can actually be decrypted before handoff. - Recipient Instructions: Generates a Thai-language HOW-TO-DECRYPT.md next to the archive with OS-specific GPG install and decrypt commands, containing no secrets. - Use Case: You need to send server configuration files to a colleague. Run the Skill, receive an encrypted archive plus a separate passphrase.txt file, then email the archive and send the passphrase via a different messaging app. ## Quick Start Ask the AI to run /encryption and provide the source folder, the output path for the encrypted archive, and the folder where the passphrase file should be saved.

Frequently Asked Questions about encryption

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I encrypt a folder with GPG before sending it by email?▼

Run the /encryption command and provide three paths: the source folder, the output path for the encrypted archive, and a folder for the passphrase file. The script creates a tar.gz archive, encrypts it with GPG AES-256, and writes the random passphrase to passphrase.txt separately.

How to send encrypted files and passwords securely?▼

Send the encrypted archive and the passphrase through different channels, for example the archive by email and the passphrase by SMS or a separate chat app. The Skill enforces this split by writing the passphrase to its own file and never displaying it in chat.

Does GPG symmetric encryption work on Windows, macOS, and Linux?▼

Yes, GPG symmetric AES-256 encryption works on all three platforms once gpg is installed. Install it with winget install GnuPG.Gpg4win on Windows, brew install gnupg on macOS, or your distribution's package manager on Linux.

Why does the passphrase never appear in the chat or command line?▼

Chat messages are saved permanently in session transcripts and command-line arguments leak into ps output and shell history. The script passes the passphrase to gpg through stdin using --passphrase-fd 0, keeping it out of both channels.

What happens if the encrypted archive cannot be decrypted?▼

The script performs round-trip validation by decrypting the new archive immediately and comparing SHA-256 hashes with the original. If the hashes do not match, it reports an error and stops so a broken file is never handed off.

Why does this use random characters instead of a diceware passphrase?▼

The passphrase is transferred as a file rather than typed or read aloud, so readability offers no benefit. A hand-built wordlist risks undetected duplicates or typos, while a 24-character random passphrase from an unambiguous 54-character alphabet provides roughly 138 bits of entropy.