Reads secrets from 1Password using the op CLI. Use when the user needs to retrieve passwords, API keys, credentials, documents, or one-time passwords stored in 1Password. Supports reading items by name or ID, extracting specific fields, listing vault contents, and reading secret references.
Reads secrets from 1Password using the op CLI. Use when users need to retrieve passwords, API keys, credentials, documents, or one-time passwords stored in 1Password.
/plugin marketplace add leefowlercu/agent-kit/plugin install op-secrets-manager@leefowlercu-agent-kitThis skill inherits all available tools. When active, it can use any tool Claude has access to.
README.mdreferences/op-read-commands.mdreferences/output-schemas.mdThis skill enables agents to read secrets from 1Password using the op CLI. It supports comprehensive read operations including full items, specific fields, documents, attachments, and one-time passwords.
The skill assumes the op CLI is installed and the user is already authenticated.
| Operation | Use Case |
|---|---|
| Get Item | Retrieve complete item with all fields |
| Get Field | Extract specific field value(s) |
| List Items | Browse items in vault(s) |
| Get Document | Retrieve document content |
| Get OTP | Get current one-time password |
| Read Reference | Read using op:// secret reference |
Determine what the user needs:
Identify the secret type:
op:// URI)Identify scope:
Clarify if needed:
Based on the context assessment, execute the appropriate op command.
See op CLI Read Command Reference for complete command syntax.
Get Complete Item:
op item get "<item-name>" --format json
Get Specific Field:
op item get "<item-name>" --fields "<field-name>" --format json
List Items:
op item list [--vault "<vault>"] [--categories <category>] --format json
Get Document:
op document get "<document-name>"
Get OTP:
op item get "<item-name>" --otp
Read Secret Reference:
op read "op://<vault>/<item>/<field>"
--format json)See Output Schemas Reference for JSON structure details.
Common errors and resolutions:
| Error | Resolution |
|---|---|
item not found | Verify item name, try listing items in vault |
vault not found | List available vaults with op vault list |
more than one item matches | Use item ID instead of name, or specify vault |
field not found | List item fields with full op item get |