1Password CLI Skill for Openclaw

Securely manage, inject, and run secrets using the 1Password CLI within managed terminal environments.

shouone
v1.0.0
Mar 2, 2026
0
994
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install myskilltest

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install myskilltest using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is 1Password CLI Skill?

The 1Password CLI skill enables AI agents to interact securely with 1Password vaults using the op command-line tool. It facilitates authentication, secret retrieval, and environmental injection while maintaining high security standards. By leveraging Openclaw Skills, developers can automate secret-heavy workflows without compromising sensitive data or manually copying credentials into configuration files.

1Password CLI Skill Use Cases

  • Automating secret injection into build pipelines or local development environments.
  • Accessing API keys and credentials stored in 1Password vaults for script execution.
  • Setting up and verifying 1Password CLI across multiple machines or developer setups.
  • Running commands with environment variables sourced directly from 1Password using op run.

How 1Password CLI Skill Works

  1. Verify the presence of the 1Password CLI and identify the host operating system.
  2. Ensure desktop app integration is enabled to allow for seamless biometrics or system-level authentication.
  3. Initialize a dedicated tmux session to handle the persistent TTY requirement for the 1Password authentication flow.
  4. Execute op signin within the tmux context and confirm authorization via the 1Password desktop app.
  5. Retrieve or inject secrets as needed and terminate the secure session to prevent unauthorized access.

1Password CLI Skill Setup

To install the 1Password CLI via Homebrew, run:

brew install 1password-cli

To verify the installation and prepare it for use with Openclaw Skills, confirm the binary version:

op --version

Ensure that the 1Password Desktop App is installed and "Integrate with 1Password CLI" is checked in Settings > Developer.

1Password CLI Skill Data Schema & Taxonomy

The skill interacts with the following data points and system components:

Component Description
Binary op (1Password CLI)
Authentication Session-based via tmux sockets
Secrets Injected into memory via op run or op inject
Account Metadata Retrieved via op whoami and op vault list

1Password CLI Skill Advanced Features

  • Multi-account support using the --account flag or OP_ACCOUNT environment variable.
  • Automated secret injection using op run for zero-disk-footprint credential handling.
  • Secure TTY management using isolated tmux sessions to prevent session hijacking.
  • Support for custom vault filtering and environment-specific secret sourcing.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*