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.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# 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
1. Check OS + shell.
2. Verify CLI present: `op --version`.
3. Confirm desktop app integration is enabled (per get-started) and the app is unlocked.
4. REQUIRED: create a fresh tmux session for all `op` commands (no direct `op` calls outside tmux).
5. Sign in / authorize inside tmux: `op signin` (expect app prompt).
6. Verify access inside tmux: `op whoami` (must succeed before any secret read).
7. 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):
```bash
SOCKET_DIR="${LITECLAW_TMUX_SOCKET_DIR:-${TMPDIR:-/tmp}/liteclaw-tmux-sockets}"
mkdir -p "$SOCKET_DIR"
SOCKET="$SOCKET_DIR/liteclaw-op.sock"
SESSION="op-auth-$(date +%Y%m%d-%H%M%S)"
…
The line at the top of this page pins the label git:20260812.c83047b, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
A 17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
pass: Frontmatter block present
pass: Frontmatter declares a name
pass: Frontmatter declares a description
pass: Size between 200 bytes and 200 KB (2408 bytes)
pass: No zero-width or bidi control characters
pass: No instruction hidden inside an HTML comment
pass: No link to an exfiltration or paste host
pass: No credential-shaped string
pass: No instruction to send local credentials anywhere
pass: No text hidden with inline styles
pass: No prompt-injection phrasing
pass: No curl or wget piped into a shell
pass: No recursive delete of root, home or parent
pass: No instruction to read or print local credentials
pass: No base64 blob over 200 characters
pass: No link to a raw IP address
pass: No script tag
Source
GitHub
amd/gaia · 1,593 stars · license MIT · pushed 2026-10-20 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_ahvedfizkw2u5klo
GET https://markdownregistry.com/api/v1/resolve?ref=amd/gaia/1password
GET https://markdownregistry.com/api/v1/blob/2016dcfab4e516c59385f889d5b169656689f990e8eb60bd1dd6d3ebcb04f148
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
amd/gaia · .claude/skills/adding-eval-scorecard/SKILL.md · Adopt the per-agent eval scorecard for a GAIA hub agent: write the harness→payload adapter, run the eval to produce a…
amd/gaia · .claude/skills/agent-hub-release/SKILL.md · Cut or wire the frozen-binary + npm release of an agent GAIA itself ships (the email/flagship CI pipeline: freeze ->…
amd/gaia · .claude/skills/analyzing-claude-sessions/SKILL.md · Analyze your own local Claude Code session transcripts to find what you actually use the agent for, how effective it…
amd/gaia · .claude/skills/benchmarking-the-agent/SKILL.md · Measure the flagship GAIA agent against Claude Code and across models — quality, truthfulness, steps, tokens, time and…
amd/gaia · .claude/skills/driving-the-tui/SKILL.md · Use when testing or validating the GAIA TUI (tui/) by actually running it — driving screens, clicking and scrolling…
amd/gaia · .claude/skills/gaia-build-agent/SKILL.md · Build a new GAIA agent with the SDK end-to-end: scaffold the package, write the Agent subclass, register @tool…
amd/gaia · .claude/skills/gaia-technical-presentation/SKILL.md · Generate a TECHNICAL slide presentation (engineering audience) from a source document as self-contained HTML that…
amd/gaia · .claude/skills/gaia-tui-manual/SKILL.md · The GAIA terminal UI (gaia-tui) — how to build it, launch it with a real pty, drive it through the loopback control…
amd/gaia · .claude/skills/github-issue-response/SKILL.md · Respond to a GitHub issue, PR comment, discussion reply, or review on amd/gaia. Use when writing any reply that will be…
bitterbot-ai/bitterbot-desktop · skills/1password/SKILL.md · Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or…
trpc-group/trpc-agent-go · openclaw/skills/1password/SKILL.md · Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or…
amd/gaia · tests/fixtures/openclaw_skills/1password-craftbot/SKILL.md · Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or…
cowork-os/cowork-os · resources/skills/1password/SKILL.md · Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or…
betterwright/betterwright · skills/1password/SKILL.md · Read this when the browser profile has the 1Password extension and a login, signup, or payment form should be filled…
letta-ai/skills · tools/1password/SKILL.md · Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or…
metaspartan/cybara · skills/1password/SKILL.md · Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or…
pr-e/openclaw-master-skills · skills/1password/SKILL.md · Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or…