# 1password

> Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in, or reading/injecting/running secrets via op. Use when this capability is needed.

- Skill: `tomevault-io/1password-8` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/1password-8`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/1password-8/raw
- Safety review: pending (external: skill-scanner PASS, skillspector CAUTION)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/1password-8

---


# 1Password CLI

Manage secrets through the 1Password CLI (`op`).

## Setup

1. Install: `brew install 1password-cli`
2. Enable desktop app integration in 1Password preferences
3. Sign in: `op signin`
4. Verify: `op whoami`

## Common Commands

```bash
# List vaults
op vault list

# Get an item
op item get "Item Name" --vault "Vault"

# Read a secret field
op read "op://Vault/Item/field"

# Run a command with secrets injected
op run --env-file=.env -- your-command

# Inject secrets into a template
op inject -i template.env -o .env
```

## Best Practices

- Use `op run` or `op inject` instead of writing secrets to disk
- Never paste secrets into logs, chat, or code
- Use `--account` flag for multi-account setups

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/kody-w) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-13 -->

