From gpg-ops
Export 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.
How this skill is triggered — by the user, by Claude, or both
Slash command
/gpg-ops:gpg-export-public-keyThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
The user wants to share their public key — to register on GitHub for verified commits, send to a correspondent for encrypted email, publish on a keyserver, or paste into a website's "PGP key" field.
The user wants to share their public key — to register on GitHub for verified commits, send to a correspondent for encrypted email, publish on a keyserver, or paste into a website's "PGP key" field.
If the user didn't specify which key, list available secret keys (only keys whose private half is on this machine can be meaningfully "their" public key to share):
gpg --list-secret-keys --keyid-format=long
Pick by email, long key ID, or full fingerprint.
ASCII-armored (the universal default for sharing):
gpg --armor --export <email-or-keyid>
Write to file:
gpg --armor --export <email-or-keyid> > <name>-public.asc
Binary (for tooling that wants .gpg):
gpg --export <email-or-keyid> > <name>-public.gpg
-----BEGIN PGP PUBLIC KEY BLOCK----- … -----END PGP PUBLIC KEY BLOCK----- block.gpg --keyserver keys.openpgp.org --send-keys <KEYID>
keys.openpgp.org requires email verification before the key becomes searchable. Don't use the legacy SKS keyservers..asc file by email or paste the armored text.Show the fingerprint so the user can confirm it matches what they intended:
gpg --show-keys <name>-public.asc
--export-secret-keys unless the user is migrating their private key to another machine.gpg-export-private-key workflow — out of scope for this skill, and require explicit user confirmation before running.Provides CDSS development patterns for drug interaction checking, dose validation, clinical scoring (NEWS2, qSOFA), and alert classification integrated into EMR workflows.
npx claudepluginhub danielrosehill/claude-code-plugins --plugin gpg-ops