bedkillerspacex-boop/codex-skill-library/age-encryption-cli
Claude Code and agent skill by bedkillerspacex-boop/codex-skill-library
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
age (FiloSottile/age) encrypt/decrypt for files and SOPS integration: X25519 recipients, SSH recipients, identity files, armor, and git-friendly workflows. Use when encrypting secrets for repos, handoffs, or SOPS-age backends on owned systems — not for breaking others’ ciphertext or committing private identities.
Install
npx vskill@latest install bedkillerspacex-boop/codex-skill-library/age-encryption-cliSKILL.md
The same SKILL.md was published earlier as bedkillerspacex-boop/codex-skill-library/age-encryption-cli.
age Encryption CLI
Scope And Authorization
- In scope: encrypting data for teams/systems you operate; managing your recipients/identities.
- Out of scope: attacking others’ encrypted files; sharing private keys in tickets/chat.
- Private identities (
age1...secret keys /AGE-SECRET-KEY-1...) are high-value secrets. - Prefer hardware-backed or passphrase-protected storage for long-term identities.
- Pair automation with
code-quality-standardsandsecrets-management-hygiene.
When To Use
- Encrypt files for multiple recipients with
age. - SOPS using
ageas creation rule backend. - Replacing ad-hoc GPG for simple file encryption in CI/dev.
- Generating and rotating recipient keys for a team.
Do Not Use As Primary
| Need | Skill instead | |
|---|---|---|
| Org-wide secrets program | secrets-management-hygiene | |
| Ansible Vault | ansible-vault-usage | |
| Cloud KMS-only envelope patterns | cloud secrets skills | |
| ACME/TLS cert automation | acme-dns01-automation | |
| Implementation quality baseline | code-quality-standards |
Domain Focus
| Item | Purpose | |
|---|---|---|
| Recipient | Public key (age1...) or SSH pubkey that can decrypt | |
| Identity | Private key file for decrypt | |
-a / armor | ASCII armored ciphertext for git | |
-R | Recipients file (list of public keys) | |
-i | Identity file(s) for decrypt | |
| SOPS | Encrypts structured YAML/JSON/env fields with age |
Workflow
1. Confirm scope and success criteria
- Record data class, who must decrypt (humans, CI bots), and storage location (git vs object store).
- Success: encrypt with intended recipients only; CI decrypts via bot identity; rotation plan exists.
- Decide passphrase-protected identity vs machine identity.
2. Install and generate keys
- Store
key.txtoutside git; chmod600. - Publish only the
age1public recipient to the team list.
3. Encrypt and decrypt files
SSH recipient (convenient for humans):
4. SOPS + age pattern
- Never commit decrypted plain files.
- CI: inject bot identity via secret store;
SOPS_AGE_KEY_FILEorSOPS_AGE_KEY.
5. Rotation and access control
| Event | Action | |
|---|---|---|
| Person joins | Add recipient; re-encrypt secrets | |
| Person leaves | Remove recipient; re-encrypt all secrets with new recipient set | |
| Bot compromise | Generate new bot identity; revoke old; rotate ciphertext | |
| Suspected leak | Rotate identities + all encrypted payloads |
6. Verify
- Confirm armored files are readable as ASCII in PRs.
- Ensure shell history does not capture passphrases (
set +o historypractices).
7. Hand off
- Document recipients owners, identity backup, and SOPS paths.
- CODEOWNERS on
recipients.txt/.sops.yaml. - Train team: never paste
AGE-SECRET-KEYinto chat.
Good / Bad
| Topic | Good | Bad | |
|---|---|---|---|
| Keys | Public in repo; private in vault | Identity committed to git | |
| Recipients | Explicit file + rotation | Encrypt only to personal laptop key for team secrets | |
| CI | Ephemeral key mount | Long-lived key in plaintext log | |
| Format | Armored for git text | Binary blobs without need | |
| Rotation | Leave re-encrypt checklist | Remove person but leave old ciphertext |
Output Checklist
- [ ] Recipients and owners listed
- [ ] Identities stored safely (not in git)
- [ ] Encrypt/decrypt path tested for humans and CI
- [ ] SOPS rules (if used) cover secret paths
- [ ] Rotation procedure documented
- [ ] Armor/git hygiene decided
- [ ] Access removal path tested once
- [ ]
code-quality-standardson scripts
Rules
- Protect private identities like production root keys.
- Encrypt only for current need-to-know recipients.
- Do not attempt to “break age” for unauthorized access.
- Prefer age/SOPS over DIY crypto.
- Never log plaintext secrets during decrypt in CI.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingage-encryption-cli/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/bedkillerspacex-boop/codex-skill-library/age-encryption-cli)