/gpg-ops:gpg-list-keysfrom gpg-ops
List GPG keys on the local keyring — public keys, secret keys, or both. Use when the user wants to see what keys they have, find a key ID or fingerprint, or check whether a contact's public key is already imported before encrypting to them.
Ships in gpg-ops. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The user asks "what GPG keys do I have", needs a key ID or fingerprint to feed into another command, or wants to check whether a recipient's public key is on the keyring.
Secret keys (keys whose private half is on this machine — i.e. your keys):
gpg --list-secret-keys --keyid-format=long
Public keys (everything on the keyring, including imported public keys for recipients):
gpg --list-keys --keyid-format=long
With fingerprints (needed for trust signing or precise reference):
gpg --list-keys --with-fingerprint --keyid-format=long
Filter by email or name:
gpg --list-keys "<email-or-name>"
pub ed25519/ABCDEF1234567890 2026-04-30 [SC]
1234567890ABCDEF1234567890ABCDEF12345678
uid [ultimate] Real Name <[email protected]>
sub cv25519/FEDCBA0987654321 2026-04-30 [E]
pub / sec — primary public / secret key. Flags: S=sign, C=certify, E=encrypt, A=authenticate.ed25519/ABC… form is the long key ID (last 16 hex chars of the fingerprint).sub — subkey. Encryption typically lives on a subkey for ed25519 primaries.ultimate (your own key), full, marginal, unknown.gpg-export-public-key skill.gpg-encrypt skill (need their key on the ring first; import via gpg --import recipient.asc).What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
7 skills in this plugin
/gpg-decryptDecrypt a GPG-encrypted file (.gpg or .asc) using the local keyring. Handles both asymmetric (key-encrypted) and symmetric (passphrase-encrypted) ciphertext — GPG auto-detects which. Use when the user receives an encrypted file or has at-rest encrypted backups they need to read./gpg-encryptEncrypt a file or text with GPG to one or more recipients (asymmetric) or with a passphrase (symmetric). Use when the user wants to send confidential data to someone whose public key they have, or lock a file with a password. Defaults to ASCII-armored output and refuses to encrypt to keys with marginal/unknown trust unless the user confirms./gpg-export-public-keyExport a GPG public key in ASCII-armored form, ready to share, paste into GitHub, or upload to a keyserver. Use when the user wants to publish their public key, share it with a collaborator, or register it for signed commits. Selects the key by email, key ID, or fingerprint.gpg-ops@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin gpg-ops