1Password CLI Integration

•
1.6k
•

Manages secure credential access and secrets injection using the 1Password CLI within Claude Code.

This skill enables Claude to securely interact with 1Password, allowing for the retrieval, injection, and management of secrets directly through the 1Password CLI (op). It handles complex authentication flows using tmux to ensure persistent sessions and integrates with the 1Password desktop app for biometric or master password unlocking. It is ideal for developers who need to securely fetch environment variables, API keys, or database credentials without exposing them in logs or source code, ensuring a security-first approach to local development and automation.

Key Features

01Secret injection using 'op run' and 'op inject' to avoid disk storage
02Persistent authorization via dedicated tmux session handling
031,591 GitHub stars
04Secure multi-account authentication and session management
05Automated installation and configuration of the 1Password CLI (op)
06Seamless integration with 1Password desktop app for biometric unlocking

Use Cases

01Managing and rotating credentials across multiple 1Password accounts securely
02Injecting environment variables from 1Password into development and deployment scripts
03Automating the retrieval of sensitive API keys for testing workflows