onepassword-cli

Community

Securely manage and inject 1Password secrets into commands and environments.

Authormagnusrodseth
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill simplifies managing 1Password secrets like API keys, tokens, and credentials, allowing users to securely inject them into commands and environment files without exposing sensitive information.

Core Features & Use Cases

  • Secrets Management: Access and inject secrets from 1Password vaults directly into commands.
  • Environmental Configuration: Populate .env files or set environment variables from templates.
  • Item Creation & Editing: Create, edit, and view 1Password items using the CLI, without revealing sensitive values.
  • SSH & Git Integration: Automate SSH key operations and Git commit signing through the 1Password agent.
  • Use Case: A developer needing to run a Git commit with an SSH key that is secured within 1Password.

Quick Start

Use the 'op' command within any script or application by first setting the appropriate account context. For example, to access a specific item:

export OP_ACCOUNT=my.1password.eu
op read "op://Private/Cargo API Token/token" -o /tmp/tok && chmod 600 /tmp/tok

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: onepassword-cli
Download link: https://github.com/magnusrodseth/dotfiles/archive/main.zip#onepassword-cli

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.