1Password Secret Injection (op-exec)
Simplifies secret management by automatically injecting 1Password vault items as environment variables into commands and Claude Code sessions.
op-exec provides a streamlined way to handle sensitive credentials within Claude Code by wrapping the 1Password CLI. It automatically fetches fields from specified vault items, converts them into properly formatted environment variables, and resolves nested secret references. This skill is essential for developers who need to securely run scripts, manage Docker containers, or configure deployment pipelines without exposing secrets in plain text or manual configuration files.
Key Features
01Recursive resolution of nested op:// secret references up to 5 levels deep
021 GitHub stars
03Automatic conversion of 1Password fields to UPPER_SNAKE_CASE environment variables
04Seamless integration with 1Password Service Accounts for CI/CD automation
05Dual-target injection into Claude session environments and persistent local settings
06Support for STRING and CONCEALED field types to ensure data integrity
Use Cases
01Automating secret-aware deployment workflows using 1Password Service Account tokens
02Injecting API keys and database credentials into local development scripts without hardcoding
03Synchronizing environment variables across Claude tool calls and external MCP servers