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 op inside a dedicated tmux session with a fresh socket/session name.
Example (see tmux skill for socket conventions, do not reuse old session names):
Prefer op run / op inject over writing secrets to disk.
If sign-in without app integration is needed, use op account add.
If a command returns "account is not signed in", re-run op signin inside tmux and authorize in the app.
Do not run op outside tmux; stop and ask if tmux is unavailable.
1---2name: 1password3description: 1Password CLI4---5# 1Password CLI67Follow the official CLI get-started steps. Don't guess install commands.89## References1011- `references/get-started.md` (install + app integration + sign-in flow)12- `references/cli-examples.md` (real `op` examples)1314## Workflow15161. Check OS + shell.172. Verify CLI present: `op --version`.183. Confirm desktop app integration is enabled (per get-started) and the app is unlocked.194. REQUIRED: create a fresh tmux session for all `op` commands (no direct `op` calls outside tmux).205. Sign in / authorize inside tmux: `op signin` (expect app prompt).216. Verify access inside tmux: `op whoami` (must succeed before any secret read).227. If multiple accounts: use `--account` or `OP_ACCOUNT`.2324## REQUIRED tmux session (T-Max)2526The shell tool uses a fresh TTY per command. To avoid re-prompts and failures, always run `op` inside a dedicated tmux session with a fresh socket/session name.2728Example (see `tmux` skill for socket conventions, do not reuse old session names):2930```bash31SOCKET_DIR="${OPENCLAW_TMUX_SOCKET_DIR:-${CLAWDBOT_TMUX_SOCKET_DIR:-${TMPDIR:-/tmp}/openclaw-tmux-sockets}}"32mkdir -p "$SOCKET_DIR"33SOCKET="$SOCKET_DIR/openclaw-op.sock"34SESSION="op-auth-$(date +%Y%m%d-%H%M%S)"3536tmux -S "$SOCKET" new -d -s "$SESSION" -n shell37tmux -S "$SOCKET" send-keys -t "$SESSION":0.0 -- "op signin --account my.1password.com" Enter38tmux -S "$SOCKET" send-keys -t "$SESSION":0.0 -- "op whoami" Enter39tmux -S "$SOCKET" send-keys -t "$SESSION":0.0 -- "op vault list" Enter40tmux -S "$SOCKET" capture-pane -p -J -t "$SESSION":0.0 -S -20041tmux -S "$SOCKET" kill-session -t "$SESSION"42```4344## Guardrails4546- Never paste secrets into logs, chat, or code.47- Prefer `op run` / `op inject` over writing secrets to disk.48- If sign-in without app integration is needed, use `op account add`.49- If a command returns "account is not signed in", re-run `op signin` inside tmux and authorize in the app.50- Do not run `op` outside tmux; stop and ask if tmux is unavailable.51
Run npx skillmds@latest add comeonoliver/1password in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
1Password CLI It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
ComeOnOliver (@comeonoliver) published this skill. Their other Agent Skills are listed on their SkillMD profile.