1password-secret-references

Wrap secret-reliant commands with op run to prevent plaintext exposure.

3|1|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/Jem-Open/jem-agent-skills --skill 1password-secret-references
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: 1password-secret-references
Source: https://github.com/Jem-Open/jem-agent-skills/tree/main/skills/1password-secret-references
Command: npx skills add https://github.com/Jem-Open/jem-agent-skills --skill 1password-secret-references

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Secrets can be exposed when handling credentials in development and CI, including environment variables, logs, and shell history. This skill enforces safe secret handling by ensuring secrets are resolved only inside the op run subprocess.

Core Features & Use Cases

  • Wraps secret-reliant commands with op run to prevent plaintext exposure of op:// references.
  • Encourages safe integration with 1Password and hidden secrets in environments, CI, and local development.
  • Use cases include API keys, database credentials, tokens, and other sensitive data accessed via op:// references.

Quick Start

Wrap each secret-reliant command with op run, for example op run --env-file=.env -- python manage.py runserver.

Frequently Asked Questions about 1password-secret-references

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent environment variable secrets from leaking in shell history?

To prevent environment variable secrets from leaking in shell history, wrap secret-reliant commands with the 1Password CLI subprocess. This resolves op:// references securely inside the subprocess, keeping plaintext credentials out of logs and terminal history.

What is the best way to inject API keys into local development using 1Password?

The best way to inject API keys into local development using 1Password is wrapping commands with op run. This enforces safe secret handling by resolving op:// references securely during local development without exposing plaintext credentials.

Do I need biometric unlock to use op run for secret management?

Yes, you need biometric unlock to use op run for secret management. The 1Password CLI requires biometric authentication to securely resolve op:// references and prevent unauthorized access to your stored credentials.

Can I use op run to resolve database credentials in CI workflows?

Yes, you can use op run to resolve database credentials in CI workflows. It enforces safe secret handling across CI pipelines by resolving op:// references inside the subprocess, preventing plaintext exposure in logs.

Why should I use op run instead of plain environment variables for tokens?

You should use op run instead of plain environment variables for tokens because it prevents plaintext exposure. Wrapping commands with op run ensures sensitive data is resolved securely inside the subprocess, protecting against credential leakage.

Does op run work with an env file to load secrets?

Yes, op run works with an env file to load secrets. You can use the command op run --env-file=.env -- [command] to safely resolve op:// references from your environment file within the subprocess.