/hardware-auth-keys:1password-totpfrom hardware-auth-keys
Copy TOTP / 2FA secrets from 1Password to a YubiKey with op and ykman, or enrol to both. Use on "1Password TOTP to YubiKey".
Ships in hardware-auth-keys. 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.
Read references/1password-transfers.md in the plugin root first (what can move, secret-handling rules).
op item list --format json | jq -r '.[] | [.id,.title] | @tsv'.ykman oath accounts list.op item get <id> --format json | jq -r '.fields[] | select(.type=="OTP") | .value | if startswith("otpauth://") then "uri" else "secret" end'
More than one line means several OTP fields; add the field id to the select.op item get <id> --format json | jq -r '.fields[] | select(.type=="OTP") | .value' | ykman oath accounts uri --touch
# bare secret:
op item get <id> --format json | jq -r '.fields[] | select(.type=="OTP") | .value' | ykman oath accounts add --touch -i "<issuer>" "<account>"
If OATH is password-protected, the user runs ykman oath access remember first; a
password prompt cannot share the pipe.op item get <id> --otp with ykman oath accounts code -s "<name>" inside
one shell test and print only match or mismatch. Retry once at a period boundary.Not possible: OATH secrets are write-only. At the site, re-enrol the authenticator, save the new secret to 1Password in its app, then run the steps above. Keep the old entry until the new one is accepted.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
15 skills in this plugin
/1password-credentialsMove PIV certificates, static passwords, PINs and inventory between 1Password and a YubiKey with op and ykman; passkey limits./1password-gpg-keysBack up GPG keys to 1Password and load them from 1Password onto a YubiKey OpenPGP card, with op, gpg and keytocard./1password-ssh-keysCopy SSH keys from 1Password to a YubiKey PIV slot, or save YubiKey SSH public keys to 1Password, with op and ykman./browser-webauthnFix a missing security key (YubiKey, Thetis), passkey or WebAuthn prompt in Chrome, Chromium, Firefox or Brave on Linux. Use on "Chrome isn't asking for my key"./complementary-pluginsList and install plugins that complement hardware-auth-keys: ubuntu-security. Use on "what goes with this plugin", "related plugins"./detectCheck a hardware security key (YubiKey, Thetis or other FIDO2) is recognised on Linux. Use on "is my yubikey detected", "thetis not detected", "security key not working".hardware-auth-keys@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin hardware-auth-keys