1password
Skill by dxos
Gets credentials such as API keys, tokens, passwords and certificates for AI assistants. It checks exported shell variables first, then reads from 1Password with the op CLI when a service account token is set.
Install 1password
Built from the published package, never by AI.
git clone --depth 1 https://github.com/dxos/dxos /tmp/dxos && mkdir -p ~/.claude/skills && cp -r /tmp/dxos/.agents/skills/1password ~/.claude/skills/1passwordRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/dxos/dxos /tmp/dxos && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/dxos/.agents/skills/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
This skill tells an AI assistant how to get a credential such as an API key, token, password or certificate. It first checks whether the needed variable is already exported in the shell. Only when OP_SERVICE_ACCOUNT_TOKEN is set, as in the cloud sandbox, does it read the secret from 1Password with the op CLI.
The skill also covers the key layout across the eng-dev and eng-ops vaults, how to find items by title, and how to use secrets without exposing them through op run, op inject, or op read. In a local session it avoids running op, because that triggers a desktop authorization dialog. When a credential is missing, it asks the user for the item and vault instead of searching elsewhere. It is written for engineers and agents that need secrets.
Written from the project's SKILL.md and checked against it.
What it can do
- Check the shell firstTests whether the needed variable is exported without printing its value.
- Read from 1PasswordUses the op CLI with a service account token to read a secret when the token is set.
- Find items by titleLists vault items and their field labels without printing secret values.
- Run commands with secretsUses op run so secrets are passed to a command and concealed in its output.
- Render a .env templateUses op inject to write a .env file from a template of op:// references.
- Read a single valueUses op read to capture one secret into a shell variable.
What you need
- 1Password CLI (op)
- OP_SERVICE_ACCOUNT_TOKEN for the cloud sandbox
- Access to the eng-dev vault
Try asking
- Get the API key for this script from 1Password
- Run this command with secrets from my .env.tpl file
- Find the 1Password item for the Anthropic key in eng-dev
Good to know
- Does not run op in a local session without the service account token
- A service account sees only the vaults it was granted, currently eng-dev
- The legacy CI vault is being retired and should not get new references
- op read prints the raw value, so the value must be captured, not displayed
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/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
Does this skill run op in a local session?
No. The source says that without OP_SERVICE_ACCOUNT_TOKEN, op calls go through the desktop app and show an authorization dialog, so op should not be run locally.
How does it keep secret values out of output?
It prefers op run, which replaces secrets in stdout and stderr with a concealed marker. It also tells the agent never to echo, cat, or log a value.
What happens if a credential is not in 1Password?
The agent should tell the user which item it needs and which vault it should be in. It should not look for the credential elsewhere on the machine.
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 NOASSERTION licence. The service it connects to may have its own pricing.
Is 1password safe to use?
It scores 65 of 100. Grades: maintenance A, licence F, quality A. 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.
