1password

Set up op CLI, sign in, and read or inject secrets.

  • security
  • secrets
  • 1password
  • op
  • cli

Declared platforms: linux · macos · windows

Install
npx skills add 'https://github.com/NousResearch/hermes-agent/tree/main/optional-skills/security/1password'
Download bundle ↓
main · 24fd22bScanned 2026-09-15

Contributors

GitHub-linked commit authors for this SKILL.md at the saved revision. Co-authors and history before file renames are not included.

File history ↗

references/cli-examples.md

references/cli-examples.mdBrowse 3 files
View on GitHub
← Back to SKILL.md

op CLI examples

Sign-in and identity

op signin
op signin --account my.1password.com
op whoami
op account list

Read secrets

op read "op://app-prod/db/password"
op read "op://app-prod/npm/one-time password?attribute=otp"

Inject secrets

echo "api_key: {{ op://app-prod/openai/api key }}" | op inject
op inject -i config.tpl.yml -o config.yml

Run command with secrets

export DB_PASSWORD="op://app-prod/db/password"  # example op:// reference, resolved by `op run`
op run -- sh -c '[ -n "$DB_PASSWORD" ] && echo "DB_PASSWORD is set"'
Referenced from SKILL.md