| name | 1password |
| description | Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op. |
| homepage | https://developer.1password.com/docs/cli/get-started/ |
| origin | {"source":"openclaw","url":"https://github.com/openclaw/openclaw","version":"90eb5b073f"} |
1Password CLI
Follow the official CLI get-started steps. Don't guess install commands.
References
references/get-started.md (install + app integration + sign-in flow)
references/cli-examples.md (real op examples)
Workflow
- Check OS + shell.
- Verify CLI present:
op --version.
- Confirm desktop app integration is enabled (per get-started) and the app is unlocked.
- REQUIRED: create a fresh tmux session for all
op commands (no direct op calls outside tmux).
- Sign in / authorize inside tmux:
op signin (expect app prompt).
- Verify access inside tmux:
op whoami (must succeed before any secret read).
- If multiple accounts: use
--account or OP_ACCOUNT.
REQUIRED tmux session (T-Max)
The shell tool uses a fresh TTY per command. To avoid re-prompts and failures, always run inside a dedicated tmux session with a fresh socket/session name.