1password

Authenticate and retrieve secrets from 1Password using the CLI.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/PotLock/foxfang --skill 1password-potlock
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: 1password
Source: https://github.com/PotLock/foxfang/tree/main/skills/1password
Command: npx skills add https://github.com/PotLock/foxfang --skill 1password-potlock

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

The 1Password CLI enables secure secret management from the terminal, eliminating insecure manual handling by providing a reliable workflow to sign in, read, and inject secrets from 1Password.

Core Features & Use Cases

  • Sign-in & account management: Authenticate multiple accounts and switch between them with op signin and account flags.
  • Secret access & injection: Read and inject secrets into your environment or config using op read and op inject.
  • Workspace security best practices: Enforce isolated workflows in a dedicated tmux session to maintain security and reduce prompts.

Quick Start

Sign in to 1Password inside a dedicated tmux session using op signin, then read or inject secrets with op read or op inject.

Frequently Asked Questions about 1password

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

FAQPage Schema
How do I retrieve secrets from 1Password using the command line?▼

You can securely retrieve secrets from 1Password using the command line by authenticating with `op signin` and then utilizing the `op read` command to fetch specific vault items directly into your terminal workflow.

What is the best way to inject 1Password secrets into environment variables?▼

The best way to inject 1Password secrets into environment variables is by using the `op inject` command, which securely populates configuration files or environment variables directly from your authenticated 1Password vault during terminal workflows.

Can I manage multiple 1Password accounts from the CLI?▼

Yes, you can manage multiple 1Password accounts from the CLI by using `op signin` alongside specific account flags, enabling you to easily switch between and authenticate separate vaults within your terminal sessions.

Why use tmux for 1Password CLI authentication?▼

Using tmux for 1Password CLI authentication enforces workspace security by isolating the session, which maintains a secure environment, reduces repeated authentication prompts, and safely manages multi-account sign-ins.

Do I need the 1Password desktop app to use the CLI?▼

You need the 1Password CLI (`op`) installed and proper app integration configured to enable secure secret retrieval, vault reads, and multi-account authentication within your terminal workflows.