sichengchen

1Password Cli For Agents

AI Agentv0.1.0
By sichengchenUpdated 2026-05-111password-cli@clawhub_sichengchen/1password-cli
Tool Use

According to AlphaMoat, as of 2026-09, 1Password Cli For Agents has 2,657 downloads and 0 stars — ranked #3,978 of 5,078 AI skills overall, and #799 of 969 in AI Agent.

Installs
106
Downloads
2.7K
Stars
-
Overall Rank
#3,978
Top 79% overall · Top 83% in AI Agent
PlatformInstallsDownloadsStarsComments
ClawHub ↗732.6K-2
SkillHub ↗1062.7K-—

Platforms count differently and update at different times.

What this skill does

The primary describes authentication checks, vault listing, item reading, creation of logins or secure notes, password edits, and item deletion; every command requires OP_SERVICE_ACCOUNT_TOKEN. Never print the service-account token or retrieved secrets. Limit account access to a dedicated vault, confirm the target and obtain explicit approval before create, edit, or delete actions, and avoid placing real secrets in command arguments or logs.

Profile published 2026-10-29

What you can do with it

  • List vaults available to the service account
  • Read one specified item field without exposing the token
  • Draft a command to create or update an item for user review

When to use it

  • When managing a vault authorized for the 1Password service account is explicitly needed
  • When the service account has only the minimum vault access required
  • When the user can approve write or deletion actions before execution

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Check authentication without displaying the service-account token
Read only an authorized field from a specified item and hide the secret value
Show the target and impact of an item deletion and wait for approval

Monthly Trend

Downloads2.7K
1.2K2.0K2.8K2026-03 · Downloads 1.3K2026-05 · Downloads 1.8K2026-06 · Downloads 1.9K2026-07 · Downloads 2.2K2026-08 · Downloads 2.3K2026-09 · Downloads 2.7K26-0326-09
Stars-
0112026-03 · Stars -2026-05 · Stars -2026-06 · Stars -2026-07 · Stars -2026-08 · Stars -2026-09 · Stars -26-0326-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-092.7K—-
2026-082.3K+5.7%-
2026-072.2K+13.8%-
2026-061.9K+9.4%-
2026-051.8K—-
2026-031.3K—-

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

2.6 KB · ClawHub v0.1.0
# 1Password CLI for Agents

This skill allows agents to securely access and manage secrets using the 1Password CLI (`op`) and a Service Account. It provides commands for reading, writing, and managing items within a dedicated vault.

## Prerequisites

1.  **Install 1Password CLI:**
    -   macOS: `brew install --cask 1password-cli`
    -   Linux/Windows: See [official docs](https://developer.1password.com/docs/cli/get-started).
2.  **Create a Service Account:**
Show all (91 lines)
    -   Go to [1Password Developer Portal](https://developer.1password.com/).
    -   Create a Service Account and grant it access to a specific vault (e.g., "Agent Vault").
    -   Copy the Service Account Token.
3.  **Set Environment Variable:**
    -   Set `OP_SERVICE_ACCOUNT_TOKEN` in your environment (e.g., `.env` file or export in shell).
    -   For OpenClaw, you can add `OP_SERVICE_ACCOUNT_TOKEN=...` to `.env`.

## Usage

All commands require the `OP_SERVICE_ACCOUNT_TOKEN` to be set.

### 1. Check Authentication

Verify the service account is working:

```bash
op whoami
```

### 2. List Vaults

List vaults accessible to the service account:

```bash
op vault list
```

### 3. Read an Item

Get details of an item (JSON format is best for parsing):

```bash
op item get "Item Name" --vault "Vault Name" --format json
```

Or get a specific field (e.g., password):

```bash
op read "op://Vault Name/Item Name/password"
```

### 4. Create an Item

Create a login item:

```bash
op item create --category login --title "My Service" --url "https://example.com" --vault "Vault Name" username="myuser" password="mypassword"
```

Create a secure note:

```bash
op item create --category "Secure Note" --title "API Key" --vault "Vault Name" notes="my-secret-key"
```

### 5. Edit an Item

Update a password:

```bash
op item edit "Item Name" password="newpassword" --vault "Vault Name"
```

### 6. Delete an Item

```bash
op item delete "Item Name" --vault "Vault Name"
```

## Tips for Agents

-   **Always use JSON output:** Add `--format json` to `op` commands for structured data that is easier to parse.
-   **Security:** Never print the `OP_SERVICE_ACCOUNT_TOKEN` or retrieved secrets to the console unless explicitly asked.
-   **Vaults:** If multiple vaults are available, specify the `--vault` flag to avoid ambiguity.
-   **Rate Limits:** Service accounts have rate limits. Cache results if possible or retry with backoff.

## Troubleshooting

-   **"You are not currently signed in":** Ensure `OP_SERVICE_ACCOUNT_TOKEN` is set correctly.
-   **"account is not authorized":** Check that the service account has permission for the specific vault and operation (read/write).

Popular in AI Agent

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.