Back to list
leefowlercu

reading-op-secrets

by leefowlercu

My Claude Plugin Marketplace

2🍴 0📅 Jan 16, 2026

SKILL.md


name: reading-op-secrets description: 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.

Overview

This 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.

Table of Contents

Supported Operations

OperationUse Case
Get ItemRetrieve complete item with all fields
Get FieldExtract specific field value(s)
List ItemsBrowse items in vault(s)
Get DocumentRetrieve document content
Get OTPGet current one-time password
Read ReferenceRead using op:// secret reference

Workflow

Phase 1: Context Assessment

Step 1: Understand the Request

Determine what the user needs:

  1. Identify the secret type:

    • Specific item (name or ID known)
    • Specific field from an item
    • List of items (browsing/searching)
    • Document content
    • One-time password
    • Secret reference (op:// URI)
  2. Identify scope:

    • Specific vault or search all vaults
    • Any filtering criteria (tags, categories)
  3. Clarify if needed:

    • If item name is ambiguous, ask for vault or use item ID
    • If multiple fields could match, ask which specific field

Phase 2: Secret Retrieval

Step 2: Execute the Appropriate Command

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>"

Step 3: Parse and Present Results

  1. Parse JSON output (when using --format json)
  2. Extract relevant information based on user's request
  3. Present clearly:
    • For single values: provide the value directly
    • For items: summarize fields, highlight requested data
    • For lists: present in table format with key metadata

See Output Schemas Reference for JSON structure details.

Step 4: Handle Errors

Common errors and resolutions:

ErrorResolution
item not foundVerify item name, try listing items in vault
vault not foundList available vaults with op vault list
more than one item matchesUse item ID instead of name, or specify vault
field not foundList item fields with full op item get

Reference Documentation

Score

Total Score

60/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon