Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

1password

Skill by lukemcqueen

Set up the 1Password CLI, sign in, and read or inject secrets for an AI assistant. It is for users who want secrets kept in 1Password instead of plaintext env vars or files.

  • Score 61
  • 4 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install 1password

Built from the published package, never by AI.

git clone --depth 1 https://github.com/lukemcqueen/hermes-cortex /tmp/hermes-cortex && mkdir -p ~/.claude/skills && cp -r /tmp/hermes-cortex/skills/security/1password ~/.claude/skills/1password

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install 1password in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The 1password skill helps an AI assistant install and configure the 1Password CLI (op), sign in, and work with secrets stored in 1Password. It covers reading secret references such as op://Vault/Item/field, getting one-time passwords, injecting secrets into templates with op inject, and running commands with secret environment variables through op run.

It supports three authentication methods: a service account token (OP_SERVICE_ACCOUNT_TOKEN), which the source recommends for Hermes, desktop app integration for interactive use, and a self-hosted Connect server. The source says it suits users who want secrets managed through 1Password and headless or CI use with a service account token. Its guardrails tell the assistant not to print raw secrets unless the user asks, and to prefer op run or op inject over writing secrets to files.

Written from the project's SKILL.md and checked against it.

What it can do

  • Install and verify the CLICovers installing the 1Password CLI on macOS, Linux and Windows and checking the op version.
  • Sign inSigns in with op signin or uses a service account token, and checks the session with op whoami.
  • Read secretsReads secret references such as op://app-prod/db/password with op read.
  • Get one-time passwordsReads an OTP field from an item using the otp attribute.
  • Inject into templatesFills template placeholders with secret values using op inject.
  • Run commands with secretsRuns a command with secret environment variables loaded through op run.

What you need

  • 1Password account
  • 1Password CLI (op) installed
  • Service account token, desktop app integration, or Connect server
  • tmux for the desktop app flow
  • 1Password CLI v2.18.0 or later for service accounts

Try asking

  • Read the db password from op://app-prod/db/password
  • Get the current one-time password for npm from 1Password
  • Inject my database password into this config template using op inject

Good to know

  • The desktop app flow needs tmux for stable authenticated sessions.
  • Service accounts require CLI v2.18.0 or later.
  • Interactive op signin is not used in CI or headless setups.
  • The assistant should not print raw secrets unless the user explicitly asks.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/security/1password/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to 1password

All alternatives →

Compare with function_health, windows-privilege-escalation or github-actions-advanced

1password: common questions

Which authentication method does the skill recommend for Hermes?

The source recommends a service account token. It persists across Hermes terminal calls and needs no desktop app.

Can the skill be used in CI or headless environments?

Yes. The source says non-interactive use should authenticate with OP_SERVICE_ACCOUNT_TOKEN and avoid interactive op signin.

Will the assistant print my secrets?

The guardrails say the assistant should not print raw secrets back to the user unless the user explicitly requests the value.

How do I install 1password?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is 1password free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is 1password safe to use?

It scores 61 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to 1password?

Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.

1password Install

Add to stack

Loading.