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.
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/1passwordRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/lukemcqueen/hermes-cortex /tmp/hermes-cortex && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/hermes-cortex/skills/security/1password ~/.gemini/antigravity-cli/skills/1passwordAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
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
ANo 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 →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
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.
