1password

Manage 1Password secrets via the op CLI with dynamic injection.

Updated Feb 18, 2026
One-click install
npx skills add https://github.com/loveoplay2023-hue/OpenMehdi --skill 1password-loveoplay2023-hue
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: 1password
Source: https://github.com/loveoplay2023-hue/OpenMehdi/tree/main/skills/1password
Command: npx skills add https://github.com/loveoplay2023-hue/OpenMehdi --skill 1password-loveoplay2023-hue

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the secure management and retrieval of sensitive information like passwords, API keys, and SSH keys using the 1Password command-line interface.

Core Features & Use Cases

  • Secure Secret Access: Inject secrets directly into scripts or environment variables without exposing them to logs or disk.
  • CLI Integration: Seamlessly integrates with the 1Password CLI for signing in, reading, and running secrets.
  • Use Case: Securely access your database password for an application by injecting it directly into the application's environment variables using op run.

Quick Start

Use the 1password skill to sign in to your 1Password account within a secure tmux session.

Frequently Asked Questions about 1password

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

FAQPage Schema
How do I inject secrets directly into environment variables using the 1Password CLI?▼

To inject secrets into environment variables, use the 1Password CLI commands `op run` or `op inject`. This dynamically populates application configurations without exposing sensitive data to disk or terminal logs.

What do I need to set up before automating secrets management with the 1Password CLI?▼

Automating secrets management requires installing the `op` binary and enabling desktop app integration. You also need an active 1Password account to authorize multi-account sign-in within your secure shell session.

Can I use my 1Password desktop app to authenticate CLI commands without entering my password repeatedly?▼

Yes, you can authenticate CLI commands by enabling desktop app integration. This allows the `op` binary to securely interface with the desktop app, facilitating seamless sign-in and multi-account access without repeated password prompts.

What is the best way to securely access API keys in automated DevOps scripts?▼

The best way to access API keys in DevOps scripts is using `op run` for dynamic secret injection. This retrieves sensitive credentials directly from your vault at runtime, preventing accidental exposure to logs or configuration files.

Does the 1Password CLI support multi-account sign-in for separate development and production environments?▼

Yes, the 1Password CLI supports multi-account sign-in for managing separate environments. You can authenticate with multiple accounts within a secure tmux session to isolate and retrieve secrets across different vaults.

Why should I use `op inject` instead of static configuration files for secrets management?▼

You should use `op inject` to avoid storing credentials in static configuration files. It dynamically retrieves secrets directly from your vault at runtime, ensuring sensitive data is never written to disk or committed to version control.