1Password

Manage secrets with the 1Password CLI for automated workflows.

577|62|Updated May 15, 2026
One-click install
npx skills add https://github.com/agentic-in/elephant-agent --skill 1password-agentic-in
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: 1Password
Source: https://github.com/agentic-in/elephant-agent/tree/main/packages/skills/builtin_packages/security/1password
Command: npx skills add https://github.com/agentic-in/elephant-agent --skill 1password-agentic-in

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps teams securely manage and access secrets in automation workflows by providing a unified way to sign in to the 1Password CLI (op), read secret values, and inject them into templates or commands without exposing sensitive data.

Core Features & Use Cases

  • Install and configure the 1Password CLI (op) for development and production environments.
  • Sign in using desktop app integration or service accounts and verify authentication.
  • Read secrets from op:// references like op://Vault/Item/field and inject them into templates or runtime environments.
  • Run commands with secrets securely supplied as environment variables without leaking values.
  • Use cases include CI/CD pipelines, local development, and automated configuration management.

Quick Start

Sign in to 1Password CLI and securely read a secret using op.

Frequently Asked Questions about 1Password

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

FAQPage Schema
How do I inject secrets into configuration files using the 1Password CLI?

You can inject secrets into configuration files using the `op inject` command, which securely replaces op:// references in templates with actual secret values without exposing sensitive data in your environment.

Can I use 1Password CLI with service accounts in CI/CD pipelines?

Yes, 1Password CLI supports CI/CD pipelines through service accounts. You authenticate by setting the OP_SERVICE_ACCOUNT_TOKEN environment variable, allowing automated workflows to read secrets without manual sign-in.

How do I read a secret from an op:// reference in automated workflows?

To read a secret in automated workflows, use the `op read` command followed by the op://Vault/Item/field reference to retrieve the specific secret value securely for your scripts.

What's the best way to authenticate with 1Password CLI for local development?

For local development, the best way to authenticate is using desktop app integration, which allows the 1Password CLI to securely sign in by connecting directly to your unlocked desktop application.

Does 1Password CLI work with Connect server for automated configuration management?

Yes, 1Password CLI works with Connect server for automated configuration management, providing a unified way to sign in, read secrets, and securely inject them into runtime environments.

Why should I not expose secret values as environment variables directly?

Exposing secret values directly risks leaking sensitive data. Instead, use the 1Password CLI to run commands with secrets securely supplied as environment variables, keeping values hidden from process lists and logs.