# 2password

> Lets your agent find, use and save 1Password secrets through op:// references without ever seeing the values, with fewer approvals.

A community CLI and Agent Skill by Kit Langton (kitlangton) that lets coding agents work with 1Password secrets safely. The agent finds and uses credentials through op:// references and never sees the values, and it asks you to approve far less often. It builds on the official 1Password CLI but isn't made by 1Password.

What you can do with it
- Find credentials by name, getting op:// references back instead of values
- Run a command with secrets injected as environment variables, or from a .env template
- Save a new API credential to a vault from the clipboard or a pipe
- Batch lookups so many queries or env references need a single 1Password approval
- Set up a dedicated vault and service account so routine use needs no prompts at all

How it works
- Install the CLI with bun add -g 2password and the skill with bunx skills add kitlangton/2password. It needs Bun and the 1Password CLI.
- The skill teaches your agent to use 2password find, run, env run and create, and when to use each.
- A service account token can live in the macOS Keychain, or in a DPAPI-encrypted file on Windows.

Good to know
- Only read and env resolve deliberately return a secret value.
- run and env run pass plaintext secrets to the child process, which could print them, so use them only with commands you trust.
- New secrets come in through the clipboard or a pipe, never as command arguments, and every write is read back and checked.
- MIT licensed.

- Type: Skill
- Made by: kitlangton
- Category: Security
- Formats: Skills
- Version: 9200ee2
- Source: https://github.com/kitlangton/2password/tree/HEAD/skills/2password
- Page: https://pluginboard.ai/skills/2password

## Works with

- ChatGPT
- Claude
- Gemini
- GitHub Copilot
- Cursor
- Claude Code
- Codex
- Antigravity
- Gemini CLI
- Replit
- OpenClaw
- OpenCode
- Hermes Agent

## Install

### ChatGPT

In ChatGPT: Download the 2password folder and zip it, then Plugins → Skills → Create → Upload from your computer. Business and Enterprise plans.

View the folder on GitHub: https://github.com/kitlangton/2password/tree/HEAD/skills/2password

### Claude

In Claude (web or desktop): Download the 2password folder and zip the folder itself, then upload it in Customize → Skills.

View the folder on GitHub: https://github.com/kitlangton/2password/tree/HEAD/skills/2password

### Gemini

In Gemini: Download the 2password folder, then at gemini.google.com click Customize → Skills → Create → Upload and pick the folder (or a .zip of it).

View the folder on GitHub: https://github.com/kitlangton/2password/tree/HEAD/skills/2password

### GitHub Copilot

Run in your terminal:

```shell
npx -y degit kitlangton/2password/skills/2password ~/.copilot/skills/2password
```

View the folder on GitHub: https://github.com/kitlangton/2password/tree/HEAD/skills/2password

### Cursor

Run in your terminal:

```shell
npx -y degit kitlangton/2password/skills/2password ~/.cursor/skills/2password
```

View the folder on GitHub: https://github.com/kitlangton/2password/tree/HEAD/skills/2password

### Claude Code

Run in your terminal:

```shell
npx -y degit kitlangton/2password/skills/2password ~/.claude/skills/2password
```

View the folder on GitHub: https://github.com/kitlangton/2password/tree/HEAD/skills/2password

### Codex

Run in your terminal:

```shell
npx -y degit kitlangton/2password/skills/2password ~/.agents/skills/2password
```

View the folder on GitHub: https://github.com/kitlangton/2password/tree/HEAD/skills/2password

### Antigravity

In Antigravity: Copy the 2password folder into ~/.gemini/config/skills (Antigravity app and IDE) or ~/.gemini/antigravity-cli/skills (Antigravity CLI).

View the folder on GitHub: https://github.com/kitlangton/2password/tree/HEAD/skills/2password

### Gemini CLI

Run in your terminal:

```shell
npx -y degit kitlangton/2password/skills/2password ~/.gemini/skills/2password
```

View the folder on GitHub: https://github.com/kitlangton/2password/tree/HEAD/skills/2password

### Replit

Run in your terminal:

```shell
npx -y degit kitlangton/2password/skills/2password .agents/skills/2password
```

View the folder on GitHub: https://github.com/kitlangton/2password/tree/HEAD/skills/2password

### OpenClaw

Run in your terminal:

```shell
npx -y degit kitlangton/2password/skills/2password ~/.openclaw/skills/2password
```

View the folder on GitHub: https://github.com/kitlangton/2password/tree/HEAD/skills/2password

### OpenCode

Run in your terminal:

```shell
npx -y degit kitlangton/2password/skills/2password ~/.config/opencode/skills/2password
```

View the folder on GitHub: https://github.com/kitlangton/2password/tree/HEAD/skills/2password

### Hermes Agent

Run in your terminal:

```shell
npx -y degit kitlangton/2password/skills/2password ~/.hermes/skills/2password
```

View the folder on GitHub: https://github.com/kitlangton/2password/tree/HEAD/skills/2password

---
From Pluginboard (https://pluginboard.ai).
