op-cli

Official

Securely read and pipe 1Password secrets

Authorawfixers-stuff
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides safe, practical guidance for reading secrets from 1Password with the op CLI while preventing accidental exposure of secret values in terminals, logs, or chat. It focuses on preventing common pitfalls such as printing secrets to stdout, op:// parsing errors when item titles contain slashes, and accidental session token leakage.

Core Features & Use Cases

  • Safe piping patterns: Shows how to pipe revealed fields directly to consuming tools (for example wrangler, kubectl, or any process that reads from stdin) instead of printing values.
  • Discovery and item selection: Explains how to list items in a vault to obtain item IDs and why using IDs avoids op:// parsing issues.
  • Verification without exposure: Demonstrates non-revealing checks such as counting characters with wc -c or comparing streams with cmp to assert equality without displaying secrets.
  • Troubleshooting: Maps common op errors to causes and fixes, including session sign-in guidance and missing --reveal diagnostics.

Quick Start

Retrieve the PASSWORD field from the item ID in the desired vault and pipe it directly into the consuming command without printing the secret to stdout.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: op-cli
Download link: https://github.com/awfixers-stuff/opencode-config/archive/main.zip#op-cli

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.