1password
Skill by olafkfreund
Reads, writes and injects secrets with the 1Password CLI (op). Built for people who want an AI assistant to fetch logins and API keys from 1Password without printing the values into the chat.
Install 1password
Built from the published package, never by AI.
git clone --depth 1 https://github.com/olafkfreund/nixos_config /tmp/nixos_config && mkdir -p ~/.claude/skills && cp -r /tmp/nixos_config/home/development/claude-code-skills/1password ~/.claude/skills/1passwordRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/olafkfreund/nixos_config /tmp/nixos_config && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/nixos_config/home/development/claude-code-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
The 1password skill lets an AI assistant read, write and inject secrets with the 1Password CLI (op). It can resolve op:// secret references, look up logins, API keys and SSH keys, run a command with secrets set as environment variables using op run, fill config templates with op inject, and create or edit items. It is triggered by /1password and by mentions of op, op:// or 1Password.
The skill sets a rule that secret values must not be printed into the conversation. It prefers piping or injecting values instead, and suggests copying to the clipboard when a user needs to see one. It checks access with op vault list rather than op whoami. It is written for users who run the 1Password desktop app with CLI integration, and it notes that machine secrets belong in agenix while interactive secrets belong in 1Password.
Written from the project's SKILL.md and checked against it.
What it can do
- Resolve secret referencesReads values from op:// references, including TOTP codes and SSH keys written to a file.
- Run commands with secretsUses op run with an env file so a command receives secrets as environment variables.
- Inject config templatesUses op inject to fill a template file with secrets and write the result to disk.
- Find items and fieldsLists vaults and items and reads field labels without printing concealed values.
- Create and edit itemsCreates, edits and archives 1Password items, including generated passwords.
- Configure third-party CLI authLists, configures and inspects op shell plugins for supported CLIs such as gh.
What you need
- 1Password CLI (op) version 2.x
- 1Password desktop app, unlocked, with CLI integration enabled
- A 1Password account with a vault
Try asking
- Run my deploy script with the AWS credentials from 1Password
- Find the login item for GitHub and list its field names
- Fill config.yml.tpl with my database password from 1Password
Good to know
- Needs the 1Password desktop app to be unlocked; unlocking requires the user.
- Service accounts are described as the headless option but are not set up in the source.
- Written around one specific setup and vault, so details may differ elsewhere.
- Destructive actions such as item delete require user confirmation first.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: home/development/claude-code-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 print my passwords into the chat?
The source says it should not. It asks the assistant to pipe, inject or copy secret values instead of echoing them, and to show them only if the user explicitly asks after being warned.
Can it work without the 1Password desktop app?
The source says the desktop app is needed for the normal setup. It mentions service accounts (OP_SERVICE_ACCOUNT_TOKEN) as a headless option, but says that is not set up there.
Why does op whoami report an error even when it works?
The source says that with desktop app integration, op whoami looks for a local session record that is never written, so it gives a false negative. It recommends running op vault list to check access instead.
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 GPL-3.0 licence. The service it connects to may have its own pricing.
Is 1password safe to use?
It scores 48 of 100. Grades: maintenance A, licence C, 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.
