1password

Set up and use the 1Password CLI to manage and inject secrets.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the secure management and retrieval of secrets using the 1Password command-line interface, ensuring sensitive information is handled safely and efficiently.

Core Features & Use Cases

  • CLI Setup & Integration: Guides through installing and configuring the 1Password CLI and integrating it with the desktop application.
  • Secret Management: Enables signing in, listing vaults, and securely reading, injecting, or running secrets directly from 1Password.
  • Use Case: When a new developer joins the team, use this Skill to help them install the 1Password CLI, sign in to their account, and then securely retrieve API keys or database credentials needed for their development environment.

Quick Start

Use the 1password skill to sign in and list your vaults.

Frequently Asked Questions about 1password

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

FAQPage Schema
How do I securely retrieve secrets using 1Password CLI?

To retrieve secrets using 1Password CLI, you authorize the `op` binary and use `op run` or `op inject` to securely pass credentials into your development environment.

How do I set up the 1Password CLI for a new developer environment?

Setting up the 1Password CLI involves installing the tool via package managers and integrating it with the desktop app. Once installed, you sign in to your account to securely retrieve necessary API keys or database credentials.

Do I need the 1Password desktop app to manage credentials via CLI?

The 1Password CLI supports desktop app integration to streamline authentication and secure secret retrieval. However, the core requirement is that the `op` binary is installed and authorized.

Can I manage multiple 1Password accounts from the command line?

Yes, the 1Password CLI supports multi-account handling. You can sign in to multiple accounts and list your accessible vaults to securely manage and inject secrets across different projects or environments.

What is the best way to inject API keys into my development environment?

The best way to inject API keys is using the 1Password CLI's `op run` and `op inject` commands. This securely injects credentials directly from your vaults into your applications without exposing them in your codebase.

Why does 1Password CLI require authorization before listing vaults?

1Password CLI requires authorization to ensure sensitive information is handled safely. The `op` binary must be present and authorized, ensuring only authenticated users can sign in, list vaults, and retrieve secrets.