safe-encryption

Encrypt and decrypt files with SAFE cryptography supporting post-quantum and multi-recipient operations.

4|Updated Feb 1, 2026
One-click install
npx skills add https://github.com/grittygrease/safe-encryption-skill --skill safe-encryption
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: safe-encryption
Source: https://github.com/grittygrease/safe-encryption-skill/tree/main
Command: npx skills add https://github.com/grittygrease/safe-encryption-skill --skill safe-encryption

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables secure encryption and decryption of files using SAFE, a modern cryptography CLI with post-quantum support and multi-recipient capabilities, reducing the risk of data exposure in insecure environments.

Core Features & Use Cases

  • File encryption and decryption: password-based, public-key, and multi-recipient encryption with composable paths.
  • Key management and two-factor security: generate keypairs, manage recipients, and set up multi-factor encryption.
  • Agent-to-agent messaging and project security: exchange encrypted messages between agents and automatically generate project documentation like AGENTS.md.
  • Browser fallback and CLI installation guidance: supports CLI installation or browser-based workflows for environments without local compilers.

Quick Start

Use natural language prompts like “Encrypt secrets.txt with a password to secrets.safe” or “Encrypt file.txt for alice and bob and decrypt with alice's key,” and the AI will execute the appropriate SAFE commands or browser-based actions.

Frequently Asked Questions about safe-encryption

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

FAQPage Schema
How do I encrypt a file with a password using the command line?

To encrypt a file with a password, you can prompt the AI with natural language like “Encrypt secrets.txt with a password to secrets.safe.” The system then executes the appropriate SAFE cryptography command or browser action to secure your data.

Can I encrypt one file for multiple recipients at the same time?

Multi-recipient encryption is supported, allowing you to secure a single file for multiple users simultaneously. You can specify recipients by name, such as prompting the AI to encrypt a document for both alice and bob using composable paths.

Does this post-quantum cryptography tool require local compiler installation?

Local compiler installation is not strictly required. While you can install the SAFE CLI locally for command-line encryption, the tool also supports browser-based workflows as a fallback for environments lacking compilers.

What is the best way to manage keys for agent-to-agent encrypted messaging?

For agent-to-agent messaging, the best approach is using the built-in key management features to generate keypairs and manage recipients. This enables secure message exchange and can automatically generate project documentation like AGENTS.md.

What encryption methods are available besides password-based protection?

Besides password-based encryption, you can use public-key encryption and multi-factor security. The tool supports composable recipient paths, allowing you to combine key-based and password-based methods for layered file protection.

When should I use post-quantum encryption for file workflows?

Post-quantum encryption should be used when securing sensitive file workflows, managing secrets, or facilitating agent-to-agent messaging against future quantum threats. It reduces data exposure risks in insecure environments using SAFE cryptography.