1password
Skill by Construct-AI-primary
Sets up and uses the 1Password CLI (op) so an assistant can read, inject and run commands with secrets stored in 1Password. It suits users who want to avoid plaintext environment variables or files.
Install 1password
Built from the published package, never by AI.
git clone --depth 1 https://github.com/Construct-AI-primary/agent-companies-paperclip /tmp/agent-companies-paperclip && mkdir -p ~/.claude/skills && cp -r /tmp/agent-companies-paperclip/hermes_agent/optional-skills/security/1password ~/.claude/skills/1passwordRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/Construct-AI-primary/agent-companies-paperclip /tmp/agent-companies-paperclip && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agent-companies-paperclip/hermes_agent/optional-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 sets up and uses the 1Password CLI (op) so an AI assistant can manage secrets through 1Password instead of plaintext environment variables or files. It covers installing the CLI, verifying it, and choosing an authentication method: a service account token, desktop app integration, or a Connect server.
The skill reads secret references such as op://Vault/Item/field, fetches one-time passwords, injects secrets into templates with op inject, and runs commands with secret environment variables through op run. Its guardrails say not to print raw secrets unless the user asks, and to prefer op run or op inject over writing secrets to files. It is written for Hermes Agent users who want 1Password to handle secrets, including headless or CI use with a service account.
Written from the project's SKILL.md and checked against it.
What it can do
- Install and verify the CLIInstalls the 1Password CLI on macOS, Linux or Windows and checks the version with op --version.
- Service account sign-inUses OP_SERVICE_ACCOUNT_TOKEN for non-interactive access and verifies it with op whoami.
- Desktop app sign-inSigns in with op signin through the 1Password desktop app integration and biometric approval.
- Read secretsReads a secret reference such as op://app-prod/db/password with op read.
- Get one-time passwordsFetches an OTP value for an item using op read with the otp attribute.
- Inject secrets into templatesFills template placeholders with secret values using op inject.
- Run commands with secretsStarts a command with secret environment variables loaded through op run.
What you need
- 1Password account
- 1Password CLI (op)
- Desktop app integration, a service account token, or a Connect server
- tmux for the desktop app flow
- CLI v2.18.0 or later for service accounts
Try asking
- Read the database password from the app-prod vault in 1Password.
- Get the current one-time password for my npm item in 1Password.
- Run my deploy script with DB_PASSWORD injected from 1Password using op run.
Good to know
- Service accounts require CLI v2.18.0 or later.
- The desktop app flow needs tmux and an unlocked 1Password desktop app.
- Headless or CI use should use a service account token instead of interactive sign-in.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: hermes_agent/optional-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
Do I need the desktop app to use this skill?
No. The source says the service account token flow needs no desktop app and suits headless or CI use. The desktop app is needed only for the desktop app integration method.
Will the assistant show my secret values?
The guardrails say the assistant should not print raw secrets back to the user unless the user explicitly asks for the value.
Does the skill write secrets into files?
The source says to prefer op run and op inject instead of writing secrets into files.
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 48 of 100. Grades: maintenance D, 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.
