age
Use this skill when encrypting or decrypting files with `age` — generating key pairs, encrypting to one or more recipients, decrypting with an identity file…
Skill by jason-riddle
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/jason-riddle-age
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: security
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/age
What's inside
- Skill name
age- Description
- Use this skill when encrypting or decrypting files with `age` — generating key pairs, encrypting to one or more recipients, decrypting with an identity file, or using SSH keys as recipients. Triggers on requests like "encrypt this file with age", "decrypt an age file", "generate an age key", "use my SSH key with age", or "share a secret with multiple recipients using age".
- License
- MIT
- Instructions
- 173 lines in SKILL.md · view on GitHub
Before installing
- Instructions read files in your home folder (~/.ssh, ~/.aws…)
Files (1)
- SKILL.md
SKILL.md (first lines)
# age Encrypt and decrypt files using the `age` tool. ## Orientation Run the following commands before proceeding: ```bash which -a age age-keygen age --version age-keygen --help ``` ## Key Concepts - **Recipient**: a public key (age or SSH) used to encrypt. Anyone with the matching private key can decrypt. - **Identity**: a private key file (`-i`) used to decrypt. - A file can have multiple recipients; any one matching identity can decrypt it. - `age` and `age-keygen` are separate binaries; verify both are present. ## Workflow 1. Confirm the tool is present: `age --version` 2. Generate a key pair: `age-keygen -o key.txt` (prints public key to stderr; secret key goes to `key.txt`) 3. Extract just the public key: `age-keygen -y key.txt` 4. Encrypt to a recipient: `age -r <public-key> -o output.age input.txt` 5. Encrypt from stdin: `echo "secret" | age -r <public-key> > output.age` 6. Decrypt: `age -d -i key.txt -o output.txt input.age` 7. Decrypt from stdin: `age -d -i key.txt < output.age` ## Common Workflows ### Generate a key pair ```bash # Generate and save to a file (public key printed to stderr) age-keygen -o key.txt # Print the public key only (useful for scripting) age-keygen -y key.txt # Generate a post-quantum hybrid key (ML-KEM-768 + X25519) age-keygen -pq -o pq_key.txt ``` The key file format: ``` # created: 2026-01-01T00:00:00Z # public key: age1ql3z7hjy54pw3hyww5ayyfg7zqgvc7w3j2elw8zmrj2kg5sfn9aqmcac8p AGE-SECRET-KEY-1... ``` ### Encrypt to a single recipient ```bash # From a file age -r age1ql3z7... -o secret.age plaintext.txt # From stdin echo "my secret" | age -r age1ql3z7... > secret.age # Armor (PEM output, safe for text/email embedding) echo "my secret" | age -r age1ql3z7... --armor > secret.age.pem ``` ### Encrypt to multiple recipients ```bash # Inline — any recipient can decrypt age -r age1alice... -r age1bob... -o secret.age plaintext.txt # From a recipients file (one public key per line; # = comment) age -R public-age-keys.txt -o secret.age plaintext.txt ``` Recipients file format: ``` # Alice age1alice... # Bob age1bob... ``` ### Decrypt ```bash # To a file age -d -i key.txt -o output.txt secret.age # To stdout (pipe to consumer — avoids writing plaintext to disk) age -d -i key.txt secret.age | some-command # Multiple identity files (unused ones are silently ignored) age -d -i key1.txt -i key2.txt secret.age ``` ### Use SSH keys as recipients `age` natively supports `ssh-ed25519` and `ssh-rsa` public keys as recipients. `ecdsa-sha2-nistp256` and other types are **not supported** and produce an error. ```bash # Encrypt to an SSH public key age -r "$(cat ~/.ssh/id_ed25519.pub)" -o secret.age plaintext.txt # Decrypt with the SSH private key age -d -i ~/.ssh/id_ed25519 secret.age ``` ### Pipe workflows (no files on disk) ```bash # Encrypt a directory into a single encrypted archive, never touching disk tar -czf - ~/data | age -r age1ql3z7... > backup.tar.gz.age # Decrypt and extract directly age -d -i key.txt backup.tar.gz.age | tar -xzf - ```
From jason-riddle/agent-skills, MIT.
More from jason-riddle/agent-skills
- 0.565score
deno
jason-riddle
Use this skill when running, testing, or managing JavaScript/TypeScript projects with `deno`.
SkillAFreshness: AClaude Code +9 - 0.565score
adb
jason-riddle
Use this skill when working with the Android Debug Bridge (`adb`) — connecting to devices, enabling USB or wireless debugging, pushing/pulling files, running…
SkillAFreshness: AClaude Code +9 - 0.539score
parking-passport
jason-riddle
Use this skill when the user wants to start, extend, or check a parking session through Passport Parking using a browser, including requests to pay for…
SkillAFreshness: AClaude Code +9 - 0.539score
fastmail-jmap
jason-riddle
Use this skill when the user wants to access Fastmail mail, contacts, or Masked Email through Fastmail's JMAP API using a credential-safe VM helper or curl…
SkillAFreshness: AClaude Code +9 - 0.539score
bttf
jason-riddle
Use this skill whenever the user wants to run the `bttf` command or work with date/time parsing, arithmetic, formatting, recurrence, or time-zone conversion…
SkillAFreshness: AClaude Code +9 - 0.524score
mcp-remote
jason-riddle
Use this skill when connecting an stdio-only MCP client to a remote MCP server using `mcp-remote` via `npx`.
SkillBFreshness: BClaude Code +9 - 0.524score
paperless-postgres-mcp-query
jason-riddle
Use this skill when querying the Paperless-ngx PostgreSQL database via the `postgres` MCP server's `postgres_query` tool — discovering document IDs…
SkillBFreshness: BClaude Code +9 - 0.524score
nix
jason-riddle
Use this skill when working with the Nix package manager — installing packages, managing profiles, building derivations, or using nix flakes.
SkillBFreshness: BClaude Code +9 - 0.515score
android-remote-control
jason-riddle
Use this skill when controlling an Android device through the Android Remote Control MCP server — reading the screen, navigating apps and home screen, opening…
SkillBFreshness: BClaude Code +9 - 0.474score
gpg
jason-riddle
Use this skill when encrypting, decrypting, signing, or verifying files and data with GPG (GnuPG / PGP).
SkillCFreshness: CClaude Code +9 - 0.474score
ollama
jason-riddle
Use this skill when running, managing, or interacting with LLM models via `ollama` — locally or on a remote machine.
SkillCFreshness: CClaude Code +9 - 0.474score
1password
jason-riddle
Use this skill when working with the 1Password CLI (`op`) — managing secrets, vaults, items, accounts, or injecting credentials.
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 1
- Last commit (this folder)
- Jul 11, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/jason-riddle/agent-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from jason-riddle
- 0.565score
adb
jason-riddle
Use this skill when working with the Android Debug Bridge (`adb`) — connecting to devices, enabling USB or wireless debugging, pushing/pulling files, running…
SkillAFreshness: AClaude Code +9 - 0.565score
deno
jason-riddle
Use this skill when running, testing, or managing JavaScript/TypeScript projects with `deno`.
SkillAFreshness: AClaude Code +9 - 0.539score
parking-passport
jason-riddle
Use this skill when the user wants to start, extend, or check a parking session through Passport Parking using a browser, including requests to pay for…
SkillAFreshness: AClaude Code +9 - 0.539score
bttf
jason-riddle
Use this skill whenever the user wants to run the `bttf` command or work with date/time parsing, arithmetic, formatting, recurrence, or time-zone conversion…
SkillAFreshness: AClaude Code +9 - 0.539score
fastmail-jmap
jason-riddle
Use this skill when the user wants to access Fastmail mail, contacts, or Masked Email through Fastmail's JMAP API using a credential-safe VM helper or curl…
SkillAFreshness: AClaude Code +9 - 0.524score
paperless-postgres-mcp-query
jason-riddle
Use this skill when querying the Paperless-ngx PostgreSQL database via the `postgres` MCP server's `postgres_query` tool — discovering document IDs…
SkillBFreshness: BClaude Code +9
Cite this page
age skill. Agent Mart. https://agentmart.dev/skills/jason-riddle-age (last updated 2026-10-24)