Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add besoeasy/open-skills --skill age-file-encryptiongit clone --depth 1 https://github.com/besoeasy/open-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/besoeasy/open-skills/age-file-encryption)<a href="https://agentmods.dev/skills/besoeasy/open-skills/age-file-encryption"><img src="https://agentmods.dev/badge/skills/besoeasy/open-skills/age-file-encryption/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/besoeasy/open-skills/age-file-encryption"><img src="https://agentmods.dev/badge/skills/besoeasy/open-skills/age-file-encryption.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00057 | $0.01994 |
| Opus 5.5 | $0.00023 | $0.00798 |
| Sonnet 5.5 | $0.00011 | $0.00399 |
| Haiku 4.5 | $0.00006 | $0.00199 |
Grade C, and why
age-file-encryption scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Reaches for credential fileshighPrivilege escalation
SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.
age -R ~/.ssh/id_ed25519.pub secret.txt > secret.txt.age Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl https://github.com/username.keys | age -R - secret.txt > secret.txt.age How it starts
The opening of the file, as written. The whole thing — 249 lines — stays where its author put it; the contents beside it link to each section on GitHub.
age File Encryption
age is a minimal, modern encryption tool. It replaces GPG for most file encryption needs with a much simpler design: small explicit keys, no config files, and clean composability with UNIX pipes.
When to Use This Skill
- Encrypting files or directories before storing or sharing them
- Securely sending files to specific recipients by public key
- Encrypting secrets with a passphrase for backup or storage
- Encrypting to existing SSH public keys (ed25519 or RSA)
- Encrypting to multiple recipients at once
- Encrypting to a GitHub user's SSH keys
- Automating encryption/decryption in scripts
Installation
# macOS / Linux (Homebrew)
brew install age
# Debian / Ubuntu 22.04+
apt install age
# Arch Linux
pacman -S age
# Alpine Linux
apk add age
# Fedora
dnf install age
# Windows
winget install --id FiloSottile.age
# From source (requires Go)
go install filippo.io/age/cmd/...@latest
Pre-built binaries:
https://dl.filippo.io/age/latest?for=linux/amd64
https://dl.filippo.io/age/latest?for=darwin/arm64
https://dl.filippo.io/age/latest?for=windows/amd64
Core Concepts
| Term | Meaning |
|---|---|
| recipient | Public key — who can decrypt the file |
| identity | Private key file — used to decrypt |
| age public key | Starts with age1... |
| age private key | Starts with AGE-SECRET-KEY-1..., stored in a key file |
Key Generation
# Generate a key pair and save to key.txt
age-keygen -o key.txt
# Output: Public key: age1ql3z7hjy54pw3hyww5ayyfg7zqgvc7w3j2elw8zmrj2kg5sfn9aqmcac8p
# Print only the public key from an existing key file
age-keygen -y key.txt
Encrypting Files
With a recipient's public key
# Encrypt a file
age -r age1ql3z7hjy54pw3hyww5ayyfg7zqgvc7w3j2elw8zmrj2kg5sfn9aqmcac8p -o secret.txt.age secret.txt
# Using a pipe
cat secret.txt | age -r age1ql3z7hjy54... > secret.txt.age
With a passphrase
# age will prompt for a passphrase (or autogenerate a secure one)
age -p secret.txt > secret.txt.age
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 249 lines · 57 tokens per session scan C cd0d4f5b6934
age-file-encryption is a skill published in the GitHub repository besoeasy/open-skills (132 stars, last pushed 2mo ago), licensed MIT. It adds 57 tokens to every session and 1,994 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 2 findings (reaches for credential files, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
age-file-encryption compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| age-file-encryptionbesoeasy/open-skills | Skill | 132 | 2mo ago | MIT | C | 57 | Claude Code, Codex |
| new-appEigenwise/atomic-agents | Skill | 6.4k | 9d ago | MIT | A | 76 | Claude Code |
| ax-agent-rlmax-llm/ax | Skill | 3.0k | today | Apache-2.0 | A | 88 | Claude Code, Codex |
| ax-go-flowax-llm/ax | Skill | 3.0k | today | Apache-2.0 | A | 43 | Claude Code, Codex |
| fanouthashgraph-online/awesome-codex-plugins | Skill | 1.6k | yesterday | Apache-2.0 | A | 68 | Claude Code, Codex |
| chat-complex-documentsvellum-ai/vellum-assistant | Skill | 1.5k | yesterday | MIT | A | 90 | Claude Code, Codex |
| moai-lane-watchdogmodu-ai/moai-adk | Skill | 1.3k | today | Apache-2.0 | A | 86 | Claude Code |