1password
by steipete
Security & PasswordsBrief
Set up and use 1Password CLI (op).
Description
What This Skill Does
Handles installing and configuring the 1Password CLI (op) and integrating it with the 1Password desktop app. Covers single and multi-account sign-in flows, reading vault items, and injecting secrets into processes without writing them to disk.
Using op run and op inject keeps secrets out of shell history, environment files, and logs without any extra tooling.
When to Use It
- Injecting API keys from a vault into a deploy script
- Signing into multiple 1Password accounts from the terminal
- Running commands with secrets via op run without touching disk
- Setting up 1Password CLI on a new machine
- Verifying vault access before automated secret reads
Example Workflow
User asks: Run my deploy script with AWS credentials from 1Password
- 1
Check op --version to confirm CLI is installed
- 2
Verify desktop app integration is enabled and app is unlocked
- 3
Create a fresh tmux session with a unique socket and session name
- 4
Run op signin inside tmux and authorize in the desktop app
- 5
Execute the deploy script via op run -- ./deploy.sh to inject secrets
Deploy script runs with AWS credentials injected directly from the 1Password vault, nothing written to disk
Requirements
- 1Password account (individual or team subscription)
- 1Password desktop app installed and unlocked
Installation
clawhub install steipete/1passwordRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.