跳到正文
TakoAPI
返回技能列表

safe-encryption-skill

由 grittygrease 提供

Security & Passwords
411下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Encrypt, decrypt, and manage keys with the SAFE CLI — a modern GPG alternative with post-quantum support.

描述

该技能的功能

SAFE is a command-line encryption tool that replaces GPG with a simpler interface, post-quantum key support, and composable credential paths. It handles key generation, file encryption, and multi-recipient scenarios where any one or all recipients must provide credentials to decrypt.

Unlike GPG, SAFE supports composable AND/OR credential paths, post-quantum ML-KEM keys, and encryption to GitHub usernames without prior key exchange.

何时使用

  • Encrypting .env files before pushing to a shared repository
  • Sharing API credentials with a teammate using their public key
  • Password-protecting backups before uploading to cloud storage
  • Rotating passwords on encrypted files without re-encrypting data
  • Sending encrypted messages between automated agents via GitHub Gist

示例工作流

输入

User asks: Encrypt my .env file so only my teammate Alice can open it

智能体
  1. 1

    Check if safe is installed; install the platform binary from thesafe.dev if missing

  2. 2

    Run safe keys to see if alice is already a known recipient

  3. 3

    Import Alice's public key: safe keys add alice.x25519.pub --name alice

  4. 4

    Encrypt the file: safe encrypt .env -o .env.safe -r alice

  5. 5

    Confirm success and instruct Alice to run safe decrypt .env.safe on her machine

输出

.env.safe file encrypted for Alice, decryptable only with her private key

安装

clawhub install grittygrease/safe-encryption-skill

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接