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 agentmods add commands/nylas/cli/encryptiongit clone --depth 1 https://github.com/nylas/cliWhat 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 | $0.00000 | $0.02846 |
| Opus 5 | $0.00000 | $0.01423 |
| Sonnet 5 | $0.00000 | $0.00569 |
| Haiku 4.5 | $0.00000 | $0.00285 |
Grade B, and why
encryption scanned grade B with 1 finding 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 yesterday.
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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
sudo apt install gnupg How it starts
The opening of the file, as written. The whole thing — 504 lines — stays where its author put it; the contents beside it link to each section on GitHub.
GPG Email Encryption
Encrypt outgoing emails with GPG/PGP so only the intended recipient can read them.
Overview
The Nylas CLI supports encrypting emails with GPG (GNU Privacy Guard) using the OpenPGP standard (RFC 3156). Encrypted emails provide:
- Confidentiality: Only the recipient can decrypt and read the message
- End-to-end security: Content is encrypted before leaving your device
Encryption vs Signing:
| Feature | Signing | Encryption |
|---|---|---|
| Purpose | Verify sender identity | Hide content from others |
| Key used | Your private key | Recipient's public key |
| Who can read | Anyone | Only recipient |
| Verifiable | Yes (authenticity) | No (confidentiality) |
Best Practice: Use both signing AND encryption for maximum security.
Prerequisites
1. Install GPG
Linux (Debian/Ubuntu):
sudo apt install gnupg
macOS:
brew install gnupg
Windows: Download from: https://gnupg.org/download/
2. Have Recipient's Public Key
To encrypt for someone, you need their public key. The CLI can:
- Use keys already in your keyring
- Auto-fetch keys from public key servers
Supported key servers:
- keys.openpgp.org (primary)
- keyserver.ubuntu.com
- pgp.mit.edu
- keys.gnupg.net
Sending Encrypted Email
Basic Encryption
Encrypt an email to a recipient (auto-fetches their public key if needed):
nylas email send \
--to [email protected] \
--subject "Confidential Information" \
--body "This message is encrypted and only you can read it." \
--encrypt
What happens:
- CLI looks up recipient's public key in your local keyring
- If not found, searches key servers automatically
- Encrypts the message with their public key
- Sends as PGP/MIME encrypted email
Encrypt with Specific Key
If you have multiple keys for a recipient or want to specify exactly which key:
nylas email send \
--to [email protected] \
--subject "Secret Project" \
--body "Here are the project details..." \
--encrypt \
--recipient-key ABCD1234EFGH5678
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.
- yesterday First seen · 504 lines · 0 tokens per session scan B 40378aeac8d0
encryption is a command published in the GitHub repository nylas/cli (68 stars, last pushed 13d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,846 tokens. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
create-pr
Create a pull request following the official template.
/release
Release a new version — updates CHANGELOG, pyproject.toml, creates git tag, and pushes.
numbers-to-excel
Convert a Numbers document to Excel.
briefing
Get a daily briefing of today's calendar events, reminders, and optional inbox context.
symfony-api-errors
Design API Platform 4.3 error handling — RFC 7807.
execute-plan
Execute an implementation plan methodically with TDD and continuous validation.